February 2007
M T W T F S S
« Jan   Mar »
 1234
567891011
12131415161718
19202122232425
262728  

Archives

Archive for February, 2007

PHP Contact Form With Simple Spam Filtering

( Code and HTML and PHP )

Here is some code to handle a simple contact form and email it to someone. This is another piece of code that has grown at of various sources, the is_dodgy function and usage came from a contact form plugin for wordpress which can be downloaded from http://chip.cuccio.us/projects/contact-form-ii/. You’ll need to download XPertMailer from http://xpertmailer.sourceforge.net/ and [...]

PHP Email Address Validation

( Code and PHP )

I’ve built up various libraries of code over the years, always improving and changing. This bit of code should attempt to validate an email address, it first checks the format of it is correct then does an mx check on the domain name, I built the function based on various bits and bobs from around [...]