transform($node_content, 'Xhtml'); } elseif ($_POST['code']) {} else { global $db,$htmlparse,$error; if (!htmlparser::htmlparse($node_content)) { $error=$htmlparse; return false; } $node_content = eregi_Replace("((( )|(\n)|(^))+)(http://|ftp://|https://)([[:alnum:]][^,[:space:]]*)","\\2\\6\\7",$node_content); //$node_content = db_escape_string($node_content); once is enough } return $node_content; } require_once(BACKEND_DIR.'/'.DB_TYPE.'/backend.inc');