[Download]
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.
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.