|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
[2002-08-22 12:00 UTC] javakel at 12dollaraccess dot 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
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Wed Oct 29 10:00:01 2025 UTC |
update on this issue: using the listed CVS snapshot, fopen() is better, but not completely fixed... here's the breakdown for the snap: fopen("http://mywebsite/mydir/myfile.txt", "r") now SUCCEEDS! fopen("https://mywebsite/mydir/myfile.txt", "r") still FAILS! fopen("/disk2/myfiles/myfile.txt", "r") still SUCCEEDS! almost there guys! ;-) best. hive_slave