BugTraq
Re: DB_eSession deleteSession() SQL injection May 01 2006 10:07PM
interact interactimpact com
I think the solution below is a better and safer approach.

replace addslashes() with mysql_real_escape_string()

$_sess_id_set = ( empty($_sess_id_set) ) ? NULL: mysql_real_escape_string($_sess_id_set);

[ reply ]


 

Privacy Statement
Copyright 2010, SecurityFocus