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

From: Date: Tue, 18 Apr 2000 12:59:07 +0000
Subject: [PHP4BETA] fopen not working on URL - no reason that I can find
Groups: php.version4 
Request: Send a blank email to php-version4+get-13665@lists.php.net to get a copy of this message
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

« previous php.version4 (#13665) next »