SV: [PHP4BETA] fopen not working on URL - no reason that I can find

From: Date: Tue, 18 Apr 2000 13:17:49 +0000
Subject: SV: [PHP4BETA] fopen not working on URL - no reason that I can find
References: 1  Groups: php.version4 
Request: Send a blank email to php-version4+get-13666@lists.php.net to get a copy of this message
What platform, and please do try RC1 and also a snapshot from snaps.php.net (or ftp://195.249.47.199/ if win32). Mikkel. > -----Oprindelig meddelelse----- > Fra: Alexander Fordyce [mailto:alex@ax-im.com] > Sendt: 18. april 2000 14:59 > Til: php4beta@lists.php.net > Emne: [PHP4BETA] fopen not working on URL - no reason that I can find > > > Hi all. > > I posted a question a few days ago (see below), but I haven't had any > replies. I'd really appreciate a response from someone. This > problem has me flummoxed, and it's very important that I find some > resolution to this. Any thoughts extremely gratefully received. > > Thanks... > Alex > > > Previous message: > - - - - - - - - - - - > Something has silently broken in a script which has been working for > about a year with php3. I don't know of any of the published > incompatibilities which would cause this, so I wonder if anyone has > any thoughts. > > I have a script which generates static versions of dynamic pages by > sucking up the dynamic content via a fopen - fread operation. > Suddenly, php4 beta 4 (yes, I will upgrade to RC1 today) is giving me > mysterious messages and failing. When I try to suck up [URL], it's > saying... > > Warning: > fopen("[URL]","r") - Success in [scriptname] on line 185 > > ...and it doesn't return a pointer. Why is is warning me about > success, and why doesn't success seem to mean success? > > Incidentally, when I copy [URL] into a browser, it works perfectly. > I'm puzzled, because, as I say, this has been working for a year and > nothing in this bit has changed. > > Thanks in advance, > Alex > > - - - - - - - - - - - - - > Alexander Fordyce > alex@ax-im.com > - - - - - - - - - - - - - > Alexander Fordyce > alex@ax-im.com > > -- > PHP 4.0 Beta Mailing List <http://www.php.net/version4/> > To unsubscribe, e-mail: php4beta-unsubscribe@lists.php.net > For additional commands, e-mail: php4beta-help@lists.php.net > To contact the list administrators, e-mail: > php4beta-admin@lists.php.net >

« previous php.version4 (#13666) next »