note 43502 modified in function.base64-encode by vrana
| From: | vrana@php.net | Date: | Tue, 17 Aug 2004 14:52:41 +0000 |
| Subject: | note 43502 modified in function.base64-encode by vrana | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-79685@lists.php.net to get a copy of this message | ||
Be more efficent to just use:
<?php
function base64clean($base64string)
{
$base64string =
str_replace(array('=','+','/'),'',$base64string);
return $base64string;
}
?>
--was--
Be more efficent to just use:
function base64clean($base64string)
{
$base64string =
str_replace(array('=','+','/'),'',$base64string);
return $base64string;
}
http://php.net/manual/en/function.base64-encode.php