章节1:了解PHPPHP是什么? PHP能干什么? 开发网站输出一个属于自己的第一个PHP程序。 <?phpecho 'Hello World'; ?> <?php ?> 标识 [告诉你]echo 'Hello World'; 代码 echo [指令] 输出 echo 'echo'; CD光盘 磁带 ...
分类:
数据库 时间:
2021-04-20 15:31:27
阅读次数:
0
Mac下Core Shell 使用lrzsz命令,上传,下载文件 新增~/.bashrc_Core_Shell # Bash support for Core Shell, reference: /etc/bashrc_Apple_Terminal on macOS # Report Working ...
分类:
系统相关 时间:
2021-04-20 15:02:28
阅读次数:
0
artisan是laravel提供的命令行接口,这里记录下常用的命令 ...
分类:
其他好文 时间:
2021-04-20 14:56:59
阅读次数:
0
bash特殊变量 变量 含义 $0 函数名 \(n | n>=1,表示第一个、第二个、第n个参数、\)(10) $@ 全部参数 $* 全部参数 $# 参数个数 $_ 上一个命令的最后一个参数 $$ 当前shell进程ID $? 上一个命令的返回值 ...
分类:
其他好文 时间:
2021-04-20 14:55:25
阅读次数:
0
1.simple_php ?<?php show_source(__FILE__); include("config.php"); $a=@$_GET['a']; $b=@$_GET['b']; if($a==0 and $a){ echo $flag1; } if(is_numeric($b)){ ...
分类:
其他好文 时间:
2021-04-20 14:34:36
阅读次数:
0
在/etc/profile.d目录里下新建 shell脚本 (设置alias别名命令的功能) 让新建的别名生效 设置完成后之际可以使用别名 gj 命令 执行poweroff一样效果的 ...
分类:
其他好文 时间:
2021-04-20 14:33:22
阅读次数:
0
1、编写脚本 createuser.sh,实现如下功能:使用一个用户名作为参数,如果 指定参数的用户存在,就显示其存在,否则添加之;显示添加的用户的id号等信息 read -p " input the user: " USER if id $USER &> /dev/null ; then echo ...
分类:
系统相关 时间:
2021-04-20 14:31:15
阅读次数:
0
1.参考资料 官网trait介绍 larvel学院PHP新特性Trait 概览 跳转链接 链接 理解trait php 这门语言没法使用多继承即单继承模式,你只能使用你自己家里的东西因为你继承了自己家里的东西,同时你想 使用隔壁老王家里的东西这是不被允许的,即使你有继承权,但是我们不允许你进行继承多 ...
分类:
Web程序 时间:
2021-04-19 16:01:35
阅读次数:
0
通过nginx -t获得 nginx=`nginx -t 2>&1 | grep configuration` if [ ! -z "$nginx" ];then nginxtmp="${nginx#*file}" nginxf="${nginxtmp%test*}" echo $nginxf fi ...
分类:
系统相关 时间:
2021-04-19 15:38:16
阅读次数:
0
项目相关介绍请查看https://github.com/MultiChain/multichain-web-demo,简单来说就是multichain节点的网页可视化。 第一步:安装Apache 1 # 安装Apache2 2 sudo apt-get install apache2 3 # 重启A ...
分类:
Web程序 时间:
2021-04-19 15:35:39
阅读次数:
0