[thelist] Form question

Martin Kuplens-Ewart martin at graphicist.com
Fri Mar 23 17:28:00 CST 2001


Easy.

<form name="myForm" action="script.pl" method="get">
<input type="text" name="name" size=30 maxlength=256>
<input type="submit" name="submit" value="submit">
</form>

-martin


----- Original Message -----
From: "Michael Galvin" <mpgalvin at eircom.net>
To: "thelist" <thelist at lists.evolt.org>
Sent: Friday, March 23, 2001 5:57 PM
Subject: [thelist] Form question

> I have a form which requests a name.  I want to use the contents of
that
> form to call a perl script.  I don't want a second page, requesting
the user
> to click a link to run the perl script.  Ideally, they would think
they're
> submitting their name, but really, they're just running the script.
Now,
> the script needs to be called like so
>
> script.pl?name= ...
>
> followed by the name the user enters into the form.  If I type in
Mich, and
> click the submit button, I want the script.pl to be run with
name=Mich as
> the parameter.
>
> Is this at all possible?
>
> Michael
>
>
> ---------------------------------------
> For unsubscribe and other options, including
> the Tip Harvester and archive of TheList go to:
> http://lists.evolt.org Workers of the Web, evolt !
>





More information about the thelist mailing list