Referencing a php file from a form

I am creating a form on a Wordpress page and want to reference a php script. Where should I put the script?

at the place you are referencing it.

Sponsor our Newsletter | Privacy Policy | Terms of Service