PHP Classes
elePHPant
Icontem

File: example.php

Recommend this page to a friend!
  Classes of Haseeb Ahmad Basil  >  PHP Base64 Encode and Decode  >  example.php  >  Download  
File: example.php
Role: Example script
Content type: text/plain
Description: Example File
Class: PHP Base64 Encode and Decode
Encode and decode data in base64 in pure PHP
Author: By
Last change: first commit
Date: 3 years ago
Size: 123 bytes
 

 

Contents

Class file image Download
<?php
include 'base64.php';

$bs64 = new Base64;
var_dump($bs64->decode("dGVzdA=="));
var_dump($bs64->encode("test"));

?>