Re: what's the best way to handle this?
| From: | Chris Hayes | Date: | Tue, 18 Mar 2003 15:32:51 +0000 |
| Subject: | Re: what's the best way to handle this? | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-140128@lists.php.net to get a copy of this message | ||
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");