Debugging PHP data in emails

My PHP scripts receive information (from a user-submitted form) and send it (almost) immediately in the form of email. What sainitization should I do on the data?

I want to know exactly which PHP function to use to sanitize data.

+3
source share
3 answers

You need to read the email. Look at here:

http://www.damonkohler.com/2008/12/email-injection.html

+2
source

See Filtering PHP Data . There are many built-in php functions that can be used to check and deactivate data.

+1
source

:

+1

All Articles