PHP Classes

File: example.php

Recommend this page to a friend!
  Classes of Er. Rochak Chauhan  >  PHP Obfuscator  >  example.php  >  Download  
File: example.php
Role: Example script
Content type: text/plain
Description: Example Script
Class: PHP Obfuscator
Obfuscate PHP as base64 encoded strings
Author: By
Last change:
Date: 13 years ago
Size: 423 bytes
 

Contents

Class file image Download
<?php
include_once("PhpObfuscator.inc.php");

$fileName="info.php";

$obfuscator=new PhpObfuscator();
$obfuscatedFile=$obfuscator->obfuscate($fileName);

//debug mode
if($obfuscator->hasErrors()){
   
$errors=$obfuscator->getAllErrors();
    echo
"<pre>";
   
print_r($errors);
}
else {
    print(
"<p><u>$fileName</u> was successfully obfuscated as <a href='$obfuscatedFile'><strong>$obfuscatedFile</strong></a></p>");
}
?>

For more information send a message to info at phpclasses dot org.