随笔分类 -  PHP

摘要:一个自动编码与递增处理的php函数 阅读全文
posted @ 2013-04-08 10:42 banyancheung 阅读(216) 评论(0) 推荐(0)
摘要:Think PHP 中使用 swfupload 出现 302 http_error问题 的处理方法 阅读全文
posted @ 2013-03-22 13:35 banyancheung 阅读(389) 评论(0) 推荐(0)
摘要:使用方法:先配置好数据库链接与要导出的数据库名,然后运行。 1 <?php 2 /** 3 * 生成mysql数据字典 4 */ 5 6 //配置数据库 7 $dbserver = "localhost"; 8 $dbusername = "root"; 9 $dbpassword = "root";10 $database = "secomtel";11 //其他配置12 $title = '数据字典';13 14 $mysql_conn = @mysql_connect("$db 阅读全文
posted @ 2013-02-22 17:22 banyancheung 阅读(366) 评论(0) 推荐(0)
摘要:安装第一次使用 ZF 2? 下载稳定的版本,后缀格式为 .tar.gz 或 zip.尝试最新的? 那就上 ZF2 GIT 吧。(译者注:此处不翻译了,介绍github的。链接:Zend Framework ' s Git repository)当你有一份可用的ZF2副本时,你的应用程序类库需要读取框架的类库。这里有一些方法可以看看。如果安装失败,可能会出现如下错误:Fatal error: Uncaught exception 'RuntimeException' with message 'Unable to load ZF2. Run `php compos 阅读全文
posted @ 2013-01-20 23:03 banyancheung 阅读(221) 评论(0) 推荐(0)