The Code-Bin
Check for <Form> Post
Posted by: Stephen | February 23, 2007 @ 2:56pm

PHP Code



Syntax Highlighting





Author Comments
This is a simple script snippet that will check if a form has been submitted to this PHP script.

Note: If the checkbox is NOT checked (or there are no form fields) and the submit button has a blank or non-existent name attribute, the test will say the post variable is not set.
Rating


4.57 / 8
295 Votes