/ Published in: PHP
                    
                                        
**Example of use:**
    
if (!isUniversityEmail('[email protected]'))
exit('You must have a valid and .edu email address to register for an account.');
                if (!isUniversityEmail('[email protected]'))
exit('You must have a valid and .edu email address to register for an account.');
                            
                                Expand |
                                Embed | Plain Text
                            
                        
                        Copy this code and paste it in your HTML
/**
* @title Check if it is a valid and university email address.
*
* @author Pierre-Henry Soria <[email protected]>
* @copyright (c) 2013, Pierre-Henry Soria. All Rights Reserved.
* @param string $sEmail
* @return boolean
*/
function isUniversityEmail($sEmail)
{
}
Comments
 Subscribe to comments
                    Subscribe to comments
                
                