Joseph Bannon wrote:
> have this function below that if an image is not there for $url, it give a
> "warning".
> $size = GetImageSize("$url");
Just use
> $size = @GetImageSize("$url");
but to stop display of error for all functions:
error_reporting (0);
the opposite, reports EVERYTHING, even "bad code" (like undeclared variables
which is quite a security issue ;)
error_reporting (E_ALL ^ E_NOTICE);
--
PHP Developer, home: http://www.moijk.net | work: http://www.coretrek.com
symlink: Creates a symbolic link |
http://www.php.net/manual/en/function.symlink.php
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]