If you have lost or forgot root password of RHEL7, you can follow this step to change to a new password, this is different with the RHEL6 single-user mode...
分类:
其他好文 时间:
2014-07-26 02:49:36
阅读次数:
276
打开文件:fopen:fopen(filename,mode);//fopen("test.txt","r”);
打开模式:r 只读方式打开,将文件指针指向文件头
r+ 读写方式打开,将文件指针指向文件头
w 写入方式,指向文件头,如果不存在则尝试创建
w+ 读写方式,指向文件头,如果不存...
分类:
Web程序 时间:
2014-07-25 11:10:21
阅读次数:
333
不同的错误处理方法:
简单的die()语句自定义错误函数和错误触发器错误报告
基本的错误处理:使用die()函数
if(!file_exists("welcome.txt")){
die("FIle not found");
}else{
$file=fopen("welcome.txt","r");
}
或者
$file=fopen("web...
分类:
Web程序 时间:
2014-07-25 11:10:01
阅读次数:
243
AppInit_DLLs is a mechanism that allows an arbitrary list of DLLs to be loaded into each user mode process on the system. Microsoft is modifying the A...
分类:
移动开发 时间:
2014-07-25 10:55:01
阅读次数:
326
1、GETName: Age: 当用户点击提交按钮时,发送的 URL 会类似这样:http://www.W3CSchool.cn/welcome.php?name=Peter&age=37"welcome.php" 文件现在可以通过 $_GET 变量来获取表单数据了。注释:在使用 $_GET 变量时...
分类:
其他好文 时间:
2014-07-25 10:51:51
阅读次数:
242
由于AndroidManifest.xml文件中uses-permission没有设置权限问题
分类:
移动开发 时间:
2014-07-25 02:33:24
阅读次数:
528
偏好设定(SharedPreferences)? 在程序中保存一些配置参数的时候我们经常使用SharedPreferencesContext.getSharedPreferences(String name,int mode)该方法可以在/data/data//shared_pref/目录下创建一个...
分类:
其他好文 时间:
2014-07-24 22:11:32
阅读次数:
187
DescriptionJapan plans to welcome the ACM ICPC World Finals and a lot of roads must be built for the venue. Japan is tall island with N cities on the ...
分类:
其他好文 时间:
2014-07-24 21:43:52
阅读次数:
270
在10.10.50.230中新建了一个匿名的ftp服务器,结果在10.10.50.241中上传文件时提示: local: README.txt remote: /var/ftp/pub/upload 227 Entering Passive Mode (10,10,50,230,117,8). 55...
分类:
其他好文 时间:
2014-07-24 17:26:05
阅读次数:
205
对于linux的权限掌握以下几个命令就可以非常熟练的操作系统中的各种权限了。使用权限 : 所有使用者使用方式 : chmod [-cfvR] [--help] [--version] mode file...说明 : Linux/Unix 的档案存取权限分为三级 : 档案拥有者、群组、其他。利用 c...
分类:
系统相关 时间:
2014-07-24 17:22:25
阅读次数:
302