Welcome Guest, Not a member yet? Register   Sign In
CodeIgniter 4 - Insert HTML from CKEditor to Database?
#3

(11-11-2020, 07:42 AM)InsiteFX Wrote: Run your code through one of these htmlspecialchars or htmlentities also use CI esc() method.

Thank you for your reply.
Does the model automatically escape_string before insert in DB? Functions htmlspecialchars / htmentities or esc() are output functions, so I don't need to secure CKEditor output before insert in db? (I mean SQL Injection - functions writed by you in previous post help with secure from XSS). All my script work on CodeIgniter Model.


Thank you, have a nice day
Reply


Messages In This Thread
RE: CodeIgniter 4 - Insert HTML from CKEditor to Database? - by crazze - 11-11-2020, 08:14 AM



Theme © iAndrew 2016 - Forum software by © MyBB