Midnite has asked for the wisdom of the Perl Monks concerning the following question:
I'm working on a script where I create a webpage with a Send button on the bottom. If the users click on it, I want to run a subroutine to write data to a file, and then give confirmation page that data was sent.
This is what I have:
print "<hr>"; print "<form>";<br> print "<center><input type=button value=Send name=S1 onclick=sendq>"; print "</center></form>"; print "</font></body></html>"; sub sendq { #print BOBIN $datajoin; use CGI; print redirect("http://www.gailborden.info/services/bob/s +ubmitq.htm"); }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Button Send
by VSarkiss (Monsignor) on Aug 10, 2004 at 21:39 UTC | |
by Midnite (Acolyte) on Aug 11, 2004 at 18:29 UTC | |
by VSarkiss (Monsignor) on Aug 11, 2004 at 19:27 UTC | |
by Midnite (Acolyte) on Aug 12, 2004 at 01:34 UTC | |
|
Re: Button Send
by Joost (Canon) on Aug 10, 2004 at 20:46 UTC |