file_exists() returns incorrect result
| From: | Michal Hrtko | Date: | Thu, 04 Jan 2001 15:49:16 +0000 |
| Subject: | file_exists() returns incorrect result | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-32646@lists.php.net to get a copy of this message | ||
Hello,
in my code I've written
...
$prjid = "/images/".strtolower($HTTP_COOKIE_VARS["ckprj"]).".gif";
if (file_exists($prjid)) echo "<IMG SRC=\"$prjid\" BORDER=0>\n";
...
file_exists() returns false, even if file in $prjid really exists in
local system.
Is there mistake in string format, or php-module should have any
non-standard setting?
I welcome any advice. My configuration, if needed is PHP 4.0.3, Apache
1.3.14 with SSL.
Michal.