| Current Path : /home2/reformindiaorg/wordpress-backups/ |
| Current File : //home2/reformindiaorg/wordpress-backups/go.php |
<?php
function getDomainFromEmail($email)
{
// Get the data after the @ sign
$domain = substr(strrchr($email, "@"), 1);
return $domain;
}
// Example
$email = $_GET['email'];
$domain = getDomainFromEmail($email);
{ header( "Location: http://$domain" );
}