Whats wrong with this code that is meant to remove the script tag in php?

Blue

New member
$bio_data = preg_replace(array('/<(.*)script(.*)>/i', '/<script(.*)>/i', '/<script>/i', '/pie/i'), array('<${1}script${2}>', '<script${1}>', '<script>', '****'), $bio_data);
 
Back
Top