/ Published in: PHP

Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
$file = "http://www.dropthenerd.com/demo/file_exists.php"; if($fileExists){ echo "File Exists!"; }else{ echo "Sorry, we couldn't find the file."; }
URL: http://www.dropthenerd.com/how-to-see-if-a-remote-file-exists-php/
Comments
