At 20:26 10.04.2002, Markus Fischer wrote: >On Wed, Apr 10, 2002 at 07:42:57PM +0200, Marcus Börger wrote : > > At 19:39 10.04.2002, Richard Heyes wrote: > > >> After (v)spprintf i have another modified function here: > > >base64url_(en|de)code > > > > > >You could simply use this: > > > > > >urlencode(base64_encode($blaat)); > > > > > > Sure but the the encoding result grows in length (dynamically) what i > > wanted to avoid :-) > > But modifying the way base64_encode() works is not the right > thing [tm].
It is not a replacement for base64 it is a new encoding function with some big similarities to base64. So i can do whatever i want with it. When i wanted it as a replacement for base64 in MIME i had to use the character ' instead of -. No more than the four characters -_'! fulllfill all named requirements. But ' is bad for program parameters and such and - is bad for MIME. marcus -- PHP Development Mailing List <http://www.php.net/> To unsubscribe, visit: http://www.php.net/unsub.php