PHP
sdwflqzfx
这个作者很懒,什么都没留下…
展开
-
稻壳cms图文模块调不出html代码
<?php doc_article('1',20,0,0,0,266,true,true,'id',0)?> 图文调用,倒数第三个参数,官方说是是否显示html代码,但是实测是没用的,不过官方论坛也给出了答案,分享一下:根目录下找到:content/index/article.php把47行修改为:if(!$opts['hastag'])$o->content=strip_tags($o->content);...原创 2021-11-18 15:35:40 · 72 阅读 · 0 评论 -
500 - Internal server error
HTTP 错误 500.19 - Internal Server Error无法访问请求的页面,因为该页的相关配置数据无效。或者是500 - Internal server error.There is a problem with the resource you are looking for, and it cannot be displayed.原因:Windows2008的系统和II7下Web.confing出错,网站并不提示以下错误 “/”应用程序中的服务器错误。配置错误解原创 2021-11-18 10:49:26 · 173 阅读 · 0 评论 -
PHP日期时间处理
概述PHP中对日期进行处理常用的几个函数如下:date(): 把时间戳格式化为更易读的日期和时间 time(): 获取当前 Unix 时间戳 strtotime(): 将表示时间和日期的字符串转化为相应的时间戳 mktime(): 创建日期这些函数是PHP核心的部分,无需安装即可使用。另外需要注意的是,这些函数的行为还受到 php.ini 中配置的时区等的影响。名称 描述...原创 2020-02-10 15:12:23 · 245 阅读 · 0 评论