Hi,
I would like to have a script that captures an extension after my domain URL and puts it in a variable which I can later use to redirect the page...
For example... if someone types
www.mydomain.com/johnsmith
and there is no such folder as 'johnsmith', instead of displaying en error page, the script takes the string johnsmith and puts it in the variable $sample so I can match it off with a number of records in the database and then redirect, for example.
I'm sure this exists somewhere so any help would be great...
Cheeeeeeers in advance
Ed Kellett