form input in a new page
The little sad guy icon I picked is me with a headache.
M'k, I have looked for this everywhere, and I'm sure five min after I post this, I will find the answer in an ambiguosly name post 3 posts down.
Anyway ~ I want to make a form output to a new page (instead of mailto), like inserting a name in a box, submit= new page that says "Howdy, name!". That thing. I keep running across terms like "hidden values", but I can't find how to use them. Or decoding a cgi string onto the new page. Or what to write the output page in, like html, or ASP (which my server doesn't support, Unix), or my advil. Anyone have very simple step by step instructions for the output part? The form page is done and ready to upload, I just need the next page.
"People have to talk about something just to keep their voice boxes in working order, so they'll have good voice boxes in case there's ever anything meaningful to say. "
~Kurt Vonnegut~
click:The Ecletic Café
Peter J. Boettcher posted this at 15:36 — 9th November 2001.
They have: 812 posts
Joined: Feb 2000
In the most basic terms, heres how form handling works:
:: form.html ::
:: handler.asp ::
<?php
strName = Request.Form("txtName")
?>
Howdy
<?php
=strName
?>
The syntax will vary depending on what server you're using but the methodology will stay the same. You don't have to use hidden text boxes unless you're passing some info you don't want the user to see.
I can't help you with the CGI/Perl stuff maybe someone else can pipe in...
PJ | Are we there yet?
pjboettcher.com
Want to join the discussion? Create an account or log in if you already have one. Joining is fast, free and painless! We’ll even whisk you back here when you’ve finished.