<?
function encoding1($string)
{
// CETTE FONCTION VA ENCODER L'ADRESSE EMAIL
$ret_string="";
$len=strlen($string);
for($x=0;$x<$len;$x++)
{ $ord=ord(substr($string,$x,1));
$ret_string.="&#$ord;";
}
return $ret_string;
}
// ON TESTE
echo encoding1("webmaster@g1script.com");
?>