[Q] mail() & security

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I wanted to setup a good 'contact me' page on my website. I do not want to reveal my e-mail address, so I was going to use a form.

The PHP script with the actual mail() function would define the To and Subject parameters, so these could not be faked.

I also plan to use a captcha.

The only concern I had was how to process the body text. Any recommendations?

One useful function would appear to be strip_tags, so no one could embed annoying or destructive HTML, etc. which I may accidentally cause my e-mail application to render.

Any other suggestions?

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux