2011年7月28日
摘要: 今天更新了一下smarty,结果发现以前程序里写的__autoload函数没用了,百思不得其解。最终一步步调试,发现罪魁祸首就是smarty。google了一下,发现是新版本的smarty改变了autoload的方式。解决方案如下:http://www.mpopp.net/2010/07/smarty-3-and-__autoload/ 在程序里加 spl_autoload_register("autoload"); 主要是为了多个autoload函数共存。 http://cn2.php.net/manual/en/function.spl-autoload-registe 阅读全文
posted @ 2011-07-28 23:39 佐伊凡 阅读(413) 评论(0) 推荐(0) 编辑
摘要: http://www.yhuan.com/formvalidator/index.htmlhttp://bassistance.de/jquery-plugins/jquery-plugin-validation/ 阅读全文
posted @ 2011-07-28 13:48 佐伊凡 阅读(298) 评论(0) 推荐(0) 编辑