You should be able to using fsockopen.
You can use the class below and modify it. Search the class for the string
"User-Agent:" and change what's behind.

http://phpclasses.upperdesign.com/browse.html?file=1222

happy querying
Stefan Rusterholz

----- Original Message -----
From: "Sebastian" <[EMAIL PROTECTED]>
To: "'Php-General" <[EMAIL PROTECTED]>
Sent: Monday, December 17, 2001 3:16 PM
Subject: [PHP] can php pretend to be a MSIE or Netscape?


> hi all
>
> how do i prevent php from exposing itself when opening url with
> fopen() ?
> kann i make it look like MSIE or whatever?
> reaons : i want to query google by script but it does not allow that...
>
> Sebastian
>
>
>
>
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> To contact the list administrators, e-mail: [EMAIL PROTECTED]
>
>
>


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to