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] 娑撳鍩嶉崗瀣焿閿涳拷閸忓牓顣崚锟�閿涘本绐愮€规繂銇夐悮顐礉娴滎兛绗㈤崯鍡楃厔閿涘本瀚炬径姘樋娑撯偓缂冩垶澧︾亸锟�