当前分类

PHP

cp命令批量拷贝确认去除

我习惯使用的把文件夹拷贝到命令是 cp -rf /aa/* /bb 但是覆盖操作时,会需要yes的提示,我们直接在cp前加斜杠即可,如 …

json_decode参数assoc

json_decode ( string $json [, bool $assoc = false [, int $depth = 512 [, int $options = 0 ]]] ) assoc参数为bool …

Mysql中select in语句按in排序

我们有时候需要使用in子句的时候,搜索出来的顺序要按我们查询in子句中的顺序来排列,我们可以使用order by来排序,如 …

php接收ajax的json串

ajax上传数据为json数据时,我们会先把对象转为json串,如下: var json = JSON.stringify(option) ; 然后我们在服务器 …

html中提取图片信息

<?php /*PHP正则提取图片img标记中的任意属性*/ $str = '<center>![](/uploads/images/20100516000.jpg) …

vscode之launch.json

{ // Use IntelliSense to learn about possible attributes. // Hover to view descriptions of existing attributes. …

微信扫一扫,分享到朋友圈

mysql报1044 – Access denied for user 问题处理