Mega Code Archive
Categories
/
Php
/
Code Snippets
File exists with PHP and Java
exists()) { echo "The file ". $fp->getAbsolutePath() . " is ". $fp->length(). " bytes"; } //file does not exist else { echo "The file " . $fp->getAbsolutePath() . " does not exist"; } ?>