PDA

Bekijk Volledige Versie : Re: DB_eSession deleteSession() SQL injection



interact@interactimpact.com
06/05/06, 22:00
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);