Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid

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.


Replies are listed 'Best First'.
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.


Log In?

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

How do I use this? | Other CB clients
Other Users?
Others pondering the Monastery: (5)
As of 2021-09-25 10:04 GMT
Find Nodes?
    Voting Booth?

    No recent polls found