Published in: PHP
URL: http://www.mechanicmatt.com/bp/
For sites that run on dynamic URL's and file includes, here is a simple technique to use to ensure that an 'include' file isn't hit directly via URL and only runs when included.
and then at the top of all of your php parsed include files, place this } else {} To test, go to http://www.mechanicmatt.com/bp/ and then go to http://www.mechanicmatt.com/bp/pages.php
You need to login to post a comment.
