note 111053 added to function.base64-decode
| From: | jwzumwalt at neatinfo dot com | Date: | Thu, 10 Jan 2013 03:58:46 +0000 |
| Subject: | note 111053 added to function.base64-decode | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-192868@lists.php.net to get a copy of this message | ||
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>
----
Server IP: 69.147.83.199
Probable Submitter: 174.126.110.213
----
Manual Page -- http://php.net/manual/en/function.base64-decode.php
Edit -- https://master.php.net/note/edit/111053
Del: integrated -- https://master.php.net/note/delete/111053/integrated
Del: useless -- https://master.php.net/note/delete/111053/useless
Del: bad code -- https://master.php.net/note/delete/111053/bad+code
Del: spam -- https://master.php.net/note/delete/111053/spam
Del: non-english -- https://master.php.net/note/delete/111053/non-english
Del: in docs -- https://master.php.net/note/delete/111053/in+docs
Del: other reasons-- https://master.php.net/note/delete/111053
Reject -- https://master.php.net/note/reject/111053
Search -- https://master.php.net/manage/user-notes.php