<?php
if (!Ora_Logon($username, $password)) {
error_log("Oracle database not available!", 0);
}
if (!($foo = allocate_new_foo())) {
error_log("Big trouble, we're all out of FOOs!", 1,
"operator@example.com");
}
error_log("You messed up!", 3, "/var/tmp/my-errors.log");
?>