我有一个testcode.PHP文件需要编码:
<?PHP $hello = "Hello World!"; ?>
<?PHP /* read the PHP source code */ $source_code = file_get_contents("testcode.PHP"); /* create the encrypted version */ $redistributable_key = blenc_encrypt($source_code,"encrypt.PHP"); /* read which is the key_file */ $key_file = ini_get('blenc.key_file'); /* save the redistributable key */ file_put_contents($key_file,$redistributable_key,FILE_APPEND); include 'encrypt.PHP'; echo $hello; ?>
Warning: blenc_compile: Validation of script ‘encrypt.PHP’ Failed.
MD5_FILE: 910e6a45f806ba3dc42830839971cb53
MD5_CALC: c38a6b2f389267a272ea656073a463ed in
C:\xampp\htdocs\PHPEncode\encode.PHP on line 14
和
Fatal error: blenc_compile: Validation of script ‘encrypt.PHP’ Failed,
cannot execute. in C:\xampp\htdocs\PHPEncode\encode.PHP on line 14
帮我解决一下,谢谢!