Sidrath,
is there any need to adopt that surly attitude when responding?

joel

-----Original Message-----
From: Sidharth Malhotra [mailto:[EMAIL PROTECTED]]
Sent: 07 August 2001 13:23
To: 'Francesco Scaglioni'
Cc: '[EMAIL PROTECTED]'
Subject: RE: href arguments


Once again.  This is a problem that can be easily solved reading the CGI
module documentation at:
http://www.perldoc.com/perl5.6/lib/CGI.html

use the CGI module:
<Perl>

use CGI;
my $q = new CGI;
my $filename = $q->url_param('filename'); # or
my $filename = $q->param('filename');

</Perl>


-----Original Message-----
From: Francesco Scaglioni [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, August 07, 2001 7:05 AM
To: [EMAIL PROTECTED]
Subject: href arguments


Hi,

THis is probably a simple question.  Am new to perl and CGI so please
have mercy. I have a script which displays a list of files with links
to them.  The links when hovered over in a browser show as:

display_file.pl?filename=blahblah

How can I extract the blahblah bit (which is the name of the selected
file) so that the display_file.pl script can know which file it is to
open and process?  I think this makes sence.  I want the script
display_file.pl to perform an action on file blahblah.

TIA

Francesco

-- 
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]



-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to