On 3 May 02, at 12:16, Miguel Cruz wrote:

> 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

thank you. now is there a way to modify the above identification, 
say something like "HTTP-User-Agent: Netscape 4 (Mozilla etc..."


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

never heard of cURL ? is it a extension for PHP ?

jyrgen


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

Reply via email to