#19051 [Opn->Fbk]: fopen() fails with "http" or "https" URL as file descriptor...
| From: | sander@php.net | Date: | Thu, 22 Aug 2002 18:46:27 +0000 |
| Subject: | #19051 [Opn->Fbk]: fopen() fails with "http" or "https" URL as file descriptor... | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-17580@lists.php.net to get a copy of this message | ||
ID: 19051
Updated by: sander@php.net
Reported By: javakel@12dollaraccess.com
-Status: Open
+Status: Feedback
Bug Type: Filesystem function related
Operating System: Solaris 9
PHP Version: 4.2.2
New Comment:
Please try using this CVS snapshot:
http://snaps.php.net/php4-latest.tar.gz
For Windows:
http://snaps.php.net/win32/php4-win32-latest.zip
Previous Comments:
------------------------------------------------------------------------
[2002-08-22 12:00:05] javakel@12dollaraccess.com
problem with fopen() on Solaris 9 running PHP4.2.2:
fopen() fails to open a file on the file system if said file is
referenced with a URL, i.e.:
fopen("http://myserver/myfile.txt",
"r") FAILS!
fopen("https://myserver/myfile.txt",
"r") FAILS!
fopen() functions as expected when using non-URL, full path names,
i.e.:
fopen("/export/home/myfiles/myfile.txt", "r") SUCCESS!
fopen() is obviously having some issues in 4.2.2, as earlier versions
of PHP's fopen() function have had no problem accessing files on the
file system via a URL...
it should be noted, however, that fopen() is notorious for being broken
in various PHP versions/distributions...
maybe the problem is with Solaris9?
anyone have any ideas on this one?
best.
hive_slave
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=19051&edit=1