http PUT method not working
Posted by: Ajinder Singh (210.56.112.---)
Date: October 31, 2007 10:39AM

i use wamp latest version (1.7.3).

while working in it i found that its not supporting http PUT method.
may be there is some setting, which is to be changed. please do the needful and let me know, how to make http PUT method working.

the code below is behaving as if like a http GET method.
------------------------------------------------------------------------
<?php

if(isset($_REQUEST['txtName'])) {
echo "Form Submission method: ".$_SERVER['REQUEST_METHOD'];
}
else {
?>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML>
<HEAD>

<BODY>
<form method='PUT' name='frm' action=''>
<input type='text' name='txtName' value='' />
<input type='submit' />
</form>
</BODY>
</HTML>
<?php
}
?>
-------------------------------------------------------------------------------


Options: ReplyQuote


Sorry, only registered users may post in this forum.