in reply to Have CGI call script, display status in browser
Sounds like you've got a misunderstanding.
Point the form you are submitting to the cgi script you want to run. E.g. <form action='foobar.cgi' method='post'>
Then make the script parse the form inputs and print out an HTML page. E.g.
#!/usr/bin/perl -w # this is foobar.cgi use strict; # untested use CGI; my $cgi = new CGI; print $cgi->header, $cgi->start_html; print "You entered " . $cgi->param('form_input_name') . "<br>"; print $cgi->end_html; exit;
No need to use system. dave hj~
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: Re: Gez
by Anonymous Monk on Mar 14, 2002 at 14:15 UTC | |
by Juerd (Abbot) on Mar 14, 2002 at 17:11 UTC |
In Section
Seekers of Perl Wisdom