Script about PHP encrypting code


Not much known about PHP encryption particularly relating to obfuscating the script to add extra layer of security. Precisely some tools can be achieved to do that like one of the tools I developed: Encrypt PHP code

The details will be discussed in my DevShed article. However the breakdown of the processes are as follows:

Step 1: Enter PHP code in the Text area form.
Step 2: Some minor cleaning of data entry (like putting stripslashes and removing unnecessary spaces).
Step 3: Compress the PHP code using gzdeflate function.
Step 4: Encode the compressed result with base64_encode
Step 5: Display the code the browser using eval(gzinflate(base64_decode(‘This is the encrypted code’))).

If you need details, search in Google for my DevShed tutorial on Encrypting PHP code. You can download the PHP code here: PHP encryption code.



Related posts: