file exists problem

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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]


[Index of Archives]     [PHP Home]     [PHP Users]     [PHP Soap]     [Kernel Newbies]     [Yosemite]     [Yosemite Campsites]

  Powered by Linux