Pink & Blue 182, JDM DC2
Spent ages on this today and a bit stuck.
I have a very simple formula
FORM - PROCESS PAGE - EXIT PAGE
After submitting the form, the process page runs and emails me the contents and then loads the exit page.
I want to stop the EXIT and PROCESS pages being accessed directly - i.e. by a URL being passed around in an email.
When you open the EXIT or PROCESS pages manually then it should load the FORM up instead.
I think I need to do something with HTTP_REFERER's etc... but am lost for the code.
Can someone come to my help? This is in PHP please.
Thanks
I have a very simple formula
FORM - PROCESS PAGE - EXIT PAGE
After submitting the form, the process page runs and emails me the contents and then loads the exit page.
I want to stop the EXIT and PROCESS pages being accessed directly - i.e. by a URL being passed around in an email.
When you open the EXIT or PROCESS pages manually then it should load the FORM up instead.
I think I need to do something with HTTP_REFERER's etc... but am lost for the code.
Can someone come to my help? This is in PHP please.
Thanks