[thelist] Can I capture part of a link?

Chris Marsh chris at ecleanuk.com
Wed Feb 26 09:42:01 CST 2003


[..]

> That hasn't been determined, although a Perl script is their
> first choice. I'm trying to get them away from Matt's form
> mailer - I may actually be able to get that done this time.
>
> So example code in Perl would be great.

#!/usr/bin/perl

use CGI;

##---------------------------##
my $CGI = new CGI;
my $id = $CGI->param('id');
##---------------------------##

print $CGI->header;
print <<printHTML;
<html><head><title>Test</title></head><body>
<form>
<input type='hidden' name='id' value='$id' />
</form>
ID=$id
</body></html>
printHTML

That should give you an idea...

Regards

Chris Marsh




More information about the thelist mailing list