Looking for more information on how to do PHP the right way? Check out PHP: The Right Way

ITNewb.com:
Building a Spam Free Contact Form without Captchas
Aug 12, 2009 @ 08:14:53

New on the ITNewb.com site today there's a tutorial looking at making your forms a bit more "spam free" without resorting to CAPTCHA images.

Most anti-spam methods used by websites today are annoying at best. They use impossible-to-read captcha images, or they make users jump through some kind of hoop to get the email address instead of just clicking on it. This can mean lost sales and opportunities for you, because each hurdle turns away more users.

The trick uses some CSS and Javascript to hide a form field (display:none) and check on the submit to ensure that it's empty. The email address is the output of a Javascript document.write() as well, preventing those pulling the information off of your site without Javascript support (like some automated tools) to miss it completely.

tagged: spam form protect tutorial contact

Link:

NETTUTS.com:
Build Your Own Captcha and Contact Form
Jun 11, 2009 @ 13:39:48

NETTUTS.com has posted a new tutorial on how to create and use your own CAPTCHA image to help protect the submission of your form.

Ever get hit with spam through the contact form on your personal site? Well, here is a short tutorial on how to build a custom captcha to keep the bad guys out.

The tutorial's broken up into eight steps:

  • captcha.php and the Session
  • Random String
  • Storage Folder and Colors
  • Building the Image
  • Image Final
  • contact.php
  • HTML & CSS
  • Validate

Plenty of screen shots and example code/HTML/CSS are included.

tagged: form contact tutorial captcha

Link:

PHPBuilder.com:
Getting started with Flex and Zend_Amf
Nov 03, 2008 @ 08:49:38

This new article from PHPBuilder.com talks about getting started with one of the newly introduced components of the Zend Framework (in collaboration with Adobe) - the Zend_Amf interface.

To introduce this new Zend Framework extension and give you a look inside its functionality, I show you how to build a Flex application that pulls data from a MySQL database using PHP. First, you set up the application to use XML, the conventional cross-platform data-exchange method. Then, you change the code to use AMF and custom classes.

They give you the tools you'll need to set up the right environment (including version 1.7 or later of the Zend Framework and Adobe Flex Builder) and the steps to create the simple application. It uses a MySQL backend to store contact information ad a basic Flex interface to pull that information back out for display.

tagged: tutorial flex zendamf contact mysql information interface zendframework

Link:

Jonathan Snook's Blog:
Creating a Contact Form in CakePHP 1.2
Jul 25, 2008 @ 07:58:30

In a new blog post today Jonathan Snook shows how to create a contact form for your CakePHP application (version 1.2).

Most contact forms take a name and feedback from a user and mail it off to the administrator but don't store any information in the database. This tutorial will show how to use CakePHP's models, even when no table is being used.

He shows how to define the model class, set up the mapping of columns to named elements and the code to handle the submit. It just sends a basic email with the contents of the form with a few validation rules to ensure it's not abused. Simple stuff...

tagged: contact form cakephp framework simple beginner tutorial

Link:

PHPClasses.org:
Launch of the PHP Professionals Directory
Nov 07, 2007 @ 14:47:00

In an effort to help employers/recruiters/etc find the PHP people they're looking for, the PHPClasses.org website has launched their PHP Professionals Directory:

So, I thought to myself, instead of recommending people, I could provide a place where available PHP professionals looking for work could list. Then companies can look up the list of available professionals and contact them directly.

Developers are divided first by country, then by name and have all the contact information you'd need (address, zip, location, phone) to get in contact with the developer. You can also add your own profile to the directory to make it easier for others to find you.

tagged: professional directory launch country contact professional directory launch country contact

Link:

PHPClasses.org:
Launch of the PHP Professionals Directory
Nov 07, 2007 @ 14:47:00

In an effort to help employers/recruiters/etc find the PHP people they're looking for, the PHPClasses.org website has launched their PHP Professionals Directory:

So, I thought to myself, instead of recommending people, I could provide a place where available PHP professionals looking for work could list. Then companies can look up the list of available professionals and contact them directly.

Developers are divided first by country, then by name and have all the contact information you'd need (address, zip, location, phone) to get in contact with the developer. You can also add your own profile to the directory to make it easier for others to find you.

tagged: professional directory launch country contact professional directory launch country contact

Link:

Zend Developer Zone:
Reading And Writing Drupal With Flex
Oct 30, 2007 @ 08:46:00

On the Zend Developer Zone, there's a new tutorial talking about one developer's method for creating a link between Flex and Drupal to create a data entry form.

Why Flex? Because I'd like to be able to put the widget on any site and Ajax has security issues there. Web browsers, quite rightly, ensure that Ajax pages only request data from their server of origin. So it's much harder to host an Ajax widgets on external sites without kludges like IFrames or Script tag data transit. Flex allows data access from different servers. So it's far easier to write widgets that can be hosted externally.

You'll already need Drupal installed to start working with the tutorial - he chose Mac OS X as his platform of choice, but this setup will work with any installation that supports Flex. He uses the AMF protocol to interface with the PHP scripts on the backend (via AMFPHP) and a small update will need to be made to Drupal to get it to cooperate.

The rest of the tutorial shows how to create the Flex interface - making a simple information form that takes in a user's name, address and phone number and updates the Drupal contact information for them.

tagged: flex amfphp drupal interface contact infromation link flex amfphp drupal interface contact infromation link

Link:

Zend Developer Zone:
Reading And Writing Drupal With Flex
Oct 30, 2007 @ 08:46:00

On the Zend Developer Zone, there's a new tutorial talking about one developer's method for creating a link between Flex and Drupal to create a data entry form.

Why Flex? Because I'd like to be able to put the widget on any site and Ajax has security issues there. Web browsers, quite rightly, ensure that Ajax pages only request data from their server of origin. So it's much harder to host an Ajax widgets on external sites without kludges like IFrames or Script tag data transit. Flex allows data access from different servers. So it's far easier to write widgets that can be hosted externally.

You'll already need Drupal installed to start working with the tutorial - he chose Mac OS X as his platform of choice, but this setup will work with any installation that supports Flex. He uses the AMF protocol to interface with the PHP scripts on the backend (via AMFPHP) and a small update will need to be made to Drupal to get it to cooperate.

The rest of the tutorial shows how to create the Flex interface - making a simple information form that takes in a user's name, address and phone number and updates the Drupal contact information for them.

tagged: flex amfphp drupal interface contact infromation link flex amfphp drupal interface contact infromation link

Link:

Jonathan Street's Blog:
MSN contact grab script included in 'meta' contact grabber
May 14, 2007 @ 12:38:00

In his search for "contact grabber" classes, Jonathan Street came across one posted to the PHPClasses.org website recently, the Contact Grabber class, and decided to give it a shot and report back his findings.

I haven't tried it yet but apparently it can connect to hotmail, yahoo, gmail, orkut, rediff and myspace. It is an impressive collection of scripts. [...] Generally speaking I wouldn't have a problem with the script being included in another project. In fact I would encourage it. In this instance though there are a few problems.

He breaks it up into a few different kinds of issues: inaccuracies, updates, licensing problems, and that the author wouldn't make contact back to Jonathan about some of his problems.

tagged: meta contact grabber phpclasses script issues meta contact grabber phpclasses script issues

Link:

Jonathan Street's Blog:
MSN contact grab script included in 'meta' contact grabber
May 14, 2007 @ 12:38:00

In his search for "contact grabber" classes, Jonathan Street came across one posted to the PHPClasses.org website recently, the Contact Grabber class, and decided to give it a shot and report back his findings.

I haven't tried it yet but apparently it can connect to hotmail, yahoo, gmail, orkut, rediff and myspace. It is an impressive collection of scripts. [...] Generally speaking I wouldn't have a problem with the script being included in another project. In fact I would encourage it. In this instance though there are a few problems.

He breaks it up into a few different kinds of issues: inaccuracies, updates, licensing problems, and that the author wouldn't make contact back to Jonathan about some of his problems.

tagged: meta contact grabber phpclasses script issues meta contact grabber phpclasses script issues

Link: