assuming 1.pl is a CGI script, called via a browser with http://something/cgi-bin/1.pl?file=filename.ext
you can get to the filename being passed in 1.pl simply by doing something like this:
use CGI; my $query = new CGI; my $filename = $query->param("file"); # $filename now contains filena +me.ext
Now you have the filename in the variable $file
In reply to Re: Newbie Question
by wardk
in thread Newbie Question
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |