Productive servers: If you have the possibility to customize php.ini, set
error_reporting = E_ALL & ~E_NOTICE & ~E_WARNING
Test- development servers: If you have the possibility to customize php.ini, set
error_reporting = E_ALL & ~E_NOTICE
Otherwise you can set these options at the beginning of the script:
<?
error_reporting(E_ALL & ~(E_WARNING | E_NOTICE ));
// ...
http://www.php.net/manual/en/features.error-handling.php
http://www.php.net/manual/en/function.error-reporting.php
If you get errors, please post the error messages, "it says the error's .... " is too less information, Thx