Hi all,
just to give you another solution that I've successfully adopted:
function die_script($errmsg)
{
$sendto = "[EMAIL PROTECTED]";
$from = "[EMAIL PROTECTED]";
$subject = "FAILED";
$message = "CONNECTION FAILED\nTYPE OF ERROR:\n" . mysql_error();
Barbara Picci wrote:
> Hi all,
>
> I have a machine that must insert in cron in a mysql db in another
> remote machine.
> The problem is that I cannot know if the connection in the first machine
> (adsl) go down because no entry in the machine log is generated. I would
> like to redirect the die fu
2 matches
Mail list logo