1
0
Fork 0
mirror of https://git.friendi.ca/friendica/friendica.git synced 2025-07-10 09:48:50 +00:00

remote comments working now

This commit is contained in:
Mike Macgirvin 2010-07-17 19:26:00 -07:00
parent 2a17c20fb8
commit aff4f63ff8
8 changed files with 86 additions and 45 deletions

View file

@ -370,6 +370,11 @@ function xmlify($str) {
return($buffer);
}}
function unxmlify($s) {
$ret = str_replace('&','&', $s);
$ret = str_replace(array('&lt;','&gt;','&quot;','&apos;'),array('<','>','"',"'"),$ret);
return $ret;
}
function hex2bin($s) {
return(pack("H*",$s));