#1) You should do all possible to avoid getting that in you r scripts (you know, checking wether file exists etc etc), not simply disabling it cause it's a messy way really, and can fill up logs with that stuff (which is not quite good when using a server that you don't own). Also, using @function instead of function suppressess it's all warning/error output.
Anyway, here's what You wanted: error_reporting = E_ALL & ~E_WARNING stops errormsg output for warnings. also error_reporting = E_ALL & ~E_WARNING & ~E_NOTICE would be even better cause it would kill all those annoying 'NOTICE: xxx unexistant variable' etc things. guess that could help. ----------- [EMAIL PROTECTED] the humble sheep -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php