Dear all
I had made a test.txt file which stored in the following window path :
c:\pdf_reports\dealing\test.txt,
In my page, i ask php to check the test.txt exist in foler
(c:\pdf_reports\dealing) using the following script:

if (file_exists("c:\\pdf_reports\\dealing\\test.txt"))
    {
    print ("exist");
    }
else
    {
    print ("Doesn't Exist!");
    }

It seems that php can't detect the file in such path!!!
I had made another test on this, i moved the test.txt to one level up which
is (c:\pdf_reports) and i use the following script :

if (file_exists("c:\\pdf_reports\\test.txt"))
    {
    print ("exist");
    }
else
    {
    print ("Doesn't Exist!");
    }
Then it can detect the file is there! why?


--
Thx a lot!
Jack
[EMAIL PROTECTED]



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

Reply via email to