/
/
Server
sendet
eine
Nachricht
an
den
Administrator
,
/
/
dass
keine
Verbindung
zur
Datenbank
möglich
ist
.
if
(
!Ora_Logon($username
,
$password)
)
{
error_log
("Oracle
database
not
available
!"
,
0)
;
}
/
/
Server
sendet
eine
Nachricht
an
den
Administrator
,
dass
FOO
langsam
ausgeht
if
(
!($foo
=
allocate_new_foo()
)
{
error_log
("Big
trouble
,
we're
all
out
of
FOOs
!"
,
1
,
"operator@mydomain.com")
;
}
/
/
AndereMöglichkeiten
,
error_log(
)
aufzurufen
:
error_log
("You
messed
up
!"
,
2
,
"127.0.0.1:7000")
;
error_log
("You
messed
up
!"
,
2
,
"loghost")
;
error_log
("You
messed
up
!"
,
3
,
"
/
var
/
tmp
/
my-errors.log")
;
|