Ok, I think I have it. I just want to confirm.
I created a new template and assigned it to a different page (test2).
I then added the line above to include connect.php in the custom page that I assigned to test2..
My form’s action (on test1) is now to link to the newly created page (test2) and when it does, connect.php runs
Is this the right way to do it?