PHP Problem:Post Method is not working.Why?

mina S

New member
First i had a problem with Phpmyadmin yesterday.It wouldn't log in.But it would for the last 6 months.When i'm trying to log in, It shows me the same login page without any error. So i tested everything till i found out that the problem is with the Post Method.It doesn't send any data anymore.I created a page for test:
<form method="post" enctype="multipart/form-data" action="test.php">
<input name="ee" id="user" type="text" /><input name="Submit1" type="submit" value="submit" /></form>

and on test.php:
<?php
echo $_POST['ee'];
?>
This shows me NOTHING.The Post Method is not working(But GET Method Works). I even checked my system for virus and changed my windows.Not working.
I'm using IIS 5 and PHP 5.Please help me.
 
start by testing post altogether.

when the page is submitted, use...

<?
print_r($_POST);
?>

and see what the outcome is.

Also, simplify your form.

<form name="test" action="test.php" method="post">
<input type="text" name="ee">
<input type="submit" name="submit" value="submit">
</form>

See if that still doesn't work

Also, post your php.ini file here.
 
Back
Top