Hi, I've got a web form that allows a user to browse to an excel file on their computer and input it and the year as parameters to run a perl script
FORM : <input type="file" value="excel" name="file" size="15"> <input type="text" name="year" size="15"> SCRIPT: use CGI; use Spreadsheet::ParseExcel; $q=new CGI; my $oExcel = new Spreadsheet::ParseExcel; my $user_ssheet=$q->param('file'); my $oBook = $oExcel->Parse($user_ssheet); my $year=$q->param('year'); BUT I keep getting a "HTTP 500 - Internal server error". However if I hard code in the reference to the excel file, like so : my $user_ssheet="excel_file.xls"; it works fine !? Is it something to do with paths from the file input type? Regards, Mark