again, php's weird directory support

From: Date: Thu, 17 Aug 2000 12:54:20 +0000
Subject: again, php's weird directory support
Groups: php.dev 
Request: Send a blank email to php-dev+get-29264@lists.php.net to get a copy of this message
hi php as cgi show's some very weird directory support under windows. for example it doesn't searches for the configuration file in the systemroot anymore, but in the folder where the interpreter is stored. also when it's coming to file searching php searches in the directory where php is stored, not where it's executed: ImageTTFText($handle, 0, 0, 0, 0, $color,$font,$string); it should search the font in the diretory where the file is executed, but php searches it in the directory where it's stored. this doesn't only apply to the gd. so i made a quick scriot to see what's in the folder: <? $handle = opendir("./"); while($file = readdir($handle)) print "$file<br>\n"; ?> it shows nothing, but there are several files in the actual folder. running that script as apache module show's every file, oh and the servermodules doesn't search for the configuration file in the systemroot as well, but in the serverroot nowdays. greetings daniel /*-- daniel beulshausen - daniel@php4win.de using php on windows? http://www.php4win.de

« previous php.dev (#29264) next »