Re: How to simulate another browser
| From: | Manuel Lemos | Date: | Tue, 25 Jul 2000 22:48:49 +0000 |
| Subject: | Re: How to simulate another browser | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-8181@lists.php.net to get a copy of this message | ||
Hello Marek,
On 17-Jul-00 16:00:33, you wrote:
>Do you know how to set $HTTP_ACCEPT when using FOpen? Or have I to do it
>another way?
>Some other scripts that I am not managing also determines a type of content
>from the value returned by GetBrowser(). Is there any way to change that
>value when using FOpen?
You'd better establish a real HTTP connection passing the appropriate
headers. You may want to look into this HTTP client PHP class that lets
you do that and more.
http://phpclasses.UpperDesign.com/browse.html/package/3
Regards,
Manuel Lemos
Web Programming Components using PHP Classes.
Look at: http://phpclasses.UpperDesign.com/?user=mlemos@acm.org
--
E-mail: mlemos@acm.org
URL: http://www.mlemos.e-na.net/
PGP key: http://www.mlemos.e-na.net/ManuelLemos.pgp
--