====== Quick blenc script ====== **Download:** [[http://snaps.php.net/win32/PECL_5_0/php_blenc.dll|php_blenc.dll for PHP 5.0]] **Home Page:** [[http://www.coggeshall.org/oss/blenc/]] **Test script : ** */ $key_file= getcwd()."\blenc_keys_test.dat"; ini_set('blenc.key_file', $key_file); $file= 'test.php'; $encoded= $file.'.enc'; $script= file_get_contents($file); $key= blenc_encrypt($script, $encoded); file_put_contents($key_file, $key."\n"); echo "Try to execute ...\n"; system("php -d blenc.key_file=$key_file $encoded"); unlink($encoded); unlink($key_file); ?>