Peppy wrote:
AJ,
So what your reply means is that I should not have a new line character in
any variable on my page???
Of course you can have newlines in your email message, just make sure
that any user input is received through POST, and that you run a regular
expression to validate that
AJ,
So what your reply means is that I should not have a new line character in any
variable on my page???
Then is there any way to format the email so it is readable?
Thanks.
I have been working on making my contact forms more secure. In my research,
the occurence of the new line character \n at the end of the $headers variable
in the mail function seems to be a security risk and opens one up to injection
of spam email. This part I understand. I have been unable
3 matches
Mail list logo