note 31316 modified in function.base64-decode by vrana
| From: | vrana@php.net | Date: | Tue, 17 Aug 2004 14:52:37 +0000 |
| Subject: | note 31316 modified in function.base64-decode by vrana | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-79669@lists.php.net to get a copy of this message | ||
this script can correct the bug
<?php
$enc = chunk_split(preg_replace('!\015\012|\015|\012!','',$enc));
$enc = base64_decode($enc);
?>
--was--
this script can correct the bug
$enc = chunk_split(preg_replace('!\015\012|\015|\012!','',$enc));
$enc = base64_decode($enc);
http://php.net/manual/en/function.base64-decode.php