[solved] why does this happen?
Posted: Sat Sep 17, 2005 11:45 pm
if i run the script:
from /users/bucky/video/
it finds the file... but when i run the same script with
from anywhere else, it says file does not exist.
Code: Select all
$filename = 'prepre.mov';
if (file_exists($filename)) {
echo "The file $filename exists";
} else {
echo "The file $filename does not exist";
}it finds the file... but when i run the same script with
Code: Select all
$filename = '../users/bucky/video/prepre.mov';