OT: Decrypting PHP preg_replace Strings

Andre Garzia andre at andregarzia.com
Mon Dec 26 10:55:12 EST 2011


On Mon, Dec 26, 2011 at 1:40 PM, Richard Gaskin
<ambassador at fourthworld.com>wrote:

> For example, SQL injection is a common vulnerability, and PHP provides a
> function to sanitize data going into the DB.  Any of you have a similar
> LiveCode function to sanitize data?


For some years, I've requested the exposure of mysql_real_escape_string()
function from dbmysql database driver. The function is already there in the
libraries that LiveCode is linked to but it is not exposed to us. This
function correctly escapes a string so that the content can't be used for
injection.

http://quality.runrev.com/show_bug.cgi?id=9932

You guys can vote for the enhancement here. This would benefit
LiveCodeServer, Desktop and Mobile.

-- 
http://www.andregarzia.com -- All We Do Is Code.
http://fon.nu -- minimalist url shortening service.



More information about the use-livecode mailing list