Untitled

 avatar
unknown
php
3 years ago
232 B
5
Indexable
function strip($text) { 
   return str_replace(array('<','"','\\'),array('&lt;','&quot;','&#92;'),stripslashes(trim($text))); 
}

function jStrip($text) { 
   return str_replace(array('<','"'),array('&lt;','&quot;'),trim($text)); 
}
Editor is loading...