Create A Captcha Form

Posted by Pete | Posted in PHP Tutorials | Posted on 11-08-2009-05-2008

2

This tutorial will teach you how to protect your form’s from being submitted by bots. We will use a simple way, by creating a image using php with some randomly generated numbers then store it as a session and when the form is submitted we will check if the field in the form matches up with the numbers generated.
Read the rest of this entry »

Advertise On PK-Tuts

Field Protection

Posted by Pete | Posted in PHP Functions | Posted on 16-07-2009-05-2008

3

Injection into websites is getting more and more common, This is due to more hackers/kids learning to deface peoples websites for the “Fun of it”. But one main way to stop them is protecting your forms. Below is a function which removes all tags e.g HTML, PHP etc and turns all htmlentities such as ” ‘ & etc into the html forms.
Read the rest of this entry »

Tutorials Written By Peter Kelly