I want to let a script quit itself after 10 seconds, and It needs to gif a
html timout output.
I have tested whit the foloing:

if ($timeout)
{
if ($timeout =~ /10/)
{
print "content-type: text/html\n\n";
print "<html>\n";
print "<head>\n";
print "<meta http-equiv=\"content-type\"
content=\"text/html;charset=ISO-8859-1\">\n";
print "</head>\n";
print "<body bgcolor=\"#ffffff\">\n";
print "<font color=\"#AA0000\" size=\"5\">timout</font><br><br>\n";
print "</body>\n";
print "</html>\n";
exit;
}
else
{
alarm(0);
}
}

But it will not work.
I probely angain, have to make a other pice off script.

How will an can help me.
Thanks, Eelco Alosery


Reply via email to