Posts: 335
Threads: 34
Joined: Oct 2009
Reputation:
8
Hello.
xenocide..Can you please tell me that what is the helpful side of these error pages.
:superman:
Posts: 345
Threads: 30
Joined: Oct 2009
Reputation:
7
This 'Danger' guy is funny.
Thanks for this, I'd like to make custom error pages when I get my host and shizz.
Posts: 379
Threads: 34
Joined: Oct 2009
Reputation:
15
I did this for a few sites on my server a while back; just made an /error.php?c=errorcode.
First, I quickly wrote a Perl script that added every HTTP error code to MySQL along with the 'definition' (too lazy to add them manually) and then I made error.php (that was responsible for everything) that would show the user what happened and give them a nice message depending on what happened, of course the information was written to a database that I later wrote another Perl script to read through and tell me what went wrong.
a pretty nice solution >_>
Posts: 106
Threads: 6
Joined: Oct 2009
I tried that previously, thanks for this though