file path in filesystem functions - PHP4

From: Date: Thu, 13 Jul 2000 14:53:31 +0000
Subject: file path in filesystem functions - PHP4
Groups: php.windows 
Request: Send a blank email to php-windows+get-1059@lists.php.net to get a copy of this message
Hi All! I found a strange thing in functions operating on files. Usually one can give relative path to a file (for example file_exists(), file(), readfile() functions). But has anyone tried to use touch() function? This function requires full path (in winNT for example "Z:\apache\www\file_to_touch.html"). Giving rel. path ends with "No such file.." error, when file_exists() with the same path works fine and shows that file really exists. Is it a bug, bug in my version (see below) or maybe it should work this way? My config: PHP/4.0.1-dev as an Apache module (Apache 1.3.12) winNT 4.0 ws I'm using 4.0.1-dev because I can't find newer version as a module. Sebastian Baran sebab@info.com.pl

« previous php.windows (#1059) next »