Re: can php pretend to be a MSIE or Netscape?
| From: | Stefan Rusterholz | Date: | Mon, 17 Dec 2001 14:43:57 +0000 |
| Subject: | Re: can php pretend to be a MSIE or Netscape? | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-77939@lists.php.net to get a copy of this message | ||
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" <sstadtl_phpmail@gmx.de>
To: "'Php-General" <php-general@lists.php.net>
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: php-general-unsubscribe@lists.php.net
> For additional commands, e-mail: php-general-help@lists.php.net
> To contact the list administrators, e-mail: php-list-admin@lists.php.net
>
>
>