jamiejamie
Technical User
I have two webservers. One webserver checks to see if a file exists on the other webserver. The file does exist, but my code returns a value of false. Why? And, how can I get it to return True?
<?php
$filename2 = '
if (file_exists($filename2)) {
echo "The file $filename2 exists";
} else {
echo "The file $filename2 does not exist";
}
?>
Jamie Aaron
<?php
$filename2 = '
if (file_exists($filename2)) {
echo "The file $filename2 exists";
} else {
echo "The file $filename2 does not exist";
}
?>
Jamie Aaron