#22937 [Fbk->Opn]: Valid http:// URL does not open with fopen()
| From: | freddie at bingham dot net | Date: | Mon, 09 Jun 2003 01:15:32 +0000 |
| Subject: | #22937 [Fbk->Opn]: Valid http:// URL does not open with fopen() | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-41482@lists.php.net to get a copy of this message | ||
ID: 22937
User updated by: freddie at bingham dot net
Reported By: freddie at bingham dot net
-Status: Feedback
+Status: Open
Bug Type: Sockets related
Operating System: Redhat 7.3
PHP Version: 4.3.2
New Comment:
It very well does exist. Perhaps you just clicked on the url as
presented on this page which adds a ', to the end.
Previous Comments:
------------------------------------------------------------------------
[2003-06-08 19:33:23] sniper@php.net
Why shouldn't it give that error? The first url in your
script does not exist.
------------------------------------------------------------------------
[2003-06-08 11:18:35] dunkel at calamus dot net
For me, a similar problem exists in PHP 4.1.2 (on Apache):
Take a look at http://www.calamus.net/cz/modules/wmf.php,
please.
In the paragraph "Příručka:" (Documentation:) I want to
fopen() a page on a Czech server. As this page does not exist, a
visible warning is been returned which should probably NOT occur here.
Instead, I expect the function call to ONLY give back an invalid $fp.
------------------------------------------------------------------------
[2003-06-07 12:06:48] freddie at bingham dot net
This is still happening in the 4.3.2 release
This is the result of the above script:
Warning: fopen(http://pub133.ezboard.com/bonesixthwarriors): failed to
open stream: HTTP request failed! k in test.php on line 3
------------------------------------------------------------------------
[2003-04-07 12:16:53] psvanvicat at yahoodot dot com
I have a similar problem, but my virtual host has upgraded to 4.3.1 and
I can't convince them to go back to a stable snapshot...anything I can
do in my scripts to fix this? Any updates they can do?
------------------------------------------------------------------------
[2003-03-27 19:01:40] sniper@php.net
Please try using this CVS snapshot:
http://snaps.php.net/php4-STABLE-latest.tar.gz
For Windows:
http://snaps.php.net/win32/php4-win32-STABLE-latest.zip
Works fine here. (using latest stable CVS)
------------------------------------------------------------------------
The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
http://bugs.php.net/22937
--
Edit this bug report at http://bugs.php.net/?id=22937&edit=1