So I have a very basic form that is sending data to a new page but nothing is coming over. I was messing with the PHP.ini file at one point which I suspected to be the issue so I grabbed a copy of default values online but it still isn't working. I'm running PHP version 5.6.15 using XAMPP. I'm wondering if anyone has any ideas as to what might be the issue. For clarity, here's the files:
index.php:
<!DOCTYPE html>
<html>
<body>
<form action="stuff.php" method="POST">
Type:
<input type="text" name="things" id="things" />
<button type="submit" name="submit">Submit</button>
</form>
</body>
</html>
stuff.php:
<?php
var_dump($_POST);
?>
All that shows up is:
array(0) { }
Request
Content-Type: application/x-www-form-urlencoded Content-Length: 20 things=asdsa&submit=