PHP Classes

Base64 PHP File Encoder: Obfuscate PHP scripts encoding with base64

Recommend this page to a friend!
  Info   View files View files (5)   DownloadInstall with Composer Download .zip   Reputation   Support forum (4)   Blog    
Ratings Unique User Downloads Download Rankings
StarStarStar 55%Total: 3,061 All time: 1,187 This week: 560Up
Version License PHP version Categories
encoder 1.0Freely Distributable4.3Code Generation


This class can be used to obfuscate PHP scripts.

It reads a PHP script file, compresses its contents with gzip library, encodes its with the base64 algorithm. Then it generates a new PHP script that decodes and uncompresses the encoded data, and uses the eval function to execute the original script code.

Picture of Arsalan Emamjomehkashan
Name: Arsalan Emamjomehkashan <contact>
Classes: 1 package by
Country: United States United States
Age: ???
All time rank: 1050149 in United States United States
Week rank: 337 Up38 in United States United States Up


Coded By Arsalan Emamjomehkashan Version 1.0 Beta You can use this code anywhere you want Make sure your php file is plain php not php-html When you want to enter directories enter it like this "Test" not "/Test" nor "/Test/" After operation this will create a file named example.php.encoded and that is your encoded file

  Files folder image Files  
File Role Description
Plain text file Class Main class
Accessible without login Plain text file example.php Example this is a simple php file that we are going to use
Accessible without login Plain text file example.php.encoded Output Result of operation
Accessible without login Plain text file form.php Appl. Run the class
Accessible without login Plain text file Readme.txt Doc. Readme file

 Version Control Unique User Downloads Download Rankings  
This week:0
All time:1,187
This week:560Up
User Ratings User Comments (3)
 All time
has a place to be
1 year ago (pataskun)
The script does not work.
15 years ago (Powernet)
Well, i think it's a nice little script, but it's not really ...
16 years ago (tchibomann)