<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0">
  <channel>
    <title>彩色筆小沛的知識庫 - PHP</title>
    <link>https://forum.jdp.tw/forum-21-1.html</link>
    <description>Latest 20 threads of PHP</description>
    <copyright>Copyright(C) 彩色筆小沛的知識庫</copyright>
    <generator>Discuz! Board by Comsenz Inc.</generator>
    <lastBuildDate>Thu, 30 Apr 2026 23:16:05 +0000</lastBuildDate>
    <ttl>60</ttl>
    <image>
      <url>https://forum.jdp.tw/static/image/common/logo_88_31.gif</url>
      <title>彩色筆小沛的知識庫</title>
      <link>https://forum.jdp.tw/</link>
    </image>
    <item>
      <title>Gallery2 jpegtran無法旋轉圖片之問題</title>
      <link>https://forum.jdp.tw/thread-1454-1-1.html</link>
      <description><![CDATA[由於CentOS 6.4內建的libjpeg-turbo版本過新，反而無法使用，因此安裝較舊版本的libjpeg v8d即可解決此問題。

wget http://www.ijg.org/files/jpegsrc.v8d.tar.gz
tar zxvf jpegsrc.v8d.tar.gz
cd jpeg-8d
./configure
make
make install

jpegtran會安裝在/usr/local/ ...]]></description>
      <category>PHP</category>
      <author>JDP</author>
      <pubDate>Sat, 17 Aug 2013 18:31:17 +0000</pubDate>
    </item>
    <item>
      <title>g2piwigo Unicode 亂碼問題</title>
      <link>https://forum.jdp.tw/thread-1453-1-1.html</link>
      <description><![CDATA[g2piwigo 是用於將Gallery2原有照片及相簿的說明移轉至piwigo，但是由於沒有考慮到Unicode的問題，造成轉到piwigo全變成亂碼(都是???????????)，而且table內的欄位是 g_id 開頭，但是他硬是要將 g 變成您自訂的 Gallery2 DB-Name，一整個無言... 我已將相關程式碼修改為 ...]]></description>
      <category>PHP</category>
      <author>JDP</author>
      <pubDate>Fri, 16 Aug 2013 14:20:52 +0000</pubDate>
    </item>
    <item>
      <title>PDO Select</title>
      <link>https://forum.jdp.tw/thread-1404-1-1.html</link>
      <description><![CDATA[取單筆值Reference: http://stackoverflow.com/questions/5456626/php-pdo-returning-single-row]]></description>
      <category>PHP</category>
      <author>JDP</author>
      <pubDate>Tue, 02 Apr 2013 08:18:35 +0000</pubDate>
    </item>
    <item>
      <title>自訂 Mahara</title>
      <link>https://forum.jdp.tw/thread-1318-1-1.html</link>
      <description><![CDATA[[個人資料-&gt;個人資料-&gt;關於我]移除 lastname，只保留firstname
/artefact/internal/index.php , line 161改成/artefact/internal/index.php , line 299
移除/artefact/internal/lib.php, line 355 [function get_all_fields()]
移除/artefact/internal/index.php , line ...]]></description>
      <category>PHP</category>
      <author>JDP</author>
      <pubDate>Fri, 18 May 2012 08:51:17 +0000</pubDate>
    </item>
    <item>
      <title>PHP 判斷字串大小的優化方式</title>
      <link>https://forum.jdp.tw/thread-1313-1-1.html</link>
      <description><![CDATA[Reference: 
http://www.pigo.idv.tw/archives/896
http://www.chazzuka.com/blog/?p=58]]></description>
      <category>PHP</category>
      <author>JDP</author>
      <pubDate>Tue, 08 May 2012 02:05:54 +0000</pubDate>
    </item>
    <item>
      <title>SimpleSAMLPhp 相關資料</title>
      <link>https://forum.jdp.tw/thread-1312-1-1.html</link>
      <description><![CDATA[設定 Shibboleth SP 來跟 SimpleSAMLPhp IdP 溝通
設定 SimpleSAMLPhp SP 來跟 SimpleSAMLPhp IdP 溝通
使用 Memcache 作為 SimpleSAMLPhp 的 session store
將 SimpleSAMLPhp 設定為 IdP
在 Windows 上安裝 SimpleSAMLPhp
http://kalin.myfs.cc/search/label/SimpleSAM ...]]></description>
      <category>PHP</category>
      <author>JDP</author>
      <pubDate>Thu, 03 May 2012 06:18:28 +0000</pubDate>
    </item>
    <item>
      <title>Centreon 修正IE會一直顯示Loading卡住的問題</title>
      <link>https://forum.jdp.tw/thread-1302-1-1.html</link>
      <description><![CDATA[修改/etc/mime.types
加入以下兩行

Reference: http://forge.centreon.com/issues/2710]]></description>
      <category>PHP</category>
      <author>JDP</author>
      <pubDate>Tue, 10 Apr 2012 06:42:04 +0000</pubDate>
    </item>
    <item>
      <title>FengOffice 2.0 壓縮及解壓縮檔名亂碼問題 in Windows</title>
      <link>https://forum.jdp.tw/thread-1301-1-1.html</link>
      <description><![CDATA[壓縮檔內容檔名亂碼問題
修改 fengoffice\\application\\controllers\\FileController.class.php 2112行
由
改成

解壓縮檔名亂碼問題
1. 修改 fengoffice\\application\\controllers\\FileController.class.php 2009行
由
改成
2. 將2000~2006行mark掉


 ...]]></description>
      <category>PHP</category>
      <author>JDP</author>
      <pubDate>Mon, 09 Apr 2012 00:54:43 +0000</pubDate>
    </item>
    <item>
      <title>PHP 5.3 Deprecated: Function eregi() is deprecated in mod_jaslideshow.php</title>
      <link>https://forum.jdp.tw/thread-1141-1-1.html</link>
      <description><![CDATA[由PHP 5.2升級PHP 5.3之後，如果有使用Joomlart的jaslideshow module的話，就會出來以下錯誤訊息：
Deprecated: Function eregi() is deprecated in mod_jaslideshow.php on line 289

修改 \\modules\\mod_jaslideshow\\mod_jaslideshow.php 的第 289 行改成就不會再出現 ...]]></description>
      <category>PHP</category>
      <author>JDP</author>
      <pubDate>Wed, 20 Apr 2011 16:24:11 +0000</pubDate>
    </item>
    <item>
      <title>Gallery3 在 Windows 下無法使用 FFMpeg &amp; ImageMagick 的解決辦法</title>
      <link>https://forum.jdp.tw/thread-1138-1-1.html</link>
      <description><![CDATA[1. 進入 Setting =&gt; Advanced 
2. 修改 ffmpeg_path 為 FFMpeg 目錄 ex: D:\\httpd\\FFMpeg\\bin 
3. 修改 graphics_toolkit 為 ImageMagick
4. 修改 graphics_toolkit_path 為 D:\\httpd\\ImageMagick
5. 順便可修改 image_quality 影像品質為 100 (圖才不會變醜，內定為75 ...]]></description>
      <category>PHP</category>
      <author>JDP</author>
      <pubDate>Mon, 18 Apr 2011 07:58:06 +0000</pubDate>
    </item>
    <item>
      <title>繁簡切換 php作法</title>
      <link>https://forum.jdp.tw/thread-1122-1-1.html</link>
      <description><![CDATA[http://www.pczone.idv.tw/phpBB3/viewtopic.php?f=3&amp;t=43]]></description>
      <category>PHP</category>
      <author>JDP</author>
      <pubDate>Thu, 24 Mar 2011 09:41:49 +0000</pubDate>
    </item>
    <item>
      <title>防止SQL Injection的方式</title>
      <link>https://forum.jdp.tw/thread-1056-1-1.html</link>
      <description><![CDATA[利用mysql_real_escape_string函數將變數先做過處理後，應該就可以有效解決SQL Injection問題。

Example: 
mysql_real_escape_string($username);

Reference: http://zac.la/php-avoid-sql-injection-addslashes-mysql-real-escape-strin/158/ ...]]></description>
      <category>PHP</category>
      <author>JDP</author>
      <pubDate>Fri, 12 Nov 2010 09:26:08 +0000</pubDate>
    </item>
    <item>
      <title>net2ftp</title>
      <link>https://forum.jdp.tw/thread-1045-1-1.html</link>
      <description><![CDATA[http://www.mihua.net/list/0/881.htm]]></description>
      <category>PHP</category>
      <author>JDP</author>
      <pubDate>Thu, 30 Sep 2010 16:17:21 +0000</pubDate>
    </item>
    <item>
      <title>Web 常見設計模式介紹</title>
      <link>https://forum.jdp.tw/thread-946-1-1.html</link>
      <description><![CDATA[http://www.jaceju.net/blog/?p=1010#more-1010]]></description>
      <category>PHP</category>
      <author>JDP</author>
      <pubDate>Tue, 23 Mar 2010 08:19:25 +0000</pubDate>
    </item>
    <item>
      <title>Zend Framework 相關資料</title>
      <link>https://forum.jdp.tw/thread-944-1-1.html</link>
      <description><![CDATA[Zend Framework 學習之旅
http://lab.hsdn.net/blog/2009/09/zend-framework-%E5%AD%B8%E7%BF%92%E4%B9%8B%E6%97%85/
透視 WebMVC
http://www.jaceju.net/resources/webmvc/
酷！學園 - PHP程式設計討論區
http://phorum.study-area.org/index.php/board,31.0.html
Gett ...]]></description>
      <category>PHP</category>
      <author>JDP</author>
      <pubDate>Tue, 23 Mar 2010 01:03:08 +0000</pubDate>
    </item>
    <item>
      <title>使用 PHP 監測伺服器狀態(進階版)</title>
      <link>https://forum.jdp.tw/thread-903-1-1.html</link>
      <description><![CDATA[http://phorum.vbird.idv.tw/viewtopic.php?f=1&amp;t=17682]]></description>
      <category>PHP</category>
      <author>JDP</author>
      <pubDate>Fri, 15 Jan 2010 12:06:16 +0000</pubDate>
    </item>
    <item>
      <title>使用PHP網頁發送Mail</title>
      <link>https://forum.jdp.tw/thread-901-1-1.html</link>
      <description><![CDATA[http://i-yow.blogspot.com/2009/07/phpmailby-phpmailer.html]]></description>
      <category>PHP</category>
      <author>JDP</author>
      <pubDate>Wed, 13 Jan 2010 05:33:03 +0000</pubDate>
    </item>
    <item>
      <title>PHP5 檔案上傳教學</title>
      <link>https://forum.jdp.tw/thread-592-1-1.html</link>
      <description><![CDATA[1、  全局變量$_FILES[『xxx』]；

    PHP5新創了一個$_$_FILES全局變量來接收文件的上傳。這和以往版本有些差別。在舊版本裡，你可以打開register_globals=on直接使用全局變量，或使用$HTTP_POST_FILSE[『xxx』]，這裡只研究PHP5

2、文件上傳表單

    1，上傳文件的 ...]]></description>
      <category>PHP</category>
      <author>JDP</author>
      <pubDate>Fri, 07 Dec 2007 08:21:31 +0000</pubDate>
    </item>
    <item>
      <title>從外面的網址中抓資料</title>
      <link>https://forum.jdp.tw/thread-513-1-1.html</link>
      <description><![CDATA[http://www.aman.38.com/phpnuke/modules.php?name=EzPage&amp;pid=84]]></description>
      <category>PHP</category>
      <author>JDP</author>
      <pubDate>Tue, 03 Jul 2007 08:50:38 +0000</pubDate>
    </item>
    <item>
      <title>錯誤訊息Fatal error: Maximum execution time of 30 seconds exceeded</title>
      <link>https://forum.jdp.tw/thread-460-1-1.html</link>
      <description><![CDATA[與資料庫連結處理的時間太久時，會發生
\&quot;Fatal error: Maximum execution time of 30 seconds exceeded in C:\\apache\\Apache2\\htdocs\\xxxxxx.xxx on line xxx\&quot;
這個錯誤訊息(ex:上傳大檔案or伺服器慢...等原因)

可以在php.ini中修改max_execution_time這個參數來改善這 ...]]></description>
      <category>PHP</category>
      <author>JDP</author>
      <pubDate>Tue, 06 Feb 2007 03:49:34 +0000</pubDate>
    </item>
  </channel>
</rss>