Login   Register  
PHP Classes
elePHPant
Icontem

File: sample.php

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Classes of Setec Astronomy  >  PHP Trasher  >  sample.php  >  Download  
File: sample.php
Role: Example script
Content type: text/plain
Description: Sample file
Class: PHP Trasher
Obfuscate PHP source code.
Author: By
Last change:
Date: 10 years ago
Size: 578 bytes
 

Contents

Class file image Download
<?php 
// include the phptrasher class
require_once ('phptrasher.class.php');
// create a new object 
$phptrasher = new phptrasher ();
// initialize the class
$phptrasher->initialize ();
// setup the class
$phptrasher->removecomments true;
$phptrasher->removelinebreaks true;
$phptrasher->obfuscateclass true;
$phptrasher->obfuscatefunction true;
$phptrasher->obfuscatevariable true;
// get the obfuscated code
$obfuscated $phptrasher->trash ('phptrasher.class.php');
// print the formatted code in a beautiful way
highlight_string ($obfuscated);
?>