Trying to upload a file and keep getting this error
Method Not Allowed The requested method POST is not allowed for the URL /Admin/upload.inc.
using a simple upload script should wrok any advise???
TIA Richie TM
need to see some code to see what you do.
Ace21
Here's the code
$the_path = path;
// Set File Limitations $my_max_file_size = "204800"; $image_max_width = "640"; $image_max_height = "480";
// Copy file to $the_path if (copy($the_file, "$the_path")) { echo "File Uploaded Sucessfully"; } else { echo "Error: Upload Failed Contact Administrator"; } unlink ($the_file);
TIA
Is "upload.inc" the TARGET specified in the <FORM> tag?
If it is, then you have a problem. Web servers require forms to be processed by some type of application (script or cgi). It is probably the web server returning that error.
-- Rich