上一页 1 ··· 8 9 10 11 12 13 14 15 16 ··· 20 下一页

2016年5月11日

摘要: $git init $git add ss.txt $git commit -m "note" $git status $git diff xx.txt $git log --pretty=oneline $git reset --hard HEAD^ $git reflog $git chekou 阅读全文
posted @ 2016-05-11 12:33 forever_elf 阅读(405) 评论(0) 推荐(0)

2016年3月10日

摘要: <?php $servername = "localhost"; $username = "username"; $password = "password"; $conn = new mysqli($servername, $username, $password); if($conn -> co 阅读全文
posted @ 2016-03-10 15:58 forever_elf 阅读(342) 评论(0) 推荐(0)

2016年3月1日

摘要: Connect to MySQL PHP5 and later can work with a MySQL database using MySQLi extension PDO PDO will work on 12 different database systems, where as MyS 阅读全文
posted @ 2016-03-01 17:45 forever_elf 阅读(325) 评论(0) 推荐(0)
 
摘要: The default error handling in PHP is very simple.An error message with filename, line number and a message describing the error is sent to the browser 阅读全文
posted @ 2016-03-01 17:26 forever_elf 阅读(270) 评论(0) 推荐(0)
 
摘要: PHP filters are used to validate and sanitize external input. Validating data is determine if the data is in proper form. Sanitizing data is remove an 阅读全文
posted @ 2016-03-01 12:33 forever_elf 阅读(452) 评论(0) 推荐(0)

2016年2月24日

摘要: A session is a way to store information(in variables) to be used across multiple pages.Unlike a cookie, the information is not stored on the users com 阅读全文
posted @ 2016-02-24 11:53 forever_elf 阅读(175) 评论(0) 推荐(0)

2016年2月23日

摘要: A cookie is often used to identify a user.A cookie is a small file that the server embeds on the user's computer.Each time the same computer requests 阅读全文
posted @ 2016-02-23 15:32 forever_elf 阅读(295) 评论(0) 推荐(0)

2016年2月19日

摘要: The readfile() functin reads a file and writes it to the output buffer. readfile('filename') A better method to open files is with the fopen() functio 阅读全文
posted @ 2016-02-19 14:41 forever_elf 阅读(265) 评论(0) 推荐(0)

2016年2月18日

摘要: The include or require statement takes all the text/codde/markup that exists in the specified file and copies it into the file that uses the include s 阅读全文
posted @ 2016-02-18 12:47 forever_elf 阅读(142) 评论(0) 推荐(0)
 
摘要: The PHP date() function is used to format date and/or a time and formats as timestamp to a more readable data and time. date(format, timestamp) //form 阅读全文
posted @ 2016-02-18 12:33 forever_elf 阅读(211) 评论(0) 推荐(0)
上一页 1 ··· 8 9 10 11 12 13 14 15 16 ··· 20 下一页