RE: [PHP-WIN] base64 question
| From: | Ignatius Teo | Date: | Thu, 31 Aug 2000 03:20:56 +0000 |
| Subject: | RE: [PHP-WIN] base64 question | ||
| References: | 1 | Groups: | php.windows |
| Request: | Send a blank email to php-windows+get-2325@lists.php.net to get a copy of this message | ||
No, you don't need to escape a base64 encoded string.
Ignatius
> -----Original Message-----
> From: Dimitri Smits [mailto:gongo@vt4.net]
> Sent: Thursday, 31 August 2000 12:04
> To: php-windows@lists.php.net
> Subject: [PHP-WIN] base64 question
>
>
> 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
>