I've created a website where the end user is uploading files to the site through an online form application. The site was originally created on our server and everything worked fine, including the file upload.
This is one weird instance where I do not have access to the clients web server. I have made the files available for download where the clients tech guys take them and upload them to their server.
Once this was done, the file upload page no longer works, and it generates an error message that I have never seen before. Doing some research, suggestions I have seen for fixing the problem is giving the form and ID and name, but those were already there. I am totally stumped.
The error message I get is:
The page cannot be displayed
The page you are looking for cannot be displayed because an invalid method (HTTP verb) was used to attempt access.
Please try the following: - Contact the Web site administrator if you believe that this request should be allowed.
- Make sure that the Web site address displayed in the address bar of your browser is spelled and formatted correctly.
HTTP Error 405 - The HTTP verb used to access this page is not allowed.
Internet Information Services (IIS)
Technical Information (for support personnel) - Go to Microsoft Product Support Services and perform a title search for the words HTTP and 405.
- Open IIS Help, which is accessible in IIS Manager (inetmgr), and search for topics titled Setting Application Mappings, Securing Your Site with Web Site Permissions, and About Custom Error Messages.
The following is the code used to create the file upload page:
HTML Code:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>Calumet Testing Services :: File Upload</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<link href="styles.css" rel="stylesheet" type="text/css" />
<script type="text/javascript">
<!--
function authPass(u,p) {
if (u && p) self.location = "auth.html?" + u + p;
return false;
}
// -->
</script>
</head>
<body>
<div class="container">
<div class="login">
</div><!-- CLOSES LOGIN -->
<div class="header">
</div><!-- CLOSES HEADER -->
<div class="nav">
<ul id="menu">
<li id="nav_home"><a href="index.html" target="_self" title="Home">Home</a></li>
<li id="nav_about"><a href="about.html" target="_self" title="About">About</a></li>
<li id="nav_services"><a href="services.html" target="_self" title="Services">Services</a></li>
<li id="nav_employment"><a href="employment.html" target="_self" title="Employment">Employment</a></li>
<li id="nav_contact"><a href="contact.html" target="_self" title="Contact">Contact</a></li>
</ul>
</div><!-- CLOSES NAV -->
<div class="main">
<div class="image1">
<img style="display:block" src="images/photo1.jpg">
</div><!-- CLOSES IMAGE1 -->
<div class="image2">
<img style="display:block" src="images/photo2.jpg">
</div><!-- CLOSES IMAGE2 -->
<div class="title">
<img src="images/upload_title.png">
</div><!-- CLOSES TITLE -->
<div class="content">
<br>
<form enctype="multipart/form-data" action="uploader.php" method="POST" name="form1" id="form1">
<input type="hidden" name="MAX_FILE_SIZE" value="100000" />
Choose a file to upload: <input name="uploadedfile" type="file" /><br />
<input type="submit" value="Upload File" />
</form>
<!-- CLOSES CONTENT -->
</div><!-- CLOSES MAIN -->
<div class="footer">
<table width=100%>
<tr><td width=30%>
<a class="footer" href="javascript:;" onClick="window.open('terms.html','terms','scrollbars=yes, width=450,height=500,left=50,top=50');">Terms & Conditions</a>
</td><td width="40%">
<center>
© 2009 Calumet Testing Services. All Rights Reserved.
</center>
</td><td width="30%" align="right">
Designed By: <a class="footer" href="http://www.creativityforhire.com" target="_new">Creative Graphic Solutions</a>
</td></tr>
</table>
</div><!-- CLOSES FOOTER -->
<div class="end">
</div><!-- CLOSES END -->
</div><!-- CLOSES CONTAINER -->
</body>
</html>
Any help would be greatly appreciated!
|