note 63667 added to function.base64-encode

From: Date: Tue, 28 Mar 2006 04:06:25 +0000
Subject: note 63667 added to function.base64-encode
Groups: php.notes 
Request: Send a blank email to php-notes+get-106797@lists.php.net to get a copy of this message
Just a minor tweak of massimo's functions. <? $data = str_replace(array('+','/','='),array('-','_','.'),$data); //replace '=' with '.' instead of with nothing, that way the process is reversible. '.' is uri-safe according to http://www.w3.org/Addressing/URL/5_URI_BNF.html ?> ---- Server IP: 64.71.164.2 Probable Submitter: 69.19.14.30 ---- X-Spam-Status: No, hits=3.1 required=5.0 tests=DATE_MISSING,FROM_NO_LOWER autolearn=no version=2.64 ---- Manual Page -- http://www.php.net/manual/en/function.base64-encode.php Edit -- http://master.php.net/note/edit/63667 Del: integrated -- http://master.php.net/note/delete/63667/integrated Del: useless -- http://master.php.net/note/delete/63667/useless Del: bad code -- http://master.php.net/note/delete/63667/bad+code Del: spam -- http://master.php.net/note/delete/63667/spam Del: non-english -- http://master.php.net/note/delete/63667/non-english Del: in docs -- http://master.php.net/note/delete/63667/in+docs Del: other reasons-- http://master.php.net/note/delete/63667 Reject -- http://master.php.net/note/reject/63667 Search -- http://master.php.net/manage/user-notes.php

« previous php.notes (#106797) next »