how to set user_agent
| From: | mailing_list at gmx dot at | Date: | Tue, 09 Jan 2001 12:39:08 +0000 |
| Subject: | how to set user_agent | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-33446@lists.php.net to get a copy of this message | ||
Hi!
I want to get a page with "file('http://server.com/xxx.html')".
But I think the script on that server does a "HTTP_USER_AGENT"-checking,
and I don't get the content, I get with my browser!
my php sends "PHP/4.0.3pl1" as user_agent.
Can I change this to "Mozilla ...."??
thanks
witty
--
Sent through GMX FreeMail - http://www.gmx.net