RE: [PHP] Reading remote, script-generated files

From: Date: Tue, 12 Aug 2003 17:10:44 +0000
Subject: RE: [PHP] Reading remote, script-generated files
Groups: php.general 
Request: Send a blank email to php-general+get-159302@lists.php.net to get a copy of this message
[snip] I'm attempting to read a remote file and parse it for data. The problem I've having is that the file seems to be generated by Perl (http://alert.dot.pima.gov/scripts/1brpssd.pl) and when I read it the script-generated portion is not available. When I view the page with a browser it is displayed just fine. I've tried using the built-in PHP commands (file, fget, fopen, fsockopen) as well as the Snoopy "fetch" classes (http://snoopy.sourceforge.net). Any ideas? [/snip] Try cURL http://us2.php.net/curl Have a pleasant and productive day

« previous php.general (#159302) next »