
February 2nd, 2004
06:17 AM
404 error script
Does anybody know of a script that will for example:
- when a user types in "http://www.blahblah.com/hjsdghjg.htm"
it would bring up your custom 404 page, displaying their ip, the wrong page they typed in etc and it would actually have in their browser address field "http://www.blahblah.com/hjsdghjg.htm" and not the usual redirect to 404.htm ?
I'm having problems searching for such a script because I'm having a little trouble trying to describe what I want. hah. If anyone has any ideas I'd greatly appreciate it.
thanks 

February 2nd, 2004
09:47 AM
funk masta
Status: Offline!
generally you get an option to do that in cpanel under custom error pages

February 2nd, 2004
04:16 PM
not everyone has that option though.

February 3rd, 2004
01:50 AM
Internet junkie :)
Status: Offline!
I have a tutorial for making a 404.php file that does what you say; however, it uses the older getenv instead of globals
http://www.ibdhost.com/errors/
i.e. this works but I should update to the newer env variables = but no time 
___________________
Razorback Fan
http://www.ibdprince.com
Simple PHP CSS tutorials

February 3rd, 2004
02:53 AM
!
That's perfect, thanks so much for sharing 