摘要: preg_match_all('/]*src=(\'|\")(.*?)\\1[^>]*>/i',$goodsD['content'],$match); //正则获取图片路径获取到结果为:array (size=3) 0 => array (size=2) 0 => string ... 阅读全文
posted @ 2015-09-24 09:55 纵观 阅读(5525) 评论(0) 推荐(0) 编辑
摘要: 原理:利用window定时任务定时cmd加载mytask.bat文件,bat运行php.exe程序编译运行mytask.php文件,从而实现了数据库的备份mytask.bat 内容:D:\phpStudy\php53\php.exe D:\www\mytask.phpmytask.php内容:$fi... 阅读全文
posted @ 2015-09-24 00:16 纵观 阅读(452) 评论(0) 推荐(0) 编辑