Simple (I hope) perl question
Sergio Salvi
lists3-8OOxOvJoDXDLSf97qRSy8VAUjnlXr6A1 at public.gmane.org
Sat May 1 02:03:55 UTC 2004
use CGI;
my $cgi = new CGI;
my $value = $cgi->param("variable-name");
Madison Kelly wrote:
> Hi all,
>
> If I have a link that calls a cgi script with values after a '?', how
> do I read in those values? For example, if I click the link:
>
> http://localhost/cgi-bin/script.cgi?variable-name=1
>
> How could I get 'script.cgi' to read the 'variable-name=1'?
>
> Thanks all!
>
> Madison
>
> --
> The Toronto Linux Users Group. Meetings: http://tlug.ss.org
> TLUG requests: Linux topics, No HTML, wrap text below 80 columns
> How to UNSUBSCRIBE: http://tlug.ss.org/subscribe.shtml
>
--
The Toronto Linux Users Group. Meetings: http://tlug.ss.org
TLUG requests: Linux topics, No HTML, wrap text below 80 columns
How to UNSUBSCRIBE: http://tlug.ss.org/subscribe.shtml
More information about the Legacy
mailing list