Refresh the content of a log file

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • PerlUser
    New Member
    • Jun 2013
    • 1

    Refresh the content of a log file

    Hi,
    I am trying to read a log file using CGI.
    user select the the log file from the drop down to view it and click on submit button.
    then a pl code is called on the submit button which reads that log file and display it in the browser.
    I have used <meta http-equiv=\"refresh \" content=\"10\" />.
    but its not working because after 10 seconds page gets refreshed and it shows an error that the particular log file is not found which was selected by the user.
    is there any solution to this problem ?
    please help me out asap.
    its very urgent

    Note: I can't use Tail in my code because of some issues.
  • RonB
    Recognized Expert Contributor
    • Jun 2009
    • 589

    #2
    We can't troubleshoot code that you have not shown.

    You need to post your form code and Perl script.

    Comment

    Working...