Marco Mastrorilli wrote:

> -Notice: Use of undefined constant data......
> -Notice: Use of undefined constant mail.......
> -Undefined variable........
> 
> Why in my scripts i always get error notice like this? 
> How can i solve this problem?

See <http://it.php.net/error_reporting> and
<http://it.php.net/manual/en/ref.errorfunc.php#ini.error-reporting>.

In short: either define (set) your constants and variables before you
use (read) them, or turn off reporting of E_NOTICE messages:

error_reporting(E_ALL &~ E_NOTICE);

Or in php.ini:

error_reporting = E_ALL & ~E_NOTICE

Regards...
                Michael

-- 
PHP Install Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to