The \filedir is under the phpcode directory

c:\webroot
  |
  |--\application
     |
     |--\php_code
        |
        |--\filedir


Eric Bolikowski wrote:


"Todd Cary" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]

I moved an application from Linux to my Client's NT system and is_file
cannot file the file on the NT system.  My directory structure is as
follows:

c:\webroot
  \application
    \php_code
      \filedir

The code is


//two dots!


if (is_file("../filedir/test.txt")) echo "Found it!";
else echo "Not found";

This is working with Linux, but it does not work with NT.  Can someone
tell me why it does not work?

Todd

-- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php



Reply via email to