Re: base64 question
| From: | Rouvas Stathis | Date: | Thu, 31 Aug 2000 09:58:29 +0000 |
| Subject: | Re: base64 question | ||
| References: | 1 | Groups: | php.windows |
| Request: | Send a blank email to php-windows+get-2336@lists.php.net to get a copy of this message | ||
yes it is.
Check <ftp://ftp.ntua.gr/pub/docs/rfc/20xx/2045>,
section 6.8, pp.23-24
-Stathis.
Dimitri Smits wrote:
>
> hi all,
>
> in what range can the characters of a string returned by base64_encode
> lie? is it [0->9] & [A->Z] & [a->z] & { /, + }? or is more?
>
> what I actually want to say is:
> can I use such a string SAFELY in a statement like this:
> mysql_query("insert ... data='$base64encodedstring'", $db);
>
> i.e. use it in between '' safely when I don't know if escaping is
> needed? or do I need to escape certain chars out, and which are still
> available for escaping-chars?
>
> --
> Hoogachtend,
> Dimitri Smits,
> Praeses WINAK 1999-2000
>
> *************************************************************
> Winak HomePage: http://www.winak.cx
> Green HomePage: http://chaos.concepts.nl/~green
> e-mail: gongo@vt4.net
> *************************************************************
>
> --
> PHP Windows Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: php-windows-unsubscribe@lists.php.net
> For additional commands, e-mail: php-windows-help@lists.php.net
> To contact the list administrators, e-mail: php-list-admin@lists.php.net