- Markus Breitenbach - http://blog.markus-breitenbach.com -
Safe Strings in PHP (2)
Posted By Markus On July 1, 2007 4:38 pm @ 4:38 pm (July 1, 2007) In Coding / Programming, Security | 1 Comment
I wrote about the problems with PHP strings [1] here and the possible solution I liked using a class encapsulating strings in PHP. I now worked out some details to make every string function in PHP work with the new “SafeString”-class. You can find the [2] details and source here. This is still more a proof-of-concept and for all practical purposes would require the re-writing of a couple of things like database abstraction layers and such to return SafeStrings as well.
Article printed from Markus Breitenbach: http://blog.markus-breitenbach.com
URL to article: http://blog.markus-breitenbach.com/2007/07/01/safe-strings-in-php-2/
URLs in this post:
[1] here: http://blog.markus-breitenbach.com/2007/05/07/safe-strings-in-php/
[2] details and source here: http://markus-breitenbach.com/safestring.php
Click here to print.