This example may or may not work depending on the setup of your php server.
If the example doesn't work try the following:
if ($HTTP_POST_VARS[submit]) {include "form_name.inc");}
else {echo "Please click on submit when finished";}
Change HTTP_POST_VARS to HTTP_GET_VARS if your method of form posting is GET.
Cheers