I finally got my script to do what I needed. Thanks a lot to all those who
helped me out.
In case interested here is the resolution:
<p><a href="cgi-bin/script.pl?id=\Acura">\Acura</a></p>
and the script.pl is:
use CGI;
$q = new CGI;
$VOB = $q -> param ('id');
system("multitool","lsepoch","\-invob","$VOB");
Regards
David Nazary
-----Original Message-----
From: Octavian Rasnita [mailto:[EMAIL PROTECTED]]
Sent: Sunday, September 01, 2002 8:46 PM
To: Nazary, David
Subject: Re: How to make a hyperlink an argument for a CGI script
Don't end with .pl but put a link that include a query string like:
<a href="/cgi-bin/script.pl&id=foo">foo</a>
Then in your script use:
use CGI;
my $q = new CGI;
my $foo = $q -> param ('id');
Your foo string is in the $foo now.
Teddy's Center: http://teddy.fcc.ro/
Mail: [EMAIL PROTECTED]
----- Original Message -----
From: "Nazary, David" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, September 02, 2002 6:35 AM
Subject: How to make a hyperlink an argument for a CGI script
> Hi,
>
> In the following web page how can I make "foo" to become an argument to
> "cgi-bin\script.pl" script when I click on "foo"?
>
> <body>
>
> <p><a href="cgi-bin/script.pl">foo</a></p>
>
> </body>
>
> Currently the script takes "" as an argument when I click on "foo". Any
> suggestion are appreciated.
>
> Thanks
> David Nazary
>
> --
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]