PHP - Web to Mail
Posted: Wed Jul 13, 2011 2:42 pm
I have a contact form that visitors fill out. The form takes the contents and submits it to my email as a message.
Do I need to put addslashes() in front of each value ? I thought addslashes() was only for enterting into a database but I see other sites using addslashes() so I wanted to get some input.
Reason I ask, it'll be annoying to see / in front of ' and " when reading a message.
Do I need to put addslashes() in front of each value ? I thought addslashes() was only for enterting into a database but I see other sites using addslashes() so I wanted to get some input.
Reason I ask, it'll be annoying to see / in front of ' and " when reading a message.