أنشئ حسابًا أو سجّل الدخول للانضمام إلى مجتمعك المهني.
in classic PHP htmlspecialchars is a good choise.
but its better to use codeigniter builtin security functions.
good luck
We better use regex in the fields
my best strategy is working with node.js and run it in my server