<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0">
  <channel>
    <title>商会资讯 - PHP</title>
    <link>http://smellage.com/forum-49-1.html</link>
    <description>Latest 20 threads of PHP</description>
    <copyright>Copyright(C) 商会资讯</copyright>
    <generator>Discuz! Board by Comsenz Inc.</generator>
    <lastBuildDate>Sat, 24 Oct 2026 02:25:02 +0000</lastBuildDate>
    <ttl>60</ttl>
    <image>
      <url>http://smellage.com/static/image/common/logo_88_31.gif</url>
      <title>商会资讯</title>
      <link>http://smellage.com/</link>
    </image>
    <item>
      <title>thinkPHP5中的与原本的I方法用什么东西替代了？</title>
      <link>http://smellage.com/thread-108-1-1.html</link>
      <description><![CDATA[过去的单字母函数已完全bai被替换掉，如下：

S=&gt;cache，C=&gt;config，M/D=&gt;model，U=&gt;url，I=&gt;input，E=&gt;exception，L=&gt;lang，A=&gt;controller，R=&gt;action

    ThinkPHP是为了简化企业级应用zhi开dao发和敏捷WEB应用开发而诞生的。最早诞生于2006年初，2007年元旦正式更名 ...]]></description>
      <category>PHP</category>
      <author>admin</author>
      <pubDate>Sat, 22 Aug 2020 02:41:22 +0000</pubDate>
    </item>
    <item>
      <title>php Maximum execution time of 30 seconds exceeded解决办法</title>
      <link>http://smellage.com/thread-107-1-1.html</link>
      <description><![CDATA[百度了一下，发现是php配置文件的问题，默认的最大执行时间不能超过30s，于是修改php.ini，将max_execution_time`=30改为300，结果发现还是不行，又改为3000，最后改为0（无限制）都还是不行；
最后发现同时也要改max_input_time，将max_execution_time和max_input_time ...]]></description>
      <category>PHP</category>
      <author>admin</author>
      <pubDate>Tue, 11 Aug 2020 08:41:34 +0000</pubDate>
    </item>
    <item>
      <title>json_decode 函数解析 json 结果为 NULL 的解决方法</title>
      <link>http://smellage.com/thread-93-1-1.html</link>
      <description><![CDATA[解决方法：
出现这个问题是因为在 json 字符串中反斜杠被转义，只需要用 htmlspecialchars_decode() 函数处理一下 $content 即可：
$content = htmlspecialchars_decode($content);
此时再使用 json_decode() 函数解析，就没有问题了，页面输出：


Array ( 
     =&gt; gr ...]]></description>
      <category>PHP</category>
      <author>admin</author>
      <pubDate>Tue, 03 Jul 2018 05:56:13 +0000</pubDate>
    </item>
    <item>
      <title>php序列化与反序列化时字符集不一致问题的解决办法</title>
      <link>http://smellage.com/thread-82-1-1.html</link>
      <description><![CDATA[今天的用PHP的时候无意的出现了用unserialize()函数转换老是返回false,我确认我的字符串是没错的,测试了很多次还是一样,没办法,启用了error_reporting(E_ALL)启用错误信息,
没想到发现了Notice: unserialize() [function.unserialize]: Error at offset的信息, 因为我字 ...]]></description>
      <category>PHP</category>
      <author>admin</author>
      <pubDate>Sat, 28 Oct 2017 09:07:14 +0000</pubDate>
    </item>
  </channel>
</rss>