上一页 1 ··· 23 24 25 26 27 28 29 30 31 ··· 41 下一页
摘要: 参看网址:http://www.yan.com/mou/add 图书增加HTML页面 //图书增加路由 Route::get('mou/add','MouController@store'); //控制器代码,这一步渲染添加的视图 public function add() { return vie 阅读全文
posted @ 2021-10-11 14:00 王越666 阅读(93) 评论(0) 推荐(0)
摘要: <?php //数组的序列化 /* $stu=['tom','berry','ketty']; $str=serialize($stu); //序列化 file_put_contents('./stu.txt',$str); */ //数组的反序列化 $str=file_get_contents(' 阅读全文
posted @ 2021-10-11 10:21 王越666 阅读(48) 评论(0) 推荐(0)
摘要: 掌握为什么要实现用户登录 用户登录是一个后台系统的入口,是前台网站的用户识别的鉴权功能,登录有以下三个作用: 1.识别用户身份 2.确定使用权限 3.保证数据安全 掌握登录功能的实现步骤 第一步:创建一个登录的表单 <form class="form-horizontal" role="form" 阅读全文
posted @ 2021-10-11 09:16 王越666 阅读(611) 评论(0) 推荐(0)
摘要: Cookie的使用及原理 什么是cookie cookie是一种用来跟踪和识别用户上网信息的会话控制技术,它将跟踪后的信息存储在客户端的浏览器上 cookie如何使用 第一步:设置cookie即可(告诉浏览器,有cookie要存储值了) setcookie('cookie的键名','cookie的值 阅读全文
posted @ 2021-10-11 09:11 王越666 阅读(115) 评论(0) 推荐(0)
摘要: 第一步:增加一个搜索框和提交按钮 <div class="container"> <form class="form-inline" action="list.php" method="post"> <label for="email">请输入关键字:</label> <input type="te 阅读全文
posted @ 2021-10-11 09:00 王越666 阅读(102) 评论(0) 推荐(0)
摘要: <!doctype html> <?php // 连接数据库 $link = mysqli_connect("127.0.0.1", "root", "root", "1909A"); // 分页的第一步:确定每页显示的条数 $pageSize = 3; // 分页的第二步:计算总记录数 $res 阅读全文
posted @ 2021-10-11 08:45 王越666 阅读(47) 评论(0) 推荐(0)
摘要: html 代码: <center> <table border="1"> <caption>1909A班学生信息添加页面</caption> <!-- 1.凡是元素必须增加name属性,这样才能在服务端获取到--> <!-- 2.凡是选择的元素,必须增加value属性,这样才能在服务端获取到值--> 阅读全文
posted @ 2021-10-11 08:40 王越666 阅读(115) 评论(0) 推荐(0)
摘要: HTML代码: <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <title>邮箱注册</title> <link rel="stylesheet" href="http://apps.bdimg.com/libs/boo 阅读全文
posted @ 2021-09-29 19:10 王越666 阅读(52) 评论(0) 推荐(0)
摘要: 打开命令行窗口 执行命令 elasticsearch -d 启动elasticsearch 安装:打开命令行,切换到Elasticsearch-Head目录,执行以下命令 npm install 启动:打开命令行,切换到Elasticsearch-Head目录,执行以下命令 npm run star 阅读全文
posted @ 2021-09-29 13:35 王越666 阅读(63) 评论(0) 推荐(0)
摘要: 控制器代码: <?php namespace app\sign\controller; use think\Controller; use think\Request; class Sign extends Controller { /** * 显示资源列表 * * @return \think\R 阅读全文
posted @ 2021-09-29 11:03 王越666 阅读(183) 评论(0) 推荐(0)
上一页 1 ··· 23 24 25 26 27 28 29 30 31 ··· 41 下一页