Re: [PHP] Problem with file_exists() and clearstatcache()...

2004-10-25 Thread Louie Miranda
i also hve a similar problem like yours, and i dont know how can we solve this. On Wed, 21 Jul 2004 17:22:16 -0400, Scott Fletcher [EMAIL PROTECTED] wrote: I noticed the problem with the php functions, file_exists() and clearstatcache(). When I load a webpage, the php do the file_exists() and

[PHP] Problem with file_exists() and clearstatcache()...

2004-07-21 Thread Scott Fletcher
I noticed the problem with the php functions, file_exists() and clearstatcache(). When I load a webpage, the php do the file_exists() and attempt to create one if the file does not exist. Then when I go to the next webpage, that file is removed. It is working pretty well. When I press refresh,

[PHP] Problem with file_exists()

2003-03-25 Thread maillist
Hi, I've been reported a weird problem with one of the scripts that we have, which uses the file_exists() function. It returned true once, and then the query ran again, and it reported false, on the same file. This was true for a lot of files in the same directory, but only over a cerain

[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() 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 (

[PHP] Problem on file_exists()

2002-07-16 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

RE: [PHP] Problem on file_exists()

2002-07-16 Thread David Redmond
Jack, try using forward slashes instead of backslashes;eg $fp = fopen(//nedcoraa/pdf_reports/dealing/filename.ext, r+); Cheers -Original Message- From: Jack [mailto:[EMAIL PROTECTED]] Sent: Tuesday, 16 July 2002 5:02 PM To: [EMAIL PROTECTED]; [EMAIL PROTECTED] Subject: [PHP] Problem

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 through