|
Posted by John on 10/19/07 07:48
<SaraLeePerson@gmail.com> wrote in message
news:1192770073.064802.86470@e34g2000pro.googlegroups.com...
> Hello, could someone please kindly show me how to do this? I am
> running some experiments with this and hope to see if it can work
> again.
>
> Basically, I need a simple form page that will submit its results to
> the same page. I've seen this done before, but cannot recreate the
> results.
>
> Something like,
>
> <form method=post action="">
> <INPUT type="submit" name="button">
> <input type="hidden" name="test_Data" value="100">
> </form>
>
> So basically I want to prove hitting the form submit button sends me
> to the same page it is on, and passes some result back to it, and I
> can take it from there. Can this be done? :)
>
> Thank you in advance for help. Sara
>
I cannot see how this can be done in HTML. It is straightforward in Perl.
Indeed, Perl Web programmers do it all the time.
action='/example.com/cgi-bin/test.pl'
use CGI;
my $testdata=param('test_Data');
[ work on variable $testdata ]
Have you seen something like this?
Regards
John
[Back to original message]
|