Writing a custom captcha for your website is a fairly easy task with the PHP GD Library.
The GD Library is a graphics library that enables to draw (and generate) graphics. This output can be done on any of the standard image file formats.
In my example I choose to create a PNG file that will be displayed in my registration page. So the first piece of code I need is somthing like this:
The GD Library is a graphics library that enables to draw (and generate) graphics. This output can be done on any of the standard image file formats.
In my example I choose to create a PNG file that will be displayed in my registration page. So the first piece of code I need is somthing like this: