Search This Blog

Tuesday 29 January 2013

Auto Pre-pend a file when any file is accessed from the folder

Usually it helps to authenticate the user for the static website in a sub folder. You can include the check.php file on the server and write logic for authentication.

php_value auto_prepend_file "DOCUMENT_ROOT/check.php"

No comments:

Post a Comment