会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
2538
博客园
首页
新随笔
联系
管理
订阅
上一页
1
2
3
4
5
6
下一页
2021年5月10日
ThinkPHP报错 The requested URL /admin/index/login.html was not found on this server.
摘要: 解决方案在入口文件夹public下查看.htaccess是否存在。不存在则新建,存在的话,那内容替换为下面这串代码 就可以解决Not Fund #<IfModule mod_rewrite.c># Options +FollowSymlinks -Multiviews# RewriteEngine
阅读全文
posted @ 2021-05-10 10:13 2538
阅读(2488)
评论(0)
推荐(0)
2020年7月14日
微信小程序传值到 PHP 后台
摘要: wxml文件 <view >{{id}}</view> js文件 Page({ data: { id:1 }, /** * 生命周期函数--监听页面加载 */ onLoad: function (options) { wx.request({ url: 'http://localhost:8080/
阅读全文
posted @ 2020-07-14 13:58 2538
阅读(696)
评论(0)
推荐(0)
2020年7月9日
PHP token 使用
摘要: <!-- token使用 --> <form action="2.php" method="POST"><?php $module=mt_rand(100000,999999);?><input type="text" name="sec_name" value=""/><input type="h
阅读全文
posted @ 2020-07-09 15:31 2538
阅读(257)
评论(0)
推荐(0)
PHP redis 缓存数据库(成功)
摘要: <?php $redis = new Redis();$redis->connect( '127.0.0.1', 6379 )or die( "could net connect redis server" ); $connect = mysql_connect( '127.0.0.1', 'roo
阅读全文
posted @ 2020-07-09 15:29 2538
阅读(585)
评论(0)
推荐(0)
redis 缓存 MySQL 数据库
摘要: <?php $redis = new Redis(); $redis->connect('127.0.0.1',6379) or die ("could net connect redis server"); # $query = "select * from test limit 9"; $que
阅读全文
posted @ 2020-07-09 09:50 2538
阅读(201)
评论(0)
推荐(0)
2020年6月11日
QRCode.js:使用 JavaScript 生成二维码
摘要: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html xmlns="http://www.w3.or
阅读全文
posted @ 2020-06-11 11:06 2538
阅读(194)
评论(0)
推荐(0)
2020年5月26日
Linux/Ubuntu下安装Sublime Text 3
摘要: Sublime Text 3是真的好用,于是想在Ubuntu里安装来代替gedit。 安装流程在Ubuntu中,ctrl+alt+t打开终端后,依次输入以下命令: 1. 安装Sublime Text 3仓库 sudo add-apt-repository ppa:webupd8team/sublim
阅读全文
posted @ 2020-05-26 10:08 2538
阅读(696)
评论(0)
推荐(0)
Linux(Ubuntu)服务器安装Lamp环境全部命令
摘要: Ubuntu安装Lamp环境全部命令获取root权限 sudo su 更新apt源 apt updateapt upgrade 安装jdk(非必要) apt install openjdk-11-jre-headless -y 安装mysql数据库 apt install mysql-server
阅读全文
posted @ 2020-05-26 10:07 2538
阅读(196)
评论(0)
推荐(0)
2019年12月12日
HTML <a> download 属性
摘要: HTML <a> download 属性 <!DOCTYPE html><html><body><h2> <p> HTML <a> download 属性 <p> </h2><p>点击图片来下载该图片:<p> <a href="0001.jpg" download="w3logo"><img bor
阅读全文
posted @ 2019-12-12 16:50 2538
阅读(154)
评论(0)
推荐(0)
PHP常用函数
摘要: 转载自 https://www.cnblogs.com/magebiji/p/PHP_hanshu.html 一。PHP基础语法 变量,常量 严格区分大小写,但内置结构或关键字无所谓(echo) 命名:不能以数字,空格,.来开头,但是可以有汉字,eg:$变量="aa"; 可变变量:$a='aa';$
阅读全文
posted @ 2019-12-12 14:04 2538
阅读(275)
评论(0)
推荐(0)
上一页
1
2
3
4
5
6
下一页
公告