preventing direct access to a php page, only access if redirected
- by Ahmet vardar
Hi,
I want to make my php page just can be accessed by another page redirect, and want to prevent my user directly access to it.
i mean, lets say i have a page called "main.php" and other php file that i want to prevent direct access called "noaccess.php".
I want to make noaccess.php file accessible if i only redirect from main.php
any suggestion?
Thnx