this must be configuration issue and I'm hoping somebody can help. I'm setting up a new project on my localhost and my PHP Post is always empty. Here's the example:
My Form Page:
<form id="loginForm" action="/post/login" method="post">
<input type="text" name="username" />
<input type="password" name="password" />
<input type="submit" value="Submit" />
</form>
and the "/post/login/index.php" page:
<?php
var_dump( $_POST );
?>
the result:
array(0) { }
It seems like there's no code issue so what's the problem?
valueattributes to each of your<input>tags?action="/post/login/index.php"? Try using a debugger like Fiddler or Firebug to see if your POST is being sent.