blenc

Fatal error: blenc_compile: Module php_blenc was expired. Please buy a new license key or disable the module. in Unknown on line 0

隐身守侯 提交于 2019-12-23 05:32:09
问题 When i run blenc encrypted file it gives error: Fatal error: blenc_compile: Module php_blenc was expired. Please buy a new license key or disable the module. in Unknown on line 0 These Steps i'm followed for blenc usage: I installed latest version of blenc from blenc-1.1.4b in xampp then created a file encoder.php with content: $source_code = file_get_contents("testcode.php"); $redistributable_key = blenc_encrypt($source_code, "encrypt.php"); $key_file = ini_get('blenc.key_file'); file_put

Error validation the encoded script

大城市里の小女人 提交于 2019-12-08 04:05:33
问题 I'm trying this <?php /* read the PHP source code */ $source_code = file_get_contents("hello.php"); $source_code = preg_replace('#^<\?php\s+#', '', $source_code); $source_code = preg_replace('#\s+\?>\s*$#', '', $source_code); /* create the encrypted version */ $redistributable_key = blenc_encrypt($source_code, "encrypt.php", "my_fixed_password"); $key_file = __DIR__ ."\keys"; file_put_contents($key_file, $redistributable_key . "\n", FILE_APPEND); include 'encrypt.php'; echo $hello; ?> hello

Error validation the encoded script

孤人 提交于 2019-12-07 17:36:26
I'm trying this <?php /* read the PHP source code */ $source_code = file_get_contents("hello.php"); $source_code = preg_replace('#^<\?php\s+#', '', $source_code); $source_code = preg_replace('#\s+\?>\s*$#', '', $source_code); /* create the encrypted version */ $redistributable_key = blenc_encrypt($source_code, "encrypt.php", "my_fixed_password"); $key_file = __DIR__ ."\keys"; file_put_contents($key_file, $redistributable_key . "\n", FILE_APPEND); include 'encrypt.php'; echo $hello; ?> hello.php <?php $hello = "Ciao"; I got this error PHP Fatal error: blenc_compile: Validation of script