IT Community - Software Programming, Web Development and Technical Support

PHP: Validate Email Address

This is a discussion on PHP: Validate Email Address within the PHP Programming forums, part of the Web Development category; This function actually validates an email address against an MX record. I found this somewhere and modified it slightly. Name: ...


Go Back   IT Community - Software Programming, Web Development and Technical Support > Web Development > PHP Programming

Register FAQ Members List Calendar Mark Forums Read
  #1 (permalink)  
Old 02-24-2007, 01:08 AM
pranky pranky is offline
D-Web Programmer
 
Join Date: Feb 2007
Posts: 51
pranky is on a distinguished road
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: if (validateEmail("somename@domain.com")) {}
Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Sponsored Links
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
validate MIME type of an image venkatbi PHP Programming 2 09-10-2007 04:37 AM
validate using smarty venkatbi PHP Programming 2 09-05-2007 08:57 AM
How to Validate IPAddress using C#? kingmaker C# Programming 1 07-24-2007 06:00 AM
How we import the Email Address Book Using Curl Functions? raj PHP Programming 0 07-19-2007 02:35 AM
Do you validate your website code? spid4r Web Design Help 2 03-11-2007 08:45 PM


All times are GMT -7. The time now is 07:22 PM.


Copyright ©2004 - 2007, DiscussWeb. All Rights Reserved.

SEO by vBSEO 3.0.0