-
2020-09-28 15:58:59
-
2020-09-28 16:05:20
-
2020-09-28 16:18:26
-
2020-09-28 16:26:34
-
2020-09-28 16:55:09
-
2020-09-28 17:08:07
-
2020-09-29 09:36:53
- php 不定参数如何传递
- php不定参数传递的方法:可以使用函数【func_get_args】实现,代码为【$args = func_get_args();for($i=0;$i
-
2693
-
2020-09-29 09:52:54
- PHP如何实现git部署
- PHP实现git部署的方法:首先配置git,并设置sudo免密;然后设置钩子,代码为【touch post-receive】;最后增加钩子可执行权限,代码为【chmod a+x .git/hooks/post-receive】。
-
2138
-
2020-09-29 09:58:07
- php如何隐藏实际文件下载地址
- php隐藏实际文件下载地址的方法:使用header与【file_get_contents】方法,代码为【header("Content-Type: $mimetype");echo file_get_contents($pathto)】。
-
3235
-
2020-09-29 10:06:43
- PHP如何将特定的字符串替换为空值
- PHP将特定的字符串替换为空值的方法:1、使用子符串替换【$id = str_replace(".html", "", $id)】;2、正则表达式子符串替换【$id = preg_replace("/\.html/", "", $id)】。
-
3874