RE: [PHP] fopen and http://

2005-02-25 Thread Richard Lynch
Warren Vail wrote: >> Hi, I'm having a problem with fopen and http files. I keep getting the >> error: >> >> Warning: fopen(http://zed/htdocs/rgfindingaids/series594.html ) >> [function.fopen]: failed to open stream: HTTP request failed! >> HTTP/1.1 404 >> Not Found in /home/awilliam/public_html/r

RE: [PHP] fopen and http://

2005-02-25 Thread Warren Vail
this helps, Warren Vail > -Original Message- > From: Mulley, Nikhil [mailto:[EMAIL PROTECTED] > Sent: Friday, October 08, 2004 6:58 AM > To: Adam Williams; php-general@lists.php.net > Subject: RE: [PHP] fopen and http:// > > > May be the path is not the correct

Re: [PHP] fopen and http://

2004-10-08 Thread Andrew Kreps
On Fri, 8 Oct 2004 08:33:11 -0500 (CDT), Adam Williams <[EMAIL PROTECTED]> wrote: > So now it works except on the > very last line it processes, it prints "does not exist", so there is still > some sort of a hidden character but its not affecting fetching the URLs > from the web server. so i'm sti

RE: [PHP] fopen and http://

2004-10-08 Thread Mulley, Nikhil
May be the path is not the correct ,just check with the Web Directory you configured to be and if its htdocs then I would say that its better to remove the htdocs from the path in fopen statement. -Original Message- From: Adam Williams [mailto:[EMAIL PROTECTED] Sent: Friday, October 08,

Re: [PHP] fopen and http://

2004-10-08 Thread Adam Williams
On Fri, 8 Oct 2004, Hendrik Schmieder wrote: > What say phpinfo about Registered PHP Streams ? > >Hendrik > > Hi, I think I just figured out my problem...I had to use rtrim($line) because I think there was a \n or an invisible character at the end of the line that was being passed to

Re: [PHP] fopen and http://

2004-10-08 Thread Hendrik Schmieder
Adam Williams schrieb: Hi, I'm having a problem with fopen and http files. I keep getting the error: Warning: fopen(http://zed/htdocs/rgfindingaids/series594.html ) [function.fopen]: failed to open stream: HTTP request failed! HTTP/1.1 404 Not Found in /home/awilliam/public_html/rgfaidstest.ph

Re: [PHP] fopen and http://

2004-10-08 Thread Adam Williams
On Fri, 8 Oct 2004, Matt M. wrote: > > But I don't understand why I am getting that error about failed to open > > strem: HTTP request failed, when I can bring up the links fine in a > > browser on the server running the php script. So can anyone help me out? > > Thanks > > do you have allow_url

Re: [PHP] fopen and http://

2004-10-08 Thread Matt M.
> But I don't understand why I am getting that error about failed to open > strem: HTTP request failed, when I can bring up the links fine in a > browser on the server running the php script. So can anyone help me out? > Thanks do you have allow_url_fopen enabled? http://us4.php.net/manual/en/r