dbeckerton Posted November 26, 2011 Share Posted November 26, 2011 Deprecated: Function sql_regcase() is deprecated in /home/cripple/public_html/globals.php on line 38 code: $val = preg_replace(sql_regcase("/(from|select|insert|delete|where|drop table|show tables|#|\*|--|\\\\)/"),"",$val); Quote Link to comment Share on other sites More sharing options...
rulerofzu Posted November 26, 2011 Share Posted November 26, 2011 Try searching online perhaps maybe even trying to resolve the problem you have instead of immediately posting "please help" http://php.net/manual/en/function.sql-regcase.php Found in less than 5 secs using the internet and a website called google! Quote Link to comment Share on other sites More sharing options...
dbeckerton Posted November 26, 2011 Author Share Posted November 26, 2011 i Have looked but every time i do it it says there is an error Quote Link to comment Share on other sites More sharing options...
Neon Posted November 26, 2011 Share Posted November 26, 2011 Thats cause its deprecated. If your trying to clean sql queries, then just use preg. Or make a wrapper so that you don't have to worry about passing full queries and cleaning them. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.