PHP List,
I have a system where the code parses the URL and creates objects based
on the classes named in the link.
In order to prevent a user typing in a URL that contains an object that
doesn't exist, and getting an error, I'm trying to set up an error
handler class, called ErrorHandler,
On Fri, 2006-10-20 at 15:50 +0900, Dave M G wrote:
I have a system where the code parses the URL and creates objects based
on the classes named in the link.
In order to prevent a user typing in a URL that contains an object that
doesn't exist, and getting an error, I'm trying to set up an
# [EMAIL PROTECTED] / 2006-10-20 15:50:32 +0900:
set_error_handler(ErrorHandler::handleError());
Inside my ErrorHandler, I have this:
public static function handleError($errno, $errstr, $errfile, $errline)
{
echo Hey dude! Error! . $errno . $errstr . $errfile . $errline ;
}
However, I
3 matches
Mail list logo