05 2015 档案

摘要:mysql dump -u root -p juhui > /data/juhui.sql //备份数据库grant all privileges on *.* to xf111@localhostidentified by 'xf11111'; //授权用户登陆update user set h... 阅读全文
posted @ 2015-05-21 23:57 纵观 阅读(268) 评论(0) 推荐(0)
摘要:fopen操作时文件读取开始指针位于文件开始部分,fseek 以指定文件大小以及开始指针位置确定结束指针位置具体案例: <?php//打开文件流,fopen不会把文件整个加载到内存$f = fopen('a.txt','r');//移动文件指针到50fseek($f,50);//读取50-100字... 阅读全文
posted @ 2015-05-02 15:14 纵观 阅读(330) 评论(0) 推荐(0)