php隐藏数据,MD5加密,截取字符串
//echo $content;
preg_match_all('/<!--sharetoview start-->([\s\S]*?)<!--sharetoview end-->/i', $content, $hide_words);
echo "<br>被隐藏的数据是->>>>".$hide_words[0][0];
ECHO date('Y_m_d', time());//当前时间年月日显示
echo "md5加密".md5(addslashes("quanjiafu@J"));
echo "<br>".date("Y-m-d H:i:s",(time()+8*3600));
$str = "www.11jn.com";
echo "截取后".substr($str,4,-4);
echo "<br>截取前字符串".$str;[/code]