|
BugTraq
Lot of SQL injection on PHP-Nuke 6.5 (secure weblog!) May 12 2003 05:11PM Albert Puigsech Galicia (ripe 7a69ezine org) (1 replies) Re: Lot of SQL injection on PHP-Nuke 6.5 (secure weblog!) May 12 2003 10:22PM Rynho Zeros Web (hackargentino gmx net) (1 replies) |
|
Privacy Statement |
> if(!isset($cid) || $cid == NULL || $cid == "" || !is_numeric ($cid))
> {
> echo "I don't like you >:|";
> exit();
> }
you know that $cid == NULL equals $cid == ""? (int)0, too btw.
either check $cid == '' (what is 0 & NULL, too)
or $cid === NULL || $cid === '',
or empty($cid)
Mit freundlichen Gruessen / Kind regards
--
Benjamin Schulz
There are 10 types of people: those who understand binary and
those who don't.
[ reply ]