09-19-2009, 09:13 PM
[eluser]asmedrano[/eluser]
I might be over thinking this.
Simple form...' mysite/form' ----> submits to ---- >'mysite/processform' (w/e)
Whats the best way to keep people from stumbling to that page mysite/processform should they have that inclination?
What do you guys/gals think about this:
? Any thoughts?
I might be over thinking this.
Simple form...' mysite/form' ----> submits to ---- >'mysite/processform' (w/e)
Whats the best way to keep people from stumbling to that page mysite/processform should they have that inclination?
What do you guys/gals think about this:
Code:
function processform ()
{
if($_SERVER['REQUEST_METHOD'] =='POST') {
//// do all form validation ect
}
else{
//// they came directly to this page for some reason so send user to another page.
}
}
? Any thoughts?