View Single Post
  #1 (permalink)  
Old 08-10-2006, 09:52 PM
Jordan's Avatar   
Jordan Jordan is offline
Administrator
 
Join Date: Nov 2005
Location: Hendersonville, NC
Posts: 10,850
Last Blog:
PHP Security: Temporar...
Credits: 1
Rep Power: 20
Jordan is just really niceJordan is just really niceJordan is just really niceJordan is just really nice
Send a message via ICQ to Jordan Send a message via AIM to Jordan Send a message via MSN to Jordan
Default PHP: Validate Email Address

This function actually validates an email address against an MX record. I found this somewhere and modified it slightly.

Name: validateemail.php
Description: Validates an email against MX records

Usage:
include validateemail.php
Pass an email to validateEmail();
Example:

PHP Code:
 if (validateEmail("somename@domain.com")) {
//code block

Attached Files To view attachments in this forum your post count must be 1 or greater. You currently have 0 posts.
__________________
CodeCall Blog | CodeCall Wiki | Shareware Site | Linux Forum | Write a Blog
The CodeCall Wiki is now fully integrated with vBulletin users! Check it out and add some new pages!

Last edited by John; 05-30-2007 at 04:45 PM.
Reply With Quote

Sponsored Links