View Single Post
  #6 (permalink)  
Old June 3rd, 2009, 09:14 AM
langithitam langithitam is offline
Registered User
Points: 23, Level: 1
Points: 23, Level: 1 Points: 23, Level: 1 Points: 23, Level: 1
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: May 2009
Posts: 7
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Quote:
Originally Posted by myerman View Post
a file called MY_security_helper.php in /system/application/helpers folder?
Yes i do. And this is the file :

Quote:
Yes i do. this is the file :

<?php
function id_clean($id,$size=11){
return intval(substr($id,0,$size));
}

function db_clean($string,$size=255){
return xss_clean(substr($string,0,$size));
}
?>
Reply With Quote