I downloaded a php script and used it extensively through my website. It looked like this is a php version of FormMail, a Perl (CGI) script. I removed it as it proved to be problematic.
FormMail is a "open" script that is called by a Web Form and contains the code that processes the mail command on the web server. It takes the Input Fields from the Web Form, both hidden and visible, and passes the data to the mail command.
The main reason why this is potentially unsafe is that the hidden fields often contain information that you do not want revealed to the outside world. This can include passwords and email addresses that are on an internal distribution list.
In addition, the form can be compromised and the script have data injected into it by a hacker. Using such a form with this type of processing is generally a bad idea for a website and it will found relatively easily by hackers and you will see mail being sent (spam) from your server.
Other posts on this blog relating to aFormMail.php
FormMail is a "open" script that is called by a Web Form and contains the code that processes the mail command on the web server. It takes the Input Fields from the Web Form, both hidden and visible, and passes the data to the mail command.
The main reason why this is potentially unsafe is that the hidden fields often contain information that you do not want revealed to the outside world. This can include passwords and email addresses that are on an internal distribution list.
In addition, the form can be compromised and the script have data injected into it by a hacker. Using such a form with this type of processing is generally a bad idea for a website and it will found relatively easily by hackers and you will see mail being sent (spam) from your server.
Other posts on this blog relating to aFormMail.php

