PHP各种Template系统
搜集不全,链接没有全部测试,大部分可用
Easy Template System
http://ets.sourceforge.net/
http://ets.sourceforge.net/ets.pdf
http://prdownloads.sourceforge.net/ets/ets305b.zip?download
Smarty
http://smarty.php.net/
FastTemplate
http://www.thewebmasters.net/php/FastTemplate.phtml
http://www.thewebmasters.net/php/FastTemplate-1_1_0.tar.gz
bTemplate
http://www.massassi.com/bTemplate/
http://www.massassi.com/bTemplate/download/bTemplate_0.3.zip
ModeliXe
http://modelixe.phpedit.com/
UltraTemplate
http://www.ultratemplate.com/main.php
PHPTemplate
http://nutbar.chemlab.org/
PHPLib
http://sourceforge.net/projects/phplib
XTemplate
http://sourceforge.net/projects/xtpl/
SmartTemplate
http://www.phpclasses.org/browse/package/1032.html
Yapster
http://yapter.sourceforge.net/
http://www.phpclasses.org/browse.html/class/37.html
Zend专辑
https://www.zend.com/codex.php?CID=332
SledgeHammer
http://sledgehammer.sourceforge.net/
phpSavant
http://phpsavant.com/
SmashTemplate
http://www.phpclasses.org/goto/browse.html/package/1401.html
http://www.lri.fr/~gk/PHPTMPL/
AwesomeTemplateEngine
http://www.pinkgoblin.com/index.php?view=scripts
http://www.pinkgoblin.com/scripts/AwesomeTemplateEngine.zip
Virtual Template
http://sourceforge.net/projects/vtemplate/
TemplateTamer工具
http://www.templatetamer.org
Phemplate
http://pukomuko.esu.lt/phemplate/
Templates engine for PHP
http://sourceforge.net/projects/php-templates
YATS
http://yats.sourceforge.net
iTemplate
http://sourceforge.net/projects/itemplate
Cached Fast Template
http://zoned.net:8000/~xkahn/php/fasttemplate/
AvanTemplate
http://avantemplate.sourceforge.net/
PHPWidgets
http://www.northern.ca/projects/phpwidgets
tinybutstrong
http://www.tinybutstrong.com/download.php
SuperTPL
国人产,呵呵
http://www.phpw.net
相关文档:
$_FILES['myFile']['name'] 客户端文件的原名称。
$_FILES['myFile']['type'] 文件的 MIME 类型,需要浏览器提供该信息的支持,例如"image/gif"。
$_FILES['myFile']['size'] 已上传文件的大小,单位为字节。
$_FILES['myFile']['tmp_n ......
要不出现乱码,就要保持数据库和页面的编码格式一致.我全部使用utf-8的编码.
首先页面:
1. 将文件用UE打开,将文件另存为UTF-8无BOM格式.很多编辑器都可用.
2.使用 header("content-type:text/html; charset=utf-8"); 强制转换成utf-8的编码.
也可以新建一个head.php,如下,在页面中用include( ......