Doc #73339 [Com]: unable

From: Date: Thu, 12 Jan 2017 21:43:00 +0000
Subject: Doc #73339 [Com]: unable
References: 1  Groups: php.doc.bugs 
Request: Send a blank email to doc-bugs+get-14331@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=73339&edit=1 ID: 73339 Comment by: acuna dot personal at gmail dot com Reported by: valid at 3mail dot adress Summary: unable Status: Suspended Type: Documentation Problem Package: BLENC Operating System: win7 PHP Version: Next Major Version Block user comment: N Private report: N New Comment: Hello! Sorry for my long answer. The extension is working as well. There's not completed example on php.net. You MUST NOT change the redist key for compile files, because BLENC it's not supported several keys in the key file. Pay attention on these steps: 1. Be sure that blenc.key_file have a CORRECT path to the BLENC key file. It might be something like this: blenc.key_file="C:\PHP\blenc.key_file" It's not needed to create this file by yourself, just specify the folder which must be allowed to write to it. 2. In BLENC key write action your must specify the blenc.key_file option which you specify on first step via init_get (). Here's working and 100% tested example: $content = blenc_encrypt ('file_input.php', 'file_encoded.phpc', md5 ('salt_string')); file_put_contents (ini_get ('blenc.key_file'), $content); Hopes it helps! Cheers, Acuna. Previous Comments: ------------------------------------------------------------------------ [2017-01-10 08:32:53] kalle@php.net I'm suspending the reports for BLENC as it doesn't seem to have stalled (looking at both repositories I could find on git.php.net and github) and it does not seem compatible with any currently supported version of PHP either. Please unsuspend in case someone takes over this extension ------------------------------------------------------------------------ [2016-12-10 05:09:58] acuna dot personal at gmail dot com What message do you have? ------------------------------------------------------------------------ [2016-10-18 15:47:30] valid at 3mail dot adress Description: ------------ irhere a not work 3 param. i mean that i cant correct encrypt my file with code (was haven) Test script: --------------- for ex $redistributable_key = blenc_encrypt($source_code, "my_source_encoded.php",'code;); 4 2 $redistributable_key = blenc_encrypt($source_code, "my_source_encoded.php",file_get_contents(ini_get('blenc.key_file'))); or $redistributable_key = blenc_encrypt($source_code, "my_source_encoded.php",ini_get('blenc.key_file')); and its not parse err. i mean that imosible rncrypt file with haven code or u must correct example 4 encode + decode ------------------------------------------------------------------------ -- Edit this bug report at https://bugs.php.net/bug.php?id=73339&edit=1

« previous php.doc.bugs (#14331) next »