Hi, Thanks in advance. How do we check whether the php function called generates which error ? For example, if I set the wrong timezone then I get E_NOTICE date_default_timezone_set('Asia/Kolkata'); But how do we check which E_WARNING/E_NOTICE etc is generated. Regards Deepak Bhatia