PHP Classes

File: sample.php

Recommend this page to a friend!
  Classes of Dang Huy Khoi  >  k Encoder  >  sample.php  >  Download  
File: sample.php
Role: Example script
Content type: text/plain
Description: sample file
Class: k Encoder
Encode and decode text using custom algorithm
Author: By
Last change:
Date: 16 years ago
Size: 409 bytes


Class file image Download


/* <The simplest Eg>*/
//Encode a string
$EncodeCls = new k_Encoder('123','encode');
'123 => '.$EncodeCls->EncodedStr."<br/>";

//Decode a string (which is encoded by k_Encoder class)
$EncodeCls = new k_Encoder('!#/"&*-\'$7!+3)!%*".*$0#6"(3-*$9','decode');
'!#/"&*-\'$7!+3)!%*".*$0#6"(3-*$9 => '.$EncodeCls->DecodedStr."<br/>";
//* </The simplest Eg>*/


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