On Fri, 3 May 2002 [EMAIL PROTECTED] wrote:
> i'm using FILE to read a page via HTTP and construct an array of 
> HTML lines. After that i modify the page and echo it out.
> this all works great. The web server delivers pages depending on
> browser types. Now i need to "pretend" a certain browser. Can this
> be done ? What kind of HTTP-request does FILE send to the 
> webserver ?

It identifies itself along these lines:

   HTTP-User-Agent: PHP/4.1.2

If that's not going to work out, you may need to use something like cURL.

miguel


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to