base64 question

From: Date: Thu, 31 Aug 2000 01:03:41 +0000
Subject: base64 question
Groups: php.windows 
Request: Send a blank email to php-windows+get-2322@lists.php.net to get a copy of this message
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 *************************************************************

« previous php.windows (#2322) next »