On 10/06/2010 3:39 PM, Jamie Holly wrote:
$text= preg_replace('/<script.*?<\/script>/xmsi', '', $text) should do the trick.
Might also consider filter_xss($string, array());
--Andrew
On 10/06/2010 3:39 PM, Jamie Holly wrote:
$text= preg_replace('/<script.*?<\/script>/xmsi', '', $text) should do the trick.
Might also consider filter_xss($string, array());
--Andrew