john kinsella aikvqhbldabaulie hi colm script running think strings passed html form cgi script run cgi script command line reading values fields textfile script fails read baffles perl w uploadcgi testinputtxt testinputtxt line photohomekinsellafilejpgemail_addressjohnkinsellaulie photo email_address two fields specified html wrapper photo upload email address john colm maccarthaigh wrote fri nov 16 2007 040542pm 0000 john kinsella wrote hi want allow students upload text files web server downloaded html wrapper cgi script written perl httpwwwsitepointcomprintuploadingfilescgiperl files slightly amended installed correctly may tested httpjkcraymathsuliefile_upload get internal server error apache run html form 9click submit consulting varlogapacheerrorlog see fri nov 16 122137 2007 error 8exec format error exec varwwwcgibinuploadcgi failed fri nov 16 122137 2007 error client 193110165 premature end script headers varwwwcgibinuploadcgi errors look like script executable hashbang line wrong path perl interpretter usrbinperl w probably permissions john kinsella ph 35361202148 direct 35361333644 x 2148 switch mathematics dept email aikvqhbldabaulie university limerick fax 35361334927 ireland web httpjkcraymathsulie fri 08 aug 2008 081040 0000 ilug help get strings form cgi perl script