Jump to content

[SOLVED] for ex: [email protected], how to release a@and take gmail.com


plodos

Recommended Posts

Use list and explode

<?php
list($username,$domain) = explode('@',$email);
?>

 

Ken

 

I used that

list($username,$domain) = explode('@',$email);

echo "<script language=javascript>";
echo " window.location='http://www.".$domain."/'; ";
echo "</script>";

thanks for everything;)

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.