#19051 [NEW]: fopen() fails with "http" or "https" URL as file descriptor...
| From: | javakel at 12dollaraccess dot com | Date: | Thu, 22 Aug 2002 16:00:06 +0000 |
| Subject: | #19051 [NEW]: fopen() fails with "http" or "https" URL as file descriptor... | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-17561@lists.php.net to get a copy of this message | ||
From: javakel@12dollaraccess.com
Operating system: Solaris 9
PHP version: 4.2.2
PHP Bug Type: Filesystem function related
Bug description: fopen() fails with "http" or "https" URL as file descriptor...
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 bug report at http://bugs.php.net/?id=19051&edit=1
--
Try a CVS snapshot: http://bugs.php.net/fix.php?id=19051&r=trysnapshot
Fixed in CVS: http://bugs.php.net/fix.php?id=19051&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=19051&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=19051&r=needtrace
Try newer version: http://bugs.php.net/fix.php?id=19051&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=19051&r=support
Expected behavior: http://bugs.php.net/fix.php?id=19051&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=19051&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=19051&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=19051&r=globals