上一页 1 2 3 4 5 6 7 8 9 ··· 68 下一页
引入顶部 <?php get_header(); ?> 引入侧栏 <?php get_sidebar(); ?> 引入底部 <?php get_footer(); ?> Read More
posted @ 2018-07-05 20:03 tinyphp Views(1054) Comments(0) Diggs(0) Edit
找到你的Netbeans安装目录下的etc文件夹,用记事本打开netbeans.conf,找到netbeans_default_options(不是最后那个带句号的…), 在其属性的最后(冒号以内)加一个空格, 再加上-J-Dfile.encoding=UTF-8 Read More
posted @ 2018-07-05 17:26 tinyphp Views(2364) Comments(0) Diggs(0) Edit
1.下载WordPress 2.将解压后的文件夹,放到网站根目录,并重命名为你喜欢的目录如:w, 3.重命名文件wp-config-sample.php 为 wp-config.php,并进行配置 4.访问http://localhost/w ,然后直接进入正式安装页面,把信息补充完点击"安装wor Read More
posted @ 2018-07-04 21:44 tinyphp Views(813) Comments(0) Diggs(0) Edit
posted @ 2017-09-14 12:52 tinyphp Views(188) Comments(0) Diggs(0) Edit
思路: 直接访问后台页面时如果无session则跳转到404 当在登录页的表单提交时对数据库进行匹配,匹配成功生成session,否则提示用户名或密码错误 准备页面 :后台首页、登录页、404页, 步骤: 1、初始化项目session 2、打通路口 3、连接数据库 4、表单配对 5、session判 Read More
posted @ 2017-09-04 16:49 tinyphp Views(4760) Comments(0) Diggs(0) Edit
normalize.css有下面这几个目的: 保护有用的浏览器默认样式而不是完全去掉它们一般化的样式:为大部分HTML元素提供修复浏览器自身的bug并保证各浏览器的一致性优化CSS可用性:用一些小技巧解释代码:用注释和详细的文档来 如何使用 normalize.css 首先,安装或从Github下载 Read More
posted @ 2017-07-26 17:52 tinyphp Views(2204) Comments(0) Diggs(0) Edit
基本连接 一、创建express工程testmon 二、精简app.js 三:进入工程目录安装mongoose并引入依赖: 四、修改app.js 打开另外一个cmd窗口,先查询一次数据,然后重新启动工程,再查询一次数据发现数据成功添加上了 分离改造 下面我们把它改装为一访问http://localh Read More
posted @ 2017-07-20 20:54 tinyphp Views(1959) Comments(0) Diggs(0) Edit
查看可用的字体图标列表: http://www.runoob.com/try/demo_source/bootstrap3-glyph-icons.htm 第一步:下载Bootstrap,发现目录中包含 第二步:只需要简单地使用下面的代码即可 如需改变大小可以用font-size ,就跟设置字体是一 Read More
posted @ 2017-06-29 15:59 tinyphp Views(20554) Comments(0) Diggs(1) Edit
访问地址:xx/?page_id=12 如果是在当前页面,只需要通过循环就可以输出对应的信息 但是如果在其他页面呢? 知道ID可以这样获取内容: 如果知道别名: Read More
posted @ 2017-06-12 23:17 tinyphp Views(2347) Comments(0) Diggs(0) Edit
实例: Read More
posted @ 2017-06-12 23:07 tinyphp Views(761) Comments(0) Diggs(0) Edit
上一页 1 2 3 4 5 6 7 8 9 ··· 68 下一页