Re: [PHP] http_user_agent and proxy

2001-02-10 Thread Richard Lynch
> I have this problem: > I am using a script like this to make php use a remote proxy to get pages using a remote proxy: > fputs($data1,"GET $myfiles/ HTTP/1.0\n\n"); > The problem is that i want to set the HTTP_USER_AGENT to something different than a blank field, but have no idea how to do t

[PHP] http_user_agent and proxy

2001-02-09 Thread Plamen Slavov
Hi guys, I have this problem: I am using a script like this to make php use a remote proxy to get pages using a remote proxy: $data1 = fsockopen($proxy, $port, &$errno, &$errstr); if( !$data1 ) { echo "proxy not available !"; fclose($resultfile); // exit(); } else { fput