02 2013 档案

摘要:<?php function addCData($xmlObj,$cdata_text) { $node= dom_import_simplexml($xmlObj); $no = $node->ownerDocument; $node->appendChild($no->createCDATASection($cdata_text)); } function addChildCData($xmlObj,$name,$cdata_text) { $child = $xmlObj->addChild($name); addCD... 阅读全文
posted @ 2013-02-26 16:45 赵治鲁 阅读(320) 评论(0) 推荐(0) 编辑
摘要:<?phpini_set('memory_limit', '512M');$content = file('D:\xampp\htdocs\test\mail.log');$newArr = array();$mon = date('M') . ' ' . date('d',strtotime("-1 day"));foreach ($content as $key => $val){ $nk = substr($val,0,6); if (strpos($mon,$ 阅读全文
posted @ 2013-02-20 14:31 赵治鲁 阅读(696) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示