I would like to disallow users to access directly to a PHP script on my website.
This script should instead be accessed from other scripts on the website.
For example, "somepage.php" can call "upload.php", but users are not allowed to type "mywebsite.com/upload.php"mywebsite.com/upload.php. Unfortunately I can't move my script to a specific folder.
Thanks in advance.