<script>
function ajaxcode(str){ var regs=[[],['*0','*1','*2','*3','*4','*5','*6']]; regs[0][0]=/\*/gi; regs[0][1]=/\+/gi; regs[0][2]=/\//gi; regs[0][3]=/\?/gi; regs[0][4]=/&/gi; regs[0][5]=/#/gi; regs[0][6]=/%/gi; for (var i=0;i<regs[0].length;i++) str=str.replace(regs[0][i],regs[1][i]); return str;}
</script>
<?php
function unajaxcode($str){ $reg=array(); $reg[0]=array('*1','*2','*3','*4','*5','*6','*0'); $reg[1]=array('+','/','?','&','#','%','*'); foreach ($reg[0] as $i=>$v) $str=str_replace($v,$reg[1][$i],$str); return $str;}
?>