Welcome Guest, Not a member yet? Register   Sign In
Security issue
#5

[eluser]nebulom[/eluser]
I've added the
Code:
// escape single quotes and double quotes
           $str = str_replace("'", "''", $str);
after the
Code:
function escape_str($str, $like = FALSE)
    {
        if (is_array($str))
        { ...
in oci8 driver and it works. Hopefully this solves it. Anyone has a better idea? Thanks a lot.


Messages In This Thread
Security issue - by El Forum - 11-24-2009, 01:33 AM
Security issue - by El Forum - 11-24-2009, 01:56 AM
Security issue - by El Forum - 11-24-2009, 02:16 AM
Security issue - by El Forum - 11-24-2009, 02:23 AM
Security issue - by El Forum - 11-25-2009, 10:07 PM



Theme © iAndrew 2016 - Forum software by © MyBB