Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot
 
PerlMonks  

Re: Gez

by erikharrison (Deacon)
on Mar 14, 2002 at 13:35 UTC ( #151665=note: print w/ replies, xml ) Need Help??


in reply to Have CGI call script, display status in browser

Your question is not very clear. The preceeding comments are acurate, but I'm not sure they answer your question.

If you mean "How can a CGI program send data to another CGI program" there are a couple of ways. I think the solution you are looking for is to simply point the HTML page to the second script - this is assuming that you are trying ot run a CGI from a different server. This is probably a no-no however, simply because the original author could change that program, and your HTML page would send him/her bad data - which might actually do something.

Cheers,
Erik


Comment on Re: Gez
Re: Re: Gez
by Anonymous Monk on Mar 14, 2002 at 14:53 UTC
    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

      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

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://151665]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others chanting in the Monastery: (11)
As of 2014-08-28 05:59 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The best computer themed movie is:











    Results (257 votes), past polls