[PHP-DEV] session only for who needs it

2002-12-25 Thread Mattia
n_check() { if( [cookie_on_client] == [sess_file_on_server] ) { return true; } else { return false; } } Is it possible to do it with the PHP session API, without hacking the code, go and read the session files,...? any hint is appreciated. bye Mattia Cazzola -- PHP Developme

Re: [PHP-DEV] error handling

2002-11-18 Thread Mattia
e it once, but not the same with E_ERROR. Mattia -- PHP Development Mailing List <http://www.php.net/> To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DEV] error handling

2002-11-18 Thread Mattia
"Rasmus Lerdorf" <[EMAIL PROTECTED]> ha scritto nel messaggio [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > Well, I certainly don't want errors handled this way for my web apps. Well, would you please tell us why and propose an alternative? Mattia -- PH

Re: [PHP-DEV] error handling

2002-11-18 Thread Mattia
ing I would like to be notified of the error, so that I can notify whoever, and the user, that the service is unavaiable and such like an exit function that gets executed on program exit (just before) and whenever the E_PARSE occurs. Mattia -- PHP Development Mailing List <http://www.php.net/> To unsubscribe, visit: http://www.php.net/unsub.php

[PHP-DEV] error handling

2002-11-17 Thread Mattia
the cliens is another computer (robot,...) to make it as well (computer look at error codes rather than at things written for humans. I know this is possible now, but not within the error handling function of PHP, or without setting a custom error handler. Mattia Cazzola -- PHP Development Ma