dose any1 kno of a php script that will take a 404 error...
ex. http://www.shoxlx.com/my name
... and take the "my name" and redirect it to another part of the site where it can be used??
EDIT:
this might make more sence...
This way if a user types http://myserver/myapp then my server will redirect to https://myserver/myapp automatically to http://myserver/thenewpage.
php redirection help
Moderator: General Moderators
- Chris Corbyn
- Breakbeat Nuttzer
- Posts: 13098
- Joined: Wed Mar 24, 2004 7:57 am
- Location: Melbourne, Australia
From your other thread I guess you're not using Apache.... does Abyss support custom 404 pages? I've heard of issues using dynamic 404 pages though since IE occassionally decides that the page contains no data and throws it's own error
I'd guess you could do it with $_SERVER['HTTP_REFERRER'] and/or $_SERVER['PHP_SELF']