in reply to Passing Parameters Help!
This looks like what you might expect. The html is badly formed though since the DOCTYPE declaration comes after you have already outputted some data... browsers will probably interpret it but you may want to tidy this up before going live with it.> perl mess.pl insert=insert display=test2 confir=test3 Content-Type: text/html; charset=ISO-8859-1 <br><b>I must to print these values here once the buttons on the form +has been clicked:</b><br>***INSERT=insert******DISPLAY=test2******CON +FIR=test3######<br><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Stric +t//EN""http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html> <head> <title>Test</title> </head> <body> Test<br> <form name="upf" method="post"> <input type="hidden" name="update" value="update"> <input type="submit" name="upf" value="Cancel" onClick="docum +ent.upf.action='test.pl';"> <br><br> <input type="submit" name="upf" value="Insert" onClick="docum +ent.upf.action='test.pl?insert=insert';"> <br><br> <input type="submit" name="upf" value="Confirm" onClick="docu +ment.upf.action='test.pl?confir=confir';"> </form> OK your message has been received! </body> </html>
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Passing Parameters Help!
by Marmota_11 (Initiate) on Jul 10, 2007 at 18:49 UTC | |
by rpanman (Scribe) on Jul 11, 2007 at 10:56 UTC |