
cakephp
iteye_12650
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
cakephp 1.25 html image helper alt属性不能为汉字
今天用 cakephp 1.25遇到一个怪问题好奇怪[code="php"]//这句打印出来是//这句打印出来是[/code][color=red]alt 是汉字就显示不出来,大家都这样么?[/color]------[color=darkred]问题解决了,是多语言i18n 和 L10n的问题[/color][code="php"]//...原创 2010-01-05 21:53:25 · 109 阅读 · 0 评论 -
调整cakephp目录结构以及xampp文档路径
现况url路径形如 http://localhost/icash365/users/index/cakephp目录为--D:\xampp\htdocs\icash365----app----app\webroot----cake----vendors----其他零散文件目标url路径形如 http://localhost/users/inde...原创 2010-01-08 01:31:45 · 389 阅读 · 0 评论 -
cakephp的.htaccess文件配置
[code="php"]// xml文件直接指向根目录,如sitemap.xml RewriteEngine on RewriteRule ^(.*.xml)$ app/webroot/$1 [L] RewriteRule ^$ app/webroot/ [L] RewriteRule (.*) app/webroot/$1 [...2010-01-29 19:56:49 · 171 阅读 · 0 评论 -
cakephp 用RequestHandler取得客户端IP
在cakephp 1.2 中取得客户端的ip地址需要用到Request Handler Component。(当然也可以用php原生的函数变量)[code="php"]//首先在controller中引入组件 var $components = array('RequestHandler');//在函数中使用如下代码得到客户端IP,必须传递一个false参数//否则得到...原创 2010-01-31 12:59:48 · 150 阅读 · 0 评论 -
icash365_com源码本机调试
1. copy一份到htdocs\icash365_com下2. 导入sql3. 访问http://localhost/icash365_com/ 应为空白页面4. 修改app\config\database.php $test[quote]'prefix' => 'icash365_',[/quote]5. 修改app\app_model.php[code...原创 2011-06-18 13:14:10 · 138 阅读 · 0 评论