Re: How to simulate any browser

From: Date: Wed, 03 Oct 2001 17:28:06 +0000
Subject: Re: How to simulate any browser
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-69804@lists.php.net to get a copy of this message
On Wed, 3 Oct 2001 17:46:50 +0200, Kamil Nowicki wrote: > > Hello everyone! > > I have a problem. My webpage (say webpage_1) needs to get some >data >presented on other webpage (wepage_2). I tried to use >fopen("http://webpage_2?params","r") and got >connection and stuff, >but >I suppose that webpage_2 uses some script checking what type of >browser sent the request, and sends back an error message. I do not >have cURL library installed (and I can't install it cause I'm not >an administrator of the server and my administrator doesn't want to >install it) so I can't use it to pretend my PHP request is from >IE, Netscape or any other WWW browser. look on sourceforge for a php project called snoopy

« previous php.general (#69804) next »