PHP Inform

PHP Information & Web Hosting
 

PHP function to strip html CDATA

function strip_cdata($string) 

preg_match_all('//is', $string, $matches); 
return str_replace($matches[0], $matches[1], $string); 
}