Jump to content

sanitizing mail() inputs


horseatingweeds

Recommended Posts

I'm trying to sanitizes some user inputs to a mail() function. I've experimented and can add emails by just putting a , between them. I've read a bout more elaborate hacks using breaks like \r\n and adding header info, but I haven't managed to figure out how on my own. One thing I'm having trouble grasping is what all I need to do to the inputs before they're reasonably safe.

 

Can anyone clear this up for me?

Link to comment
https://forums.phpfreaks.com/topic/93926-sanitizing-mail-inputs/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.