- Impact
- 9
Hello,
How can I print an error message if the user directly types a file in the url?
For example, I want to display a error message if the user types 'update.php' on the url but I want to be able to execute it by including it on other files ('include ("update.php")
Thanks in advance!
Regards
How can I print an error message if the user directly types a file in the url?
For example, I want to display a error message if the user types 'update.php' on the url but I want to be able to execute it by including it on other files ('include ("update.php")
Thanks in advance!
Regards