i have seen of developers use $name instead of $_get['name'] , $domain instead of $_post['domain'], shorthand php5 , safe or documentation it.
this works because they're using (ill-advised , thankfully deprecated) register_globals feature. (see php manual section on using register globals full low-down including security related information.)
i'd really recommend not using approach , explicitly using $_post or $_get variables instead, there's potential world of security issues await otherwise.
Comments
Post a Comment