Doug’s Blog

Handily dispensing information to .00000001% of the world’s population

PHP is unable to retrieve information via $_POST on my localhost but $_GET works

I encountered this odd problem where FORM POSTs would not work! Other peoples comments on this were along the lines of server misconfiguration, which is sort of true — the reason for me was that I had some rewrite rules so I could leave .php extensions off the path — and I had forgotten to put ACTION in the form to leave off the extension!

Once I fixed that it all worked.

Tags:

Leave a Reply