Newbie Spellweaver
- Joined
- Jan 14, 2020
- Messages
- 15
- Reaction score
- 1
Re: No more selling! ^_^
####################################
[h=1]eregi[/h](PHP 4, PHP 5)
eregi — Case insensitive regular expression match
WarningThis function was DEPRECATED in PHP 5.3.0, and REMOVED in PHP 7.0.0.
Alternatives to this function include:
############################
need to look inside file and change eregi() .
PHP:
function protect($var) { $banlist = array("insert", "select", "update", "delete", ";", "'", "+", "--", "/", "|", ":", "=", "%", "(", ")", "distinct", "having", "truncate", "replace","handler", "like", " as ", "or ", "procedure", "limit", "order by", "group by", "asc", "union", "desc", "'", "union all"); if (eregi("[a-zA-Z0-9]+", $var)) { $texto = trim(str_replace($banlist,'', strtolower($var))); } return $texto;}
####################################
[h=1]eregi[/h](PHP 4, PHP 5)
eregi — Case insensitive regular expression match
WarningThis function was DEPRECATED in PHP 5.3.0, and REMOVED in PHP 7.0.0.
Alternatives to this function include:
-
You must be registered to see links(with the i (PCRE_CASELESS) modifier)
############################
need to look inside file and change eregi() .