Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Custom Error Pages,
#6
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 >_>
[Completely Honest. Seriously.]

Protip: Anonymous Reputation Points are for Pussies
Reply


Messages In This Thread
Custom Error Pages, - by Brainless Control - 10-22-2009, 12:54 PM
RE: Custom Error Pages, - by Akshay* - 10-23-2009, 02:16 AM
RE: Custom Error Pages, - by Gaijin - 10-23-2009, 02:21 AM
RE: Custom Error Pages, - by Jamza - 10-23-2009, 05:08 AM
RE: Custom Error Pages, - by Headshot - 10-23-2009, 03:23 AM
RE: Custom Error Pages, - by manipulate - 10-24-2009, 01:35 AM
RE: Custom Error Pages, - by immi - 10-24-2009, 02:38 AM
RE: Custom Error Pages, - by Extasey - 10-24-2009, 03:54 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  How to track bandwidth for specific files and pages? dipped9900 1 871 07-14-2012, 05:25 PM
Last Post: 'Snorlax
  000webhost Custom Error Pages Tutorial alabama 12 5,428 11-16-2011, 06:41 AM
Last Post: TalishHF

Forum Jump:


Users browsing this thread: 2 Guest(s)