PHP Classes

File: sample.php

Recommend this page to a friend!
  Classes of Filippo Toso   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: 18 years ago
Size: 578 bytes


Class file image Download
// 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);