At 23:57 09.11.2002, Ernest E Vogelsinger said:
--------------------[snip]--------------------
><?php
>if ($we_found_an_error) {
>        $url = 'http://' . $_SERVER['SERVER_NAME'] .
>               '/my_error_handler.php?any_parameters_you_need';
>        echo '<script language="JavaScript">',
>             'document.location.href="', $url, '">',
>             '</script>',
>             '<hr>',
>             'A nasty error has occurred. If you are not redirected ',
>             'to the correct page, <a href="',$url,'">click here</a> to',
>             'continue (sorry folks)';

// I FORGOT THIS LINE...
        exit;

>}
>// else no error - continue
>
>?>
--------------------[snip]-------------------- 

-- 
   >O     Ernest E. Vogelsinger
   (\)    ICQ #13394035
    ^     http://www.vogelsinger.at/



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to