Form Mail Script With CAPTCHA PHP

Form Mail Script With CAPTCHA PHP

We recently became aware that there are users still using the old formmail.pl and PHP scripts to process
web forms which do not require CAPTCHA (http://en.wikipedia.org/wiki/CAPTCHA). This leaves large holes for
spam attacks and other exploitation on our servers so must be stopped completely.

One way to do this is by using a freely available PHP script called Securimage which provides CAPTCHA with
a PHP processing script which has the filled out CAPTCHA as a condition to process the form and send email.
Here is how:

First download a copy of Securimage here: www.simplicityhosting.com/supplib/securimage.tar.gz version 3.5.4
as of the time of this writing or download the latest here: https://www.phpcaptcha.org/

Extract the files into the DocumentRoot directory of your website (/home/$username/public_html on cPanel
servers, /var/www/html on others, if you do not know ask your systems administrator or web host).

Note: The processing script now depends on a mailing library for PHP called Swift Mailer, which has been installed on our servers. If you have a dedicated server or VM you will need to either have us install it or it may be found here: http://swiftmailer.org/

Then we need a processing script, we paste the following into a file names processemailform.php, or download it in archive format here (in case there are formatting issues) http://www.simplicityhosting.com/supplib/processemailform.tar.gz :

Now we need a form, this may dropped into any fully designed page ready for a form, please note the following

hidden input names:

captcha_code – The code from the CAPTCHA that proves the submitter is human
skip_Subject – Subject of the Email
skip_WhereToSend – Where to send the email, may be more than one address separated by commas
skip_SendFrom – Where the email is sent from, the from address

skip_WhereToReturn – Where to go after processing the form and sending email, usually a thank you submission
confirmation page

We use the filename contact_us.html:

There are of course more elaborate methods to accomplish this, however, this will work fine in most cases. If you need help with anything specific please contact us here: https://billing.simplicityhosting.com/submitticket.php?step=2&deptid=4

The Money Machine – Make Money Through Teamwork

The following is a guest post from MakeMoneyTeamWork.com:

The Money Machine

Make Money Through Teamwork

MakeMoneyTeamWork.com

make money
make money

We strongly believe that working as a T.E.A.M (Together Everyone Achieves More) is the right way to follow in order to be successful.

The Money Machine website is a system designed to help you and others achieve financial freedom by working together as a team, helping each other to quickly succeed.

We are affiliated with a well known and established company that has been in the market of Domain Registration and Web-Hosting for over 15 years.

This company is called Global Domains International or GDI.

In 2004, they started a network-marketing business around their initial idea to allow people to continue what they were already doing, by giving them their own domain name, a private branded email addresses, but adding the ability to earn substantial amounts of money.

This company is the sole registrar of all TLD (Top Level Domains) with the .WS extension, and the IDN (International Domain Names) initiative that allows one to register a domain name using their own local language.

The network-marketing business model is a team concept; each member has a personal team and by using The Money Machine it allows s/he to use the power of a bigger team where we all work together towards a common goal; to be freed from financial difficulties.

In network-marketing there are some basic ground rules you need to follow in order to be successful:

  1. You need a product or service that has huge market.
  2. The product or service needs to be something you will use yourself and has value for you.
  3. It needs to be affordable to almost everyone.
  4. The company should be known and in perfect financial situation.

Even if you found all of the above, you need to bring people to the program for them to join. This is where The Money Machine comes into play. The system is designed to distribute the traffic (visitors) that come to the main site to the team and will do so until each member is in profit; after that it will help your own team members achieve the same, which in turn helps you gain more profit. It’s a win/win for everyone involved.

The product/service has much more than just Domain and email, you have a powerful SiteBuilder tool with many ready made templates ready for you to utilize in a click away. You can also have your own WordPress blog, or an image Gallery and more as ready made plugins you can use right away. Check here for more information about what you get.

There are many marketing materials included as well, if you wish to be proactive towards your financial freedom, GDI even pays you for learning the business, only few steps and you’re done :-)

You can find more information about The Money Machine here, there are plenty of informational pages.

You can have everything you want in life, if you will just help enough other people get what they want.”

The Money Machine Team

MakeMoneyTeamWork.com

Enthusiastic Web Host Seeks Clients that Wish for Happiness

Enthusiastic Web Host Seeks Clients that Wish for Happiness

SimplicityHosting.Com, Inc. - Simply the Best Vegan Web Hosting

SimplicityHosting.Com, Inc. – Simply the Best Web Hosting

As the title suggests SimplicityHosting.Com, Inc. is a enthusiastic web host seeking clients currently unhappy (man, it’s hard to deal with these SEO rules and make things readable, hm) with their web host and would like to have enthusiastic help to get them transferred, we do it all! We can transfer your data and get your sites working optimally.

You may think this is just another shameless plug and in ways it is, however, there are many out there who have been abused by the ho hum attitude of their current web host company. The slow response to tickets, incomplete answers, company wanted to charge for unknown services that will resolve unknown issues basically for no reason.

Then there are the web hosts that play games with their clients like holding domains and registrations (yes, they still exist) or causing trouble with transfers or backup systems. Whereas we will not help you leave our services we do not change anything in the current operation if you decide to leave. We believe the clients domains and data is owned solely by them, and not by us, as such we also encourage clients to independently backup their data as most do in their disaster recovery plans.

Inquire here, best regards!

SimplicityHosting.Com, Inc. - Simply the Best Vegan Web Hosting

SimplicityHosting.Com, Inc. – Simply the Best Web Hosting

Experiment and get the ideas down. Please offer suggestions to improve this site.