Closed mithat closed 9 years ago
It should be straight forward:
$_POST
Every ordinary "contact form in PHP" tutorial on the net should get you going.
It looks like I was falling victim to the behavior of PHP's built-in development server. I have the PHP form processing script in the root directory. When I try a submission with PHP's built-in server, I get 404. I just tested in an Apache-based environment, and it works as expected.
I suspect PHP's server assumes everything is routed through index.php
, even requests that end in .php
.
Ok. So I guess we can close this.
What's the recommended way to handle form processing (e.g. a contact form) in Phile? I've tried a few approaches but none have succeeded--though I'm not ruling out my own stupidity or the limitations of PHP's development server.