RE: file exists problem
The path of file on remote server should be change!
$filename='THE NEW PATH';
From: php-objects@xxxxxxxxxxxxxxx [mailto:php-objects@xxxxxxxxxxxxxxx] On
Behalf Of atkelleden atkelleden
Sent: Thursday, April 22, 2010 4:21 PM
To: php-objects@xxxxxxxxxxxxxxx
Subject: file exists problem
The following script work fine in my computer (the file exists).
but
I copy them to a remote server. 'File does not exist' result is returned.
$filename = 'C:/banners/b.jpg';
if (file_exists($filename)) {
echo "The file $filename exists";
} else {
echo "The file $filename does not exist";
}
thanks a lot.
[Non-text portions of this message have been removed]
[Non-text portions of this message have been removed]
[PHP Home]
[PHP Users]
[PHP Soap]
[Kernel Newbies]
[Yosemite]
[Yosemite Campsites]