
Solid, safe website tools.
Whatever your need, Will Bontrager builds powerful software solutions.
|
(Get Attention Ticker for your web site)
Converting form submissions into URLsBy Will Bontrager Converting form submissions into URLsSome form submissions can be converted into clickable links or bookmark URLs. Such a link/URL can be created if the form can use method="GET". If the form is method="POST" you can still give it a try. It might work anyway. Some software will accept form submissions with either method. The link/URL would he the URL of the form action, followed by a question mark, followed by name=value sets delimited with ampersands. Example: <form method="GET" action="http://example.com/script.cgi"> <input name="email"> <input name="code"> </form> That URL would be http://example.com/script.cgi?email="name@isp.com&code=MyCode Put in the correct values for email and code and you're good to go maybe. If the URL contains illegal characters (like a space), those characters will need to be converted into a "%" character followed by the 2-digit hex value of the character. (%20 for a space character.) November 18, 2007 Please note: Articles on this website are presented "as is". However - If you have a question about a CGI script, HTML, CSS, PHP, or JavaScript
Rate this blog post.
No page reload! |
|
|
© 1998-2001 William and Mari Bontrager |
|