2007-08-29 天气:晴天
心情:微笑
<script>
/*
##转义字符串,可安全插入数据库
function escapeRequest($str){
$commends = str_replace(array('<','>'),array('<','>'),$str);
$commends = nl2br($commends);
$commends = str_replace(array('\\',chr(10),chr(13)),array('\\','',''),$commends);
if(!get_magic_quotes_gpc())
$commends = addslashes($commends);
}
*/
</script>