note 111053 deleted from function.base64-decode by danbrown
| From: | danbrown@php.net | Date: | Thu, 17 Jan 2013 15:16:47 +0000 |
| Subject: | note 111053 deleted from function.base64-decode by danbrown | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-193166@lists.php.net to get a copy of this message | ||
Note Submitter: jwzumwalt at neatinfo dot com
----
While helping my IP Provider to enable this I created a test php file from the simple example given
above.
</code>
<h2>Test Code For PHP base64_decode()</h2>
If the base 64 function works properly, you should<br>
see <i>"This is an encoded string"</i> printed out.<br>
<br>
You are attempting to run this code...
<div style="background-color:#def; width: 450px; margin-left:25px;">
<xmp>
error_reporting(E_ALL ^ E_NOTICE);
ini_set('display_errors', '1');
$str = 'VGhpcyBpcyBhbiBlbmNvZGVkIHN0cmluZw==';
echo base64_decode($str);
</xmp>
</div>
<?php
error_reporting(E_ALL ^ E_NOTICE);
ini_set('display_errors', '1');
$str = 'VGhpcyBpcyBhbiBlbmNvZGVkIHN0cmluZw==';
echo base64_decode($str);
?>
</code>