Re: Opening URLs

From: Date: Tue, 22 Apr 2003 13:56:08 +0000
Subject: Re: Opening URLs
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-144818@lists.php.net to get a copy of this message
> Works for me just fine... How do you know it "doesn't" work? ------------ $filedata=fopen("http://www.google.com/search?q=pantera","r"); while ($line=fgets($filedata,1000)) { $googleHTML.=$line; } fclose ($filedata); ------------ $googleHTML is empty when the URL above is used. When the URL is just plain old Google, all of the HTML is received.

« previous php.general (#144818) next »