Simple PHP Contact Form With HTML Email

Setting up contact forms on website can be a bit of a pain, especially if the client wants loads of custom fields, you not only have to set up the form in HTML its self but then write the fields into your sending script. With this script you won’t need to write your sendmail script over and over again. This script will simply loop through the array of posted variables to gather all of your fields, it will then format them nicely in HTML and send the data to an email addres!

Continue reading Simple PHP Contact Form With HTML Email

Invisible Captcha Concept – Stop Spam Mail

Captcha Image

Captcha forms, having to type in obscure numbers and letters into a form to verify you’re a human is almost as annoying as receiving spam its self. I’ve spent some time thinking about an alternative to a captcha form that still detects if the form submission is spam without the need for users to enter an annoying code, here is the solution I’d like to share with you.

The theory is as follows; when a spam bot comes to your website, it does not see your website as regular users, nicely styled with CSS… it sees code, specifically forms, textareas and text inputs, then it fills them out and submits the form.

Continue reading Invisible Captcha Concept – Stop Spam Mail

Simple PHP Login Script Tutorial

On this tutorial i’ll show you how to make a simple login portal using PHP for a client area of your website.

First of all you need to make a basic HTML form with a field for the username and a field for the password, these must be named ‘user’ and ‘pass’ respectively. Have this form point to your password protected page and paste the code below above the starting <html> tag of the page.

Continue reading Simple PHP Login Script Tutorial