Re: getting pages with FILE

From: Date: Fri, 03 May 2002 17:16:57 +0000
Subject: Re: getting pages with FILE
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-95935@lists.php.net to get a copy of this message
On Fri, 3 May 2002 jyrgen@gmx.de 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

« previous php.general (#95935) next »