Hello.
I've written a cgi script to read in a user's filename for upload.
Here is the scripts body:
Code:
#!/usr/bin/perl -w
use CGI;
my $q = new CGI;
print "Content-type: text/html\n\n";
my $file = $q->param('dbFileName');
if($file) {
print "<p>You want to upload:<b>$file</b>";
}
The problem is that the script outputs just the file name and strips the absolute path the the file. I need the full path to the file.
Is there anyway to get the full path the file?
Thanks.