Forums

PHP

This topic is locked

redirect if reffering page isn't..

Posted 06 Sep 2011 10:37:50
1
has voted
06 Sep 2011 10:37:50 shadoiqw kolo posted:
This is probably a simple one...

I've got a php page which contains a form, I only want this form to be accessed if users have come from page1.php or page2.php, if they havn't come from these pages I want them to be redirected to page3.php.

Any ideas?

Thanks

Reply to this topic