colm maccarthaigh tasfstdlibnet 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 colm maccárthaigh public key colmpgpstdlibnet fri 08 aug 2008 080719 0000 ilug help get strings form cgi perl script