-
thinkphp验证码和分页 - thinkphp
验证码:导入验证码类,在aoli thinkphp Lib ORG Util Image class php里有验证码方法 英文验证码:buildImageVerify($length,$mode,$type...
栏目:thinkphp教程 点击:79 日期:2014-11-28 -
thinkphp多语言支持,多模板支持 - thinkphp
thinkphp多语言支持:config php配置文件中添加: 多语言支持设置 39;LANG_SWITCH_ON 39;=true, 39;DEFAULT_LANG 39;= 39;zh-cn 39...
栏目:thinkphp教程 点击:79 日期:2014-11-28 -
thinkphp文件上传 - thinkphp
FileAction class php?phpclassFileActionextendsAction{functionindex(){$file=M( 39;file 39;);$list=$file-select();$this-assign(...
栏目:thinkphp教程 点击:76 日期:2014-11-28 -
关于IIS7.x下php环境的配置和thinkphp环境配置注意事
这几天因为更换了Win7操作系统,所以一直在配置iis7 5下的php环境以适应thinkphp框架开发需求,在网上查阅了大量的资料,发现微软提供了很多便捷的php配置方式,iis7 5配置php环境更加方便了...
栏目:thinkphp教程 点击:110 日期:2014-11-28 -
thinkphp中使用ajax - thinkphp
点击提交,不需要刷新本页,将内容提交到数据库当中,并在本页显示提交的内容 jquery方法:MessageAction class php?phpclassMessageActionext...
栏目:thinkphp教程 点击:105 日期:2014-11-28 -
thinkphp中的动态缓存(S方法)和快速缓存(F方法
系统默认的缓存方式是采用File方式缓存,我们可以在项目配置文件里面定义其他的缓存方式 例如,修改默认的缓存方式为Xcache(当然,你的环境需要支持Xcache),对于File方式缓存下的缓存目录...
栏目:thinkphp教程 点击:74 日期:2014-11-28 -
thinkphp结合JQeury实现POST提交数据 - thinkphp
网站后台修改数据时,需要重打开页面修改吗?不用了,使用下面的方法即可实现:html代码:tablename=unitborder=1volistname=u_listid=...
栏目:thinkphp教程 点击:223 日期:2014-11-28 -
thinkphp3.0国际化配置方法 - thinkphp
TP3 0的国际化和2 x的配置方法有一些区别,如果你仅仅下的是核心文件我们需要在thinkphp Extend Behavior文件夹下导入CheckLangBehavior class php文件,这个文件完整版本里有,然后需要在Conf文件夹下...
栏目:thinkphp教程 点击:187 日期:2014-11-28 -
TP config.php改变之后 - thinkphp
如果改变了conf config php文件中的配置信息,那么需要删掉runtime ~runtime php,否则:会出现系统信息错误 比如我在配置完数据库信息后:?ph...
栏目:thinkphp教程 点击:85 日期:2014-11-28 -
thinkphp用法小记 - thinkphp
(1)SCRIPT SRC= MathJax MathJax js(2)include file=Public:MathJax_header (3)显示数据volistname=listid=vo编号:{$vo i...
栏目:thinkphp教程 点击:112 日期:2014-11-28