john kinsella aikvqhbldabaulie 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 run cgi script console perl w uploadcgi naturally complains use uninitialized value concatenation string values needed passed html form run perl w uploadcgi testinputtxt testinputtxt line photohomekinsellafilejpgemail_addressjohnkinsellaulie error message unchanged reason strings read standard input cgi script first 4 lines cgi perl script usrbinperl w use cgi qwstandard query new cgi filename queryparamphoto first 4 lines cgi perl script obviously im something stupid thelp hanks usual advice john john kinsella ph 35361202148 direct 35361333644 x 2148 switch mathematics dept email aikvqhbldabaulie university limerick fax 35361334927 ireland web httpjkcraymathsulie fri 08 aug 2008 074923 0000 ilug help get strings form cgi perl script