<?php
//http://stackoverflow.com/questions/9361303/can-i-get-the-unicode-value-of-a-character-or-vise-versa-with-php
function unichr($o) {
}
function sanitize($str)
{
}
//String made up of all the escaped characters:
$str = unichr(0) . unichr(10) . unichr(13) . unichr(26) . unichr(34) . unichr(39) . unichr(92);
echo $str . "\n";
$sql = "SELECT '" . sanitize($str) . "'";
echo $sql;
?>
PD9waHAKLy9odHRwOi8vc3RhY2tvdmVyZmxvdy5jb20vcXVlc3Rpb25zLzkzNjEzMDMvY2FuLWktZ2V0LXRoZS11bmljb2RlLXZhbHVlLW9mLWEtY2hhcmFjdGVyLW9yLXZpc2UtdmVyc2Etd2l0aC1waHAKZnVuY3Rpb24gdW5pY2hyKCRvKSB7CiAgIAlyZXR1cm4gbWJfY29udmVydF9lbmNvZGluZygnJiMnLmludHZhbCgkbykuJzsnLCAnVVRGLTgnLCAnSFRNTC1FTlRJVElFUycpOwp9CmZ1bmN0aW9uIHNhbml0aXplKCRzdHIpCnsKICAgIHJldHVybiBzdHJfcmVwbGFjZShhcnJheSgiXFwiLCAiJyIsICJcciIsICJcbiIpLCBhcnJheSgiXFxcXCIsICJcXCciLCAnJywgJycpLCAkc3RyKTsKfQovL1N0cmluZyBtYWRlIHVwIG9mIGFsbCB0aGUgZXNjYXBlZCBjaGFyYWN0ZXJzOgokc3RyID0gdW5pY2hyKDApIC4gdW5pY2hyKDEwKSAuIHVuaWNocigxMykgLiB1bmljaHIoMjYpIC4gdW5pY2hyKDM0KSAuIHVuaWNocigzOSkgLiB1bmljaHIoOTIpOwplY2hvICRzdHIgLiAgIlxuIjsKJHNxbCA9ICJTRUxFQ1QgJyIgLiBzYW5pdGl6ZSgkc3RyKSAuICInIjsKZWNobyAkc3FsOwo/Pg==