But can these "notices" actually cause the whole PHP engine to crash?? There's a a whole lot of "notices" coming to the log. I was thinking if the system crashes because there are too many "notices". The code I'm using has worked flawlessly on previous versions of PHP and also on the 4.2.2, the web pages do work for a few days just as they should (and then the PHP engine crashes).
What do you think about this, at least I find it a bit weird that the following code:
7: if (!isset($GET['page'])) $page = "startpage";
8: else $page = $GET['page'];
...Gives this error message:
[04/Sep/2002:08:25:41] info ( 6615): for host xxx.xxx.xx.xx trying to GET /2002/index.php, PHP_log_message reports: PHP Notice: Undefined index: page in /www/docs/yyy.yyy.yy/2002/index.php on line 7
Any ideas? Is the code written wrong or is there a problem on the server that has noting to do with PHP, that causes the PHP engine to crash?