Re: [PHP] Re: [suspicious - maybe spam] [PHP] Re: How to access remote files with php?

2005-01-21 Thread Jochem Maas
Sephiroth wrote: The error message: HTTP/1.0 400 Bad Request Server: squid/2.5.STABLE5 Mime-Version: 1.0 Date: Fri, 21 Jan 2005 01:48:05 GMT Content-Type: text/html Content-Length: 1213 Expires: Fri, 21 Jan 2005 01:48:05 GMT X-Squid-Error: ERR_INVALID_URL 0 X-Cache: MISS from ns1.autoera.com.tw

[PHP] Re: [suspicious - maybe spam] [PHP] Re: How to access remote files with php?

2005-01-20 Thread Sephiroth
The error message: HTTP/1.0 400 Bad Request Server: squid/2.5.STABLE5 Mime-Version: 1.0 Date: Fri, 21 Jan 2005 01:48:05 GMT Content-Type: text/html Content-Length: 1213 Expires: Fri, 21 Jan 2005 01:48:05 GMT X-Squid-Error: ERR_INVALID_URL 0 X-Cache: MISS from ns1.autoera.com.tw X-Cache-Lookup:

[PHP] Re: How to access remote files with php?

2005-01-19 Thread Jason Barnett
Sephiroth wrote: Hi all, How to access remote files with php? For ex: $sFile = http://www.php.net/123.txt;; if (file_exists($sFile)) { $hFile = fopen($sFile); ... fclose($hFile); } Regards, Sephiroth You can use the file functions with URLs so long as you have allow_url_fopen set to TRUE in

[suspicious - maybe spam] [PHP] Re: How to access remote files with php?

2005-01-19 Thread Sephiroth
Jason Barnett [EMAIL PROTECTED] ? news:[EMAIL PROTECTED] You can use the file functions with URLs so long as you have allow_url_fopen set to TRUE in your php.ini. Doesn't works even allow_url_fopen is true PHP 4.3.10 Apache 1.3.27 Platform Windows 98 -- PHP General Mailing List

[PHP] Re: [suspicious - maybe spam] [PHP] Re: How to access remote files with php?

2005-01-19 Thread Jason Wong
On Thursday 20 January 2005 09:17, Sephiroth wrote: Jason Barnett [EMAIL PROTECTED] ? news:[EMAIL PROTECTED] You can use the file functions with URLs so long as you have allow_url_fopen set to TRUE in your php.ini. Doesn't works even HOW does it not work? Did you RTFM on the