08 2016 档案
摘要:1、下载安装; 2、拷贝libs文件夹到web文件夹; 3、引入smarty类文件 // include './libs/Smarty.class.php'; 4、配置smarty //a、配置模板文件 $smarty -> setTemplateDir("./mb/") ; //b、配置编译后的文
阅读全文
摘要:1 2 3 4 首先要有3个文件夹configs、templates、templates_c,在configs文件夹中有一个配置文件:test.conf,代码: title = Welcome to Smarty! cutoff_size = 40 [setup] bold = true title
阅读全文
摘要:<?php //首先采用“fopen”函数打开文件,得到返回值的就是资源类型。$file_handle = fopen("/data/webroot/resource/php/f.txt","r");if ($file_handle){ //接着采用while循环(后面语言结构语句中的循环结构会详细
阅读全文
摘要:MySQL常用命令汇总 你吧 Mysql常用命令 show databases; 显示数据库 create database name; 创建数据库 use databasename; 选择数据库 drop database name 直接删除数据库,不提醒 show tables; 显示表 des
阅读全文

浙公网安备 33010602011771号