I have a question about URL's. Right now, I'm wondering if it's possible to add some stuff onto the end of a filename. An example:
I have this code, which includes a file.
Code: Select all
<?php
require ('./index.php');
?>Code: Select all
http://www.site.tld/index.php?blah=1The goal for this is that I run a site which includes a specific page into the index. I have a blacklist approach, and I want it so that if someone goes to a URL that calls a page that doesn't exist, I want to load the main page, with the extra data on the end of the URL, so that I can run some error routines.
Thanks for any help
Sphen001