/downloads/
secret-file.pdf
download.php
check_login.php
Secure. Simple. Server-side.
PHP LockIt is a lightweight yet powerful PHP encoding and license enforcement system that prevents unauthorized copying, sharing, or running of your PHP applications on unapproved domains. php lockit download
require_once 'lockit.php';// Lock script to a specific domain LockIt::domain('yourdomain.com')->validate(); /downloads/ secret-file
// Or use license key if (LockIt::license('ABCD-1234-WXYZ')->isValid()) // Run your protected codeSecure
This occurs if you used an encoder version that is incompatible with your PHP version. For example, encoding a file with PHP 5.2 Lockit and running it on PHP 5.6 will fail because the Zend Engine changed.
Sometimes you don't want to download Lockit to encode; you want to download it to decode legacy code. If you have lost the original source code, you have two options: