I forgot to mention, you may need to finetune this: not every server gives exactly the same $SERVER values.

When default is reached, the url is really wrong and you give them a nice scowling in the 404.html file.
(A nice suggestion: "HEY!!!! You dumb pi3ce of sh1t3! Learn to type!!!!!!!!!!!!! Or do not bother to ever come here again. You are WASTING my bandwith!")


default:
Header("Location: ".$basis."redirect/404.html");


--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Reply via email to