/ Published in: PHP
Simple way to check see if a file exists and is readable before you include it. Stops nasty error messages onscreen.
Expand |
Embed | Plain Text
<?php $file = 'includes/filename.inc.php'; include($file); } ?>
You need to login to post a comment.
