500100 pages

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Joe This

    500100 pages

    If an error occurs with php how can I get it to go to a 500-100 page?
    Also, once I have it there; how can I get the last error?
  • Andy Hassall

    #2
    Re: 500100 pages

    On 24 Nov 2004 13:21:05 -0800, joeandtel@gmail .com (Joe This) wrote:
    [color=blue]
    >If an error occurs with php how can I get it to go to a 500-100 page?[/color]

    With a user-defined error handler; see set_error_handl er().
    [color=blue]
    >Also, once I have it there; how can I get the last error?[/color]




    --
    Andy Hassall / <andy@andyh.co. uk> / <http://www.andyh.co.uk >
    <http://www.andyhsoftwa re.co.uk/space> Space: disk usage analysis tool

    Comment

    • Pedro Graca

      #3
      Re: 500100 pages

      Joe This wrote:[color=blue]
      > If an error occurs with php how can I get it to go to a 500-100 page?
      > Also, once I have it there; how can I get the last error?[/color]

      See Apache's "ErrorDocum ent" directive


      If your Web server is not Apache, there probably is something that does
      the same as Apache's "ErrorDocum ent" ...

      --
      Mail to my "From:" address is readable by all at http://www.dodgeit.com/
      == ** ## !! ------------------------------------------------ !! ## ** ==
      TEXT-ONLY mail to the whole "Reply-To:" address ("My Name" <my@address>)
      may bypass my spam filter. If it does, I may reply from another address!

      Comment

      Working...