deny

A collection of 1 post

Deny direct access to php files

php deny direct Access

If you have a contact form or any other form that communicates with a php file in order to send you an email etc, but you don't want that php file to be accessible directly, then the below code snippet will prevent pesky hackers