在浏览器中输入tp框架入口文件的地址,如图 要注意,localhost/后面跟的是www的下一级,tp文件的上一级,因为我直接把tp文件做成了www目录的下一级,所以我写的地址localhost后面跟的就是tp 打上目录后回车,就会出来tp的主页面,如图 再随便打上一个没有的操作方法,如 打出的这个 ...
分类:
其他好文 时间:
2017-05-05 10:56:17
阅读次数:
182
数据库备份与恢复查询接口show global variables like 'port';cmd --首先进入mysql的bin目录执行备份命令mysqldump -u root -p test ceshi >E:/backup.sql后输入密码查看e盘下的文件 为test数据库下面表测试的备份文 ...
分类:
数据库 时间:
2017-05-04 11:05:57
阅读次数:
173
innodb 的行锁是在有索引的情况下,没有索引的表是锁定全表的. 表锁演示(无索引) Session1: mysql> set autocommit=0; mysql> select * from innodb_test;+ + +| id | name |+ + +| 1 | woshicesh ...
分类:
数据库 时间:
2017-04-29 21:02:45
阅读次数:
187
[root@ns~]#whoami##我是谁
root[root@ns~]#useraddputong
[root@ns~]#su-putong
[putong@ns~]$whoami
putong[putong@ns~]$ll-d/tmp/
drwxrwxrwt.3rootroot409612月203:11/tmp/
[putong@ns~]$cd/tmp/
[putong@nstmp]$mkdirceshi
[putong@nstmp]$ln/bin/ping/tmp/ceshi/ceshi##..
分类:
其他好文 时间:
2017-04-25 15:06:38
阅读次数:
244
当APP_DEBUG为true时,包含图中这个文件,文件中又引导包含这些库文件,可以看出安装thinkphp3.2.3时ThinkPHP/Common/下是functions.php,把它改成function.php就可以了。 ...
分类:
Web程序 时间:
2017-04-25 13:12:26
阅读次数:
450
html: <input name="ceshi" type="text" class="textfield" id="ceshi" maxlength="100" /> <input name="submitSaveEdit" type="button" id="sub" value="提交"> ...
分类:
Web程序 时间:
2017-04-17 18:53:28
阅读次数:
235
DOM 对象方法 这里提供一些您将在本教程中学到的常用方法: 方法 描述 getElementById() 返回带有指定 ID 的元素。 getElementsByTagName() 返回包含带有指定标签名称的所有元素的节点列表(集合/节点数组)。 getElementsByClassName() ...
分类:
其他好文 时间:
2017-04-17 15:41:22
阅读次数:
143
public static void WatchFile() { FileSystemWatcher watcher = new FileSystemWatcher(); watcher.Path = "E:/Work/Test/source"; watcher.Filter = "*.txt"; ...
public class CeShi { /** * @param args */ public static void main(String[] args) { // TODO Auto-generated method stub int []a={7,9,5,2,1,0,3,4,8,11}; ... ...
分类:
其他好文 时间:
2017-04-03 20:11:48
阅读次数:
139
public class CeShi { public static void main(String[] args) { int [][]a={{1},{2,3},{4,5,6}}; for (int []b:a){ for(int i:b){ System.out.println(i); } }... ...
分类:
编程语言 时间:
2017-04-03 20:00:45
阅读次数:
127