Log in

View Full Version : Is this correct for vB 3.5?


Boofo
10-12-2005, 07:26 PM
Can anyone please tell me if this is correct for vB 3.5 now? It is code from a hack for vB 3.0 that I have updated but it still seems to be giving me fits.

AND INSTR(LCASE(name),'".$vbulletin->db->escape_string(strtolower(htmlspecialchars($aname)) )."')>0";

Andreas
10-12-2005, 07:34 PM
htmlspecialchars() might be a problem.
but otherwise if seems fine at first look.

Boofo
10-12-2005, 07:39 PM
Yeah, that's what I was wondering about, the htmlspecialchars() part.