The topic may be ambiguos so in details:
I have page2.php to which I'm submiting my form from the page1.php.
Now what I would like to know is:
What is the best ( most efficient way ) to check whether the page that submits the data to my page2.php is from the same server ( do I use localhost or maybe for ex. abcdefg.net ) and from the particular directory and specific page/file name?
I need this because I use this submit ( dock ) page with several forms, and input types, names, number of fields vary...
Thanks Ahead !
Check the domain on which the form is - before sending
Moderator: General Moderators
- John Cartwright
- Site Admin
- Posts: 11470
- Joined: Tue Dec 23, 2003 2:10 am
- Location: Toronto
- Contact: