Diff for phpPlatonLib/common/str/Attic/fnc.escape_email.php between version 1.2 and 1.3
| version 1.2, 2002/09/26 20:04:35 |
version 1.3, 2002/10/14 22:39:37 |
| Line 38 if (! defined('phpPlatonLib_fnc_escape_e |
|
| Line 38 if (! defined('phpPlatonLib_fnc_escape_e |
|
| |
|
| case 'html': |
case 'html': |
| for ($x = 0; $x < strlen($email); $x++) { |
for ($x = 0; $x < strlen($email); $x++) { |
| $ret .= '&#x' . bin2hex($email[$x]) . ';'; |
$ret .= (ord($email[$x]) > 127 ? $email[$x] : '&#x'.bin2hex($email[$x]).';'); |
| } |
} |
| break; |
break; |
| |
|
Platon Group <platon@platon.org> http://platon.org/
|
|