I tried using php://input in the following script but nothing is output
when I run it:
<form action="test.php" method="post">
<input type="text" value="demo" />
<input type="submit" />
</form>
<?php
$fp = fopen('php://input','r');
while (!feof($fp))
echo fgets($fp);
fclose($fp);
?>
Any ideas as to what's being done wrong?