Re: How to catch the output of http:// -> text file?
| From: | Alexander Skwar | Date: | Sat, 05 May 2001 13:35:32 +0000 |
| Subject: | Re: How to catch the output of http:// -> text file? | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-51535@lists.php.net to get a copy of this message | ||
So sprach Kraa de Simon am Thu, May 03, 2001 at 11:05:08AM +0200:
> Could it have something to do with the fact that the webserver is behind a
> firewall/proxy or something?
>
> When I enter the http addres in the browser everything works fine...
I think the issue is, that PHP is not HTTP/1.1 compliant, meaning, it won't
follow redirects. IIRC the URL you entered (http://www.ansilion.com) is
technically wrong. Either try it with http://www.ansilion.com/ or with a
fully qualified URL which also gives the file name on the server, ie.
http://www.ansilion.com/index.html and see if this
works.
Alexander Skwar
--
How to quote: http://learn.to/quote (german) http://quote.6x.to (english)
Homepage: http://www.digitalprojects.com | http://www.iso-top.de
iso-top.de - Die günstige Art an Linux Distributionen zu kommen
Uptime: 21 hours 3 minutes