|
Posted by ECRIA on 10/02/63 11:54
Hi All,
We are trying to figure out why PHP's file handling functions refuses to
access the web root using the "/" character on our Windows machines. For
example, a file /test.php is located in our web root. A file in a
subdirectory, say /example/runme.php needs to find out if the file
"/test.php" exists. One would expect that the function
file_exists("/test.php") would return true (it does on our unix host).
However, it returns false on our Windows machine.
Unfortunately we can't build a workaround as it is not us but oscommerce
that uses the "/" method to refer to the web root, and modifying all the
oscommerce scripts is simply impractical.
Any pointers would be greatly appreciated,
Regards,
ECRIA Dev. Team
Details:
Apache 2.0.52
PHP 5.0.3
Windows XP Pro SP2
Navigation:
[Reply to this message]
|