I have been trying unsuccessfully to make a php upload form that uploaded my CGI files, where they worked properly afterwards.
I've created a form that uploads multiple files (html, cgi, and other text related).
After uploading the CGI, I have the script CHMOD the cgi as appropriate.
The facts are as follows:
1. The files upload and appear on the server.
2. The CGI file type variable reports as 'text/plain'.. the other files listed as 'text/html'.
3. Yet, when executing the CGI, I receive an Internal Server Error (just like as if the file was uploaded in binary).
4. Using WSFTP to upload this CGI (ASCII transfer) it works great
5. The other files (html, etc) work fine uploaded via the same PHP form or WSFTP
6. Perms & Ownership appear correctly for all files on this Linux box
Anyone have any ideas for me? Hoping this is something simple that I am overlooking...