Re: [PHP-DEV] modified base64

2002-04-10 Thread Markus Fischer
I'm not convinced yet another function needs to be added for that purpose as this could easily enough done in userspace. On Wed, Apr 10, 2002 at 11:38:54PM +0200, Marcus Börger wrote : > new functionality > > if you like it better i could call id url64_encode/decode > > marcus > > At

Re: [PHP-DEV] modified base64

2002-04-10 Thread Marcus Börger
new functionality if you like it better i could call id url64_encode/decode marcus At 23:35 10.04.2002, Markus Fischer wrote: > Yet it's not clear at least to me if you're talking about > _modifying_ an existing functionality OR adding a new > function. > >On Wed, Apr 10, 2002 at 10

Re: [PHP-DEV] modified base64

2002-04-10 Thread Markus Fischer
Yet it's not clear at least to me if you're talking about _modifying_ an existing functionality OR adding a new function. On Wed, Apr 10, 2002 at 10:59:14PM +0200, Marcus Börger wrote : > At 20:26 10.04.2002, Markus Fischer wrote: > >On Wed, Apr 10, 2002 at 07:42:57PM +0200, Marcus B

Re: [PHP-DEV] modified base64

2002-04-10 Thread Marcus Börger
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: > > > > > >urle

Re: [PHP-DEV] modified base64

2002-04-10 Thread Markus Fischer
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 en

RE: [PHP-DEV] modified base64

2002-04-10 Thread Marcus Börger
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 :-) marcus --

RE: [PHP-DEV] modified base64

2002-04-10 Thread Richard Heyes
> After (v)spprintf i have another modified function here: base64url_(en|de)code You could simply use this: urlencode(base64_encode($blaat)); -- Richard Heyes "If you have any trouble sounding condescending, find a Unix user to show you how it's done." - Scott Adams -- PHP Development Mailin

[PHP-DEV] modified base64

2002-04-10 Thread Marcus Boerger
After (v)spprintf i have another modified function here: base64url_(en|de)code I sometimes transmit binary data or thinks like session ids over http. when using base64 the problem is in the chars '+', '/' and '='. So i changed base64 to use '-', '_' and '!' instead. After this change no modifica