I removed this line:
exit($cc);
and still get the same error in the browser

from command line:
# perl ntop4.cgi + [Mon Jul 25 14:27:27 2005] ntop4.cgi: Unrecognized escape \d passed th +rough at ntop4.cgi line 53. <html> <head> <title>ntop startup script</title> <STYLE TYPE='text/css'> h3 { color: red } a { text-decoration: none; font: bold 14pt/16pt Ariel, serif } a:hover { color: red } /* when mouse is over link */ </style> <script language="javascript"> function hideWaitMsg(){ var obj = getElementById('wait_msg_text'); obj.visible = false; } </script> </head> <body bgcolor='#c0c0d0' onLoad="hideWaitMsg()"> <center> <p><br></p> <p><br></p> <div id="wait_msg_text">pls wait, ntop will be started</div> Mon Jul 25 14:27:28 2005 Initializing gdbm databases <font face="arial,helvetica" size=2 color="#006600">status: +</font> ntop<br><br> <font face="arial,helvetica" size=2 color="#FF0000"> pls do not forget to shutdown, if you're not using </font> <p><br></p>pls wait for 5 seconds before you click on this link: <br><br><a href="https://192.168.0.3:3001"><b><U>NTOP</b></U></a> <p><br></p><p><br></p><p><br></p><p><br></p>Maintained by <a href="mai +lto:admin@domain.net"><font face="arial,helvetica" size=3> admin</a></font> </center></body></html>

Apache error log says:
[Mon Jul 25 14:30:04 2005] [error] [client 192.168.0.105] [Mon Jul 25 +14:30:04 2005] ntop4.cgi: Unrecognized escape \\d passed through at / +usr/local/www/cgi-bin/ntop/ntop4.cgi line 53. [Mon Jul 25 14:30:04 2005] [error] [client 192.168.0.105] malformed he +ader from script. Bad header=<html>: ntop4.cgi
greetings cc

In reply to Re^8: show a message only during the sleep time by cc
in thread show a message only during the sleep time by cc

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.