Published in: PHP
This tests to see if the current file is being included or run directly. It's useful to add to the top of your include files to stop malicious users from accessing them directly in the browser.
if(__FILE__ == $_SERVER['SCRIPT_FILENAME'])
You need to login to post a comment.
