Welcome Guest, Not a member yet? Register   Sign In
Display data securely which come from database
#1

For a query with
PHP Code:
$this->db->query($sql, array( $var )); 
 superglobals must be bind when using. But is it safe in CodeIgniter when I read data from the database and then display them? I usually do that with htmlspecialchars() , how do I handle it as now in Codeigniter?
Reply


Messages In This Thread
Display data securely which come from database - by smallbug - 04-12-2015, 12:49 PM



Theme © iAndrew 2016 - Forum software by © MyBB