http://qs321.pair.com?node_id=151686


in reply to Re: Gez
in thread Have CGI call script, display status in browser

Sorry, I should have been more specific The perl script I am trying to start from a submit button, creates text files based on data read from a database, then saves these files to disk. Its output just prints 'RUNNING', and 'COMPLETE' to STDOUT, which in this case needs to be an HTML form so that I know the status of the perl script

Replies are listed 'Best First'.
Re: Re: Re: Gez
by erikharrison (Deacon) on Mar 14, 2002 at 17:07 UTC

    Ahhh . . . I see. Perl, in this fashion, is a server side technology. What you need is a client side technology like JavaScript (Though you can still use Perl server side). See cgi buffer flush for a more detailed discussion.

    Cheers,
    Erik