I am in trouble and I am trying to figure out the way to get the solution, but to no use. Kindly help!
I use <input type ="file" name = "testfile">
and then in cgi script, I try to access it by:
$in{testfile} but I get the dump of whole file. I just want the filename, how to do it?
I have used method = post, enctype = multiform-data.....
and cgi-lib.pl
Please help ...
Regards,
Rajat Garg
so I mixed the above and used Vars member of CGI.pm to get the hash %in, and used $cgi->{'name'} to get the file handle....
not a great work around but suits me....
thanks a ton,
rajat garg