码迷,mamicode.com
首页 >  
搜索关键字:php switch case    ( 96020个结果
数据库类型判断方法
1.端口识别 Oracle 1521 SQL Server 1433 Mysql 3306 2.系统架构组合识别 Asp+.net : sqlserver Php : Mysql+postgresql java:mysql+oracle iis:sqlserver apache:mysql+post ...
分类:数据库   时间:2021-02-16 12:41:29    阅读次数:0
CentOS Install NMP
NMP = Nginx/MySQL/PHP Installation steps of the Nginx 我这里使用 v1.4.4 wget -c http://nginx.org/download/nginx-1.4.4.tar.gz install tar -zxvf nginx-1.7.4. ...
分类:其他好文   时间:2021-02-16 12:17:27    阅读次数:0
[Bash] Create a Bash Script that Accepts Named Options with getopts
Getopts Let’s say you want to allow a user to pass a -v flag to turn on verbose logging in a script. Manually parsing out options passed to a script i ...
分类:其他好文   时间:2021-02-16 12:03:18    阅读次数:0
0242. Valid Anagram (E)
Valid Anagram (E) 题目 Given two strings s and t , write a function to determine if t is an anagram of s. Example 1: Input: s = "anagram", t = "nagaram" ...
分类:其他好文   时间:2021-02-15 12:41:17    阅读次数:0
PHP数组如何倒叙 array_reverse
有时候需要把PHP的数组倒序一下,PHP很方便,一个函数搞定。 array_reverse()函数 $a=array(1,2,4,5,6); print_r(array_reverse($a)); 结果:Array ( [0] => 6 [1] => 5 [2] => 4 [3] => 2 ... ...
分类:编程语言   时间:2021-02-15 12:23:46    阅读次数:0
第十一天的学习--if,switch,看源码
第十一天的学习 顺序结构 选择结构 很多时候需要去判断一个东西是否可行,然后我们才会去执行,这样的一个过程,在程序中要用 if语句 来表示。 if单选择结构 语法 布尔表达式就是xxx=true或xxx=false。 示例 如果不输入Hello,结果如下: 如果输入Hello,结果如下: 由此可得, ...
分类:其他好文   时间:2021-02-15 12:23:26    阅读次数:0
MySQL——选择数据库
从命令提示窗口中选择MySQL数据库 语法:USE 数据库名; 使用PHP脚本选择MySQL数据库 语法:mysqli_select_db(connection,dbname); 规定要使用的MySQL连接(必须) 规定要使用的默认数据库(必须) 举个例子 <?php header("content ...
分类:数据库   时间:2021-02-15 12:19:21    阅读次数:0
MySQL——删除数据库
删除数据库 语法:DROP DATABASE 数据库名; 使用mysqladmin删除数据库 mysqladmin -u root -p drop bird 使用PHP脚本删除数据库 语法:mysqli_query(connection,query,resultmode); connection 规 ...
分类:数据库   时间:2021-02-15 12:16:23    阅读次数:0
MySQL——连接
使用mysql二进制方式连接 mysql -u root -p 使用PHP脚本连接MySQL mysqli_connect(host,name,password,dbname,port,socket); host 规定主机或IP地址 username 规定MySQL用户名 password 规定My ...
分类:数据库   时间:2021-02-15 12:08:49    阅读次数:0
CTF-HTTP-协议请求方式
解题: 出题界面: 【每一次打开都会出现不同的结果】 解决: Windows CMD 命令行运行即可! curl -v -X CTFHUB http://challenge-d8eeddbeb7a64576.sandbox.ctfhub.com:10080/index.php 知识点一:Curl命令 ...
分类:Web程序   时间:2021-02-10 13:17:07    阅读次数:0
96020条   上一页 1 ... 41 42 43 44 45 ... 9602 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!