Hi, am trying to improve my web skills. I have put a samll site on to test uplaoding via php. This is to test for valid file types etc. in my web page I have a form
<form enctype="multipart/form-data" action="picfiletransport3.php" method="post">
<input type="hidden" name="MAX_FILE_SIZE" value="10000000" />
Choose a file to upload: <input name="uploaded_file" type="file" />
<input type="submit" value="Upload" />
</form>
whenever I click the submit button I get this
Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.
Please contact the server administrator, webmaster@dps.x10hosting.com and inform them of the time the error occurred, and anything you might have done that may have caused the error.
More information about this error may be available in the server error log.
Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.
If I remove the multipart/form-data part of the code it works fine (as in it executes the php code.
Can anyone tell me what i am doing wrong?
Cheers
<form enctype="multipart/form-data" action="picfiletransport3.php" method="post">
<input type="hidden" name="MAX_FILE_SIZE" value="10000000" />
Choose a file to upload: <input name="uploaded_file" type="file" />
<input type="submit" value="Upload" />
</form>
whenever I click the submit button I get this
Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.
Please contact the server administrator, webmaster@dps.x10hosting.com and inform them of the time the error occurred, and anything you might have done that may have caused the error.
More information about this error may be available in the server error log.
Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.
If I remove the multipart/form-data part of the code it works fine (as in it executes the php code.
Can anyone tell me what i am doing wrong?
Cheers