curl-and-php
Proxy via PHP libcurl
Date: Thu, 26 Jan 2006 22:50:58 +0700
Hello,
I run curl on my remote server (say : xyz.com) via PHP
with curl_setopt($ch, CURLPROXY_HTTP, 'abc.com:port') to
connect say http://mywebsite.com.
The curl was success, but on mywebsite.com access logs the
IP address still indicated accessed by xyz.com, NOT
abc.com as I expected.
What is the right code, so that abc.com will appear on
mywebsite.com access logs?
PS: I know when I use curl via command line and local
machine the above problem does not exist (abc.com appear
on destination access logs).
Please help.
Many thanks
Teguh
========================================================================================
Speedy Gift 4 You. Pasang Speedy gratis Flexi Trendy dan berhadiah undian :
3 Notebook, 7 Handycam, 9 Digital Camera, dan 25 Modem ADSL. Maaf hanya untuk Januari 2006.
Info : 147 (Khusus Jawa Timur)
========================================================================================
Dapatkan hosting tercepat dengan bandwidth tak terbatas. Hanya di http://www.hostingkilat.com
========================================================================================
_______________________________________________
http://cool.haxx.se/cgi-bin/mailman/listinfo/curl-and-php
Received on 2006-01-26