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
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,
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
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
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 (
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
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
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
8 matches
Mail list logo