ik gebruik nu de error handler van Rik
maar de error reporting stat te hoog en het lukt niet om op te lossen
code tot nu:
ERROR:
=== Er is een fout opgetreden! ===
Bestand: C:wampwwwzooiPFindex.php
Regel(s): 115
Bericht: Use of undefined constant Y - assumed Y
Datum en Tijd:31-3-2010 12:25:38
========== Einde fout ==========
maar de error reporting stat te hoog en het lukt niet om op te lossen
code tot nu:
[COLOR= #0000BB]<?php[/COLOR]
[COLOR= #007700]function[/COLOR] handle_on_error[COLOR= #007700]([/COLOR][COLOR= #0000BB]$e_number[/COLOR][COLOR= #007700],[/COLOR] [COLOR= #0000BB]$e_message[/COLOR][COLOR= #007700],[/COLOR] [COLOR= #0000BB]$e_file[/COLOR][COLOR= #007700],[/COLOR] [COLOR= #0000BB]$e_line[/COLOR][COLOR= #007700],[/COLOR] [COLOR= #0000BB]$e_vars[/COLOR][COLOR= #007700]) {[/COLOR]
[COLOR= #0000BB]$error_message[/COLOR] [COLOR= #007700]=[/COLOR] [COLOR= #DD0000]" === Er is een fout opgetreden! ===
<BR />"[/COLOR][COLOR= #007700];[/COLOR]
[COLOR= #0000BB]$error_message[/COLOR] [COLOR= #007700].=[/COLOR] [COLOR= #DD0000]"<strong>Bestand:</strong> "[/COLOR] [COLOR= #007700].[/COLOR] [COLOR= #0000BB]$e_file[/COLOR] [COLOR= #007700].[/COLOR] [COLOR= #DD0000]"
<BR />"[/COLOR][COLOR= #007700];[/COLOR]
[COLOR= #0000BB]$error_message[/COLOR] [COLOR= #007700].=[/COLOR] [COLOR= #DD0000]"<strong>Regel(s):</strong> "[/COLOR] [COLOR= #007700].[/COLOR][COLOR= #0000BB]$e_line[/COLOR] [COLOR= #007700].[/COLOR] [COLOR= #DD0000]"
<BR />"[/COLOR][COLOR= #007700];[/COLOR]
[COLOR= #0000BB]$error_message[/COLOR] [COLOR= #007700].=[/COLOR] [COLOR= #DD0000]"<strong>Bericht:</strong> "[/COLOR] [COLOR= #007700].[/COLOR] [COLOR= #0000BB]$e_message[/COLOR] [COLOR= #007700].[/COLOR] [COLOR= #DD0000]"
<BR />"[/COLOR][COLOR= #007700];[/COLOR]
[COLOR= #0000BB]$error_message[/COLOR] [COLOR= #007700].=[/COLOR] [COLOR= #DD0000]"<strong>Datum en Tijd:</strong>"[/COLOR][COLOR= #007700].[/COLOR] [URL="http://www.php.net/date"]date[/URL][COLOR= #007700]([/COLOR][COLOR= #DD0000]j-n-Y H:i:s[/COLOR][COLOR= #007700]) .[/COLOR] [COLOR= #DD0000]"
<BR />"[/COLOR][COLOR= #007700];[/COLOR]
[COLOR= #0000BB]$error_message[/COLOR] [COLOR= #007700].=[/COLOR] [COLOR= #DD0000]" ========== Einde fout =========="[/COLOR][COLOR= #007700];[/COLOR]
[URL="http://www.php.net/echo"]echo[/URL] [COLOR= #0000BB]$error_message[/COLOR][COLOR= #007700];[/COLOR]
[URL="http://www.php.net/exit"]exit[/URL][COLOR= #007700];
}[/COLOR]
[URL="http://www.php.net/error_reporting"]error_reporting[/URL][COLOR= #007700]([/COLOR]E_ALL [COLOR= #007700]&[/COLOR] ~E_NOTICE [COLOR= #007700]&[/COLOR] ~E_DEPRECATED[COLOR= #007700]);[/COLOR]
[URL="http://www.php.net/set_error_handler"]set_error_handler[/URL][COLOR= #007700]([/COLOR][COLOR= #DD0000]handle_on_error[/COLOR][COLOR= #007700]);[/COLOR]
?> ERROR:
=== Er is een fout opgetreden! ===
Bestand: C:wampwwwzooiPFindex.php
Regel(s): 115
Bericht: Use of undefined constant Y - assumed Y
Datum en Tijd:31-3-2010 12:25:38
========== Einde fout ==========
