/ Published in: PHP
URL: http://twitter.com/jfanaian/statuses/1015463286
My friend Jamal Fanaian showed me how to convert a string to its' ASCII value.
Expand |
Embed | Plain Text
Comments
Subscribe to comments
You need to login to post a comment.

That was helpful, but this is what I did and what I needed. Simple email confuser, not much, but helps a bit -- 37Signals uses this method
function strtoentity($input) { foreach (str_split($input) as $obj) { $output .= '&#' . ord($obj) . ';'; } return $output; }function strtoentity($input) { foreach (str_split($input) as $obj) { $output .= '' . ord($obj) . ';'; } return $output; }