Bug #16875 Updated: FILE Function Checks Wrong Path

From: Date: Mon, 06 May 2002 12:49:01 +0000
Subject: Bug #16875 Updated: FILE Function Checks Wrong Path
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-7024@lists.php.net to get a copy of this message
ID: 16875 Updated by: wez@php.net Reported By: tonicpeddler@cs.com Status: Open Bug Type: Filesystem function related Operating System: Windows XP PHP Version: 4.2.0 New Comment: Please be patient: we don't have much time either. Previous Comments: ------------------------------------------------------------------------ [2002-05-06 08:40:09] tonicpeddler@aol.com IS THIS BUG GETTING ANY ATTENTION? I'D CONTRIBUTE SOME WORK TO PHP AND FIND THE BUG MYSELF BUT I DO NOT HAVE THE TIME TO DO SO! ------------------------------------------------------------------------ [2002-05-02 13:16:33] tonicpeddler@aol.com I'm gonna go out a limb here and guess that this bug is no longer being looked into. If it's not, someone should kindly take the time to contradict me... ------------------------------------------------------------------------ [2002-04-29 11:58:04] tonicpeddler@aol.com I looked through some of the PHP scripts I had written, and found a working example of fopen that works just fine using a relative file path. Pertinent exerpt: $log = fopen('log.txt', 'a'); fwrite($log, $text . "\n"); fclose($log); echo ' <a href="log.txt">View Log</a>'; Is this bug being dealt with? ------------------------------------------------------------------------ [2002-04-27 19:47:46] tonicpeddler@cs.com I use include() and require() all the time, it works just fine. So the problem is probably specific to file() ------------------------------------------------------------------------ [2002-04-27 19:35:21] sniper@php.net Can you test if the same thing happens with include() ? ------------------------------------------------------------------------ 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/16875 -- Edit this bug report at http://bugs.php.net/?id=16875&edit=1

« previous php.bugs (#7024) next »