Hi Hagan
http://php.net/file-exists
PHP Code:<?php
$filename = '/path/to/foo.txt';
if (file_exists($filename)) {
print "The file $filename exists";
} else {
print "The file $filename does not exist";
}
?>
hope that helps
:develish:
Hi Hagan
http://php.net/file-exists
PHP Code:<?php
$filename = '/path/to/foo.txt';
if (file_exists($filename)) {
print "The file $filename exists";
} else {
print "The file $filename does not exist";
}
?>
hope that helps
:develish:
Bookmarks