Re: [PHP] Problem on file_exists() function

2002-07-17 Thread Analysis & Solutions
On Wed, Jul 17, 2002 at 03:55:10PM +0800, Jack wrote: > > if (file_exists("c:\\pdf_reports\\dealing\\test.txt")) > It seems that php can't detect the file in such path!!! While this isn't your problem, it's nicer coding. Single quotes and forward slashes: if ( file_exists('c:/pdf_reports/de

[PHP] Problem on file_exists() function

2002-07-17 Thread Jack
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 (

Re: [PHP] Problem on file_exists()

2002-07-16 Thread Chris Hewitt
Jack wrote: >Dear all >I had a folder which the path is : (\\nedcoraa\pdf_reports\dealing >room\report) it stores a lot of PDF reports in there. >I'm trying to use the file_exists() function to detect if a specific file >exist in this folder, but i got a problem is : >It seems that php can go thr

RE: [PHP] Problem on file_exists()

2002-07-15 Thread David Redmond
ECTED] Subject: [PHP] Problem on file_exists() Dear all I had a folder which the path is : (\\nedcoraa\pdf_reports\dealing room\report) it stores a lot of PDF reports in there. I'm trying to use the file_exists() function to detect if a specific file exist in this folder, but i got a problem is :

[PHP] Problem on file_exists()

2002-07-15 Thread Jack
Dear all I had a folder which the path is : (\\nedcoraa\pdf_reports\dealing room\report) it stores a lot of PDF reports in there. I'm trying to use the file_exists() function to detect if a specific file exist in this folder, but i got a problem is : It seems that php can go through (\\nedcoraa\pd