<?xml version="1.0" encoding="utf-8"?>
<!-- generator="FeedCreator 1.7.2-ppt DokuWiki" -->
<?xml-stylesheet href="https://wiki.sars.tw/lib/exe/css.php?s=feed" type="text/css"?>
<rss version="2.0">
    <channel>
        <title>Sars' History php</title>
        <description></description>
        <link>https://wiki.sars.tw/</link>
        <lastBuildDate>Sun, 17 May 2026 01:25:01 +0800</lastBuildDate>
        <generator>FeedCreator 1.7.2-ppt DokuWiki</generator>
        <image>
            <url>https://wiki.sars.tw/lib/tpl/dokuwiki/images/favicon.ico</url>
            <title>Sars' History</title>
            <link>https://wiki.sars.tw/</link>
        </image>
        <item>
            <title>php:all</title>
            <link>https://wiki.sars.tw/doku.php?id=php:all&amp;rev=1449560452&amp;do=diff</link>
            <description>PHP 7

	*  Migrating from PHP 5.6.x to PHP 7.0.x

Debug

How To Debug PHP Code And Useful PHP Debugging Tools

	*  Gubed PHP Debugger：&lt;http://gubed.mccabe.nu/&gt;
	*  PHP Debug：&lt;http://www.php-debug.com/www/&gt;
	*  DBG：&lt;http://www.php-debugger.com/dbg/&gt;
	*  PHP Dyn：&lt;http://sourceforge.net/projects/php-dyn/&gt;
	*  Xdebug：&lt;http://xdebug.org/&gt;
	*  Webgrind：&lt;http://code.google.com/p/webgrind/&gt;
	*  MacGDBp：&lt;http://www.bluestatic.org/software/macgdbp/&gt;
	*  Advanced PHP Debugger：&lt;http://pecl.php.net/package/a…</description>
        <category>php</category>
            <pubDate>Tue, 08 Dec 2015 15:40:52 +0800</pubDate>
        </item>
        <item>
            <title>php:basic</title>
            <link>https://wiki.sars.tw/doku.php?id=php:basic&amp;rev=1207497344&amp;do=diff</link>
            <description>Time Zone

在文件前端加上
date_default_timezone_set(&quot;Asia/Taipei&quot;);
或在 php.ini 中加上
;Defines the default timezone used by the date functions
date.timezone = Asia/Taipei
HTTP_GET_VARS

從 PHP4 升級到 PHP5 時，存取 GET/POST 有所限制，可用</description>
        <category>php</category>
            <pubDate>Sun, 06 Apr 2008 23:55:44 +0800</pubDate>
        </item>
        <item>
            <title>php:documentor</title>
            <link>https://wiki.sars.tw/doku.php?id=php:documentor&amp;rev=1194769197&amp;do=diff</link>
            <description>phpDocumentor

&lt;http://www.phpdoc.org/&gt;

standard auto-documentation tool for the php language

&lt;http://blog.darkhero.net/articles/view/263&gt;


&lt;?php
/**
 * 這裡是這個物件的說明
 * 可以多行喔!~
 *
 */
class MyClass {
    /**
     * 這裡是變數的說明
     *
     * @var int
     */
    var $a ;
    /**
     * 這裡是變數的說明.
     *
     * @var string 這裡也可以放說明
     */
    var $b ;
    
    /**
     * 這是針對函式的說明
     * 也是一樣可以多行
     * 若是簡單的範例也可以放這裡
     *
     * @param int $a 可以放入傳入的型態
     * @return array 可以說明回傳的型態
     */
    fu…</description>
        <category>php</category>
            <pubDate>Sun, 11 Nov 2007 16:19:57 +0800</pubDate>
        </item>
        <item>
            <title>php:framework</title>
            <link>https://wiki.sars.tw/doku.php?id=php:framework&amp;rev=1335505462&amp;do=diff</link>
            <description>symfony

&lt;http://www.symfony-project.com/&gt;

an open-source PHP web framework

CakePHP

&lt;http://www.cakephp.org/&gt;

A rapid development framework for PHP that provides an extensible architecture for developing, maintaining, and deploying applications.

中文文件

&lt;http://www.ezluk.org/&gt;

FuelPHP

&lt;http://fuelphp.com/&gt;

FuelPHP is a simple, flexible, community driven PHP 5.3 web framework based on the best ideas of other frameworks with a fresh start.</description>
        <category>php</category>
            <pubDate>Fri, 27 Apr 2012 13:44:22 +0800</pubDate>
        </item>
        <item>
            <title>php:gd</title>
            <link>https://wiki.sars.tw/doku.php?id=php:gd&amp;rev=1192820933&amp;do=diff</link>
            <description>縮圖

&lt;http://my-web-design.blogspot.com/2007/10/phpgd2.html&gt;


&lt;?php
//高精度的縮圖類別
/***************************************/
/*功 能：利用PHP的GD函式生成高質量縮圖*/
/*運行環境:PHP5.01/GD2*/
/*類別說明：
可以選擇是/否裁圖，是/否放大圖像。
如果裁圖則生成的圖的尺寸與您輸入的一樣。
原則：盡可能保持原圖完整

如果不裁圖，則按照原圖比例生成新圖
原則：根據比例以輸入的長或者寬為基準

如果不放大圖像，則當原圖尺寸不大於新圖尺寸時，維持原圖尺寸
*/

/*參數說明：
$imgout:輸出圖片的位址
$imgsrc:源圖片位址
$width:新圖的寬度
$height:新圖的高度
$cut:是否裁圖，1為是，0為否
$enlarge:是否放大圖像，1為是，0為否*/
/***************************************/
class resizeimage
{
//圖片類型
var $type;
//實際寬度
va…</description>
        <category>php</category>
            <pubDate>Sat, 20 Oct 2007 03:08:53 +0800</pubDate>
        </item>
        <item>
            <title>php:laravel</title>
            <link>https://wiki.sars.tw/doku.php?id=php:laravel&amp;rev=1454392104&amp;do=diff</link>
            <description>Laravel

Reference

	*  Laravel From Scratch
	*  Laravel Homestead 搭配 phpMyAdmin Docker</description>
        <category>php</category>
            <pubDate>Tue, 02 Feb 2016 13:48:24 +0800</pubDate>
        </item>
        <item>
            <title>php:msn</title>
            <link>https://wiki.sars.tw/doku.php?id=php:msn&amp;rev=1191432413&amp;do=diff</link>
            <description>PHP MSN Class

&lt;http://code.google.com/p/phpmsnclass/&gt;

MSN class for php, support MSNP9 (MSN 6.2) and MSNP15 (WLM 8.1), use as a bot or just send message to MSN or Yahoo (via MSN, you need Yahoo 8.1 to communicate with MSN). Support OIM (offline message) if using MSNP15.

使用 PHP 發送 MSN 訊息</description>
        <category>php</category>
            <pubDate>Thu, 04 Oct 2007 01:26:53 +0800</pubDate>
        </item>
        <item>
            <title>php:mssql</title>
            <link>https://wiki.sars.tw/doku.php?id=php:mssql&amp;rev=1237775091&amp;do=diff</link>
            <description>FreeBSD 透過 PHP 連接 MS SQL Server

安裝 php5-mssql
# cd /usr/ports/databases/php5-mssql &amp;&amp; make install clean
安裝 freetds-msdblib
# cd /usr/ports/databases/freetds-msdblib &amp;&amp; make install clean
設定檔：/usr/local/etc/freetds.conf


[global]
  tds version = 4.2
  text size = 64512

[testdb]
  host = 192.168.1.1
  port = 1433
  client charset = CP950
  tds version = 8.0</description>
        <category>php</category>
            <pubDate>Mon, 23 Mar 2009 10:24:51 +0800</pubDate>
        </item>
        <item>
            <title>php:mysql_real_escape_string</title>
            <link>https://wiki.sars.tw/doku.php?id=php:mysql_real_escape_string&amp;rev=1171695957&amp;do=diff</link>
            <description>mysql_real_escape_string

Escapes special characters in a string for use in a SQL statement

&lt;http://tw.php.net/manual/en/function.mysql-real-escape-string.php&gt;

要解決 SQL injection 並不是用 addslashes()，而是用 mysqli 提供的 prepare + execute，或是用 mysql_real_escape_string()。</description>
        <category>php</category>
            <pubDate>Sat, 17 Feb 2007 15:05:57 +0800</pubDate>
        </item>
        <item>
            <title>php:pdf</title>
            <link>https://wiki.sars.tw/doku.php?id=php:pdf&amp;rev=1236412911&amp;do=diff</link>
            <description>FPDF

&lt;http://www.fpdf.org/&gt;

FPDF is a PHP class which allows to generate PDF files with pure PHP, that is to say without using the PDFlib library.

FPDI

&lt;http://www.setasign.de/products/pdf-php-solutions/fpdi/&gt;

FPDI is a collection of PHP classes facilitating developers to read pages from existing PDF documents and use them as templates in FPDF, which was developed by Olivier Plathey.</description>
        <category>php</category>
            <pubDate>Sat, 07 Mar 2009 16:01:51 +0800</pubDate>
        </item>
        <item>
            <title>php:scan_uploaded_files</title>
            <link>https://wiki.sars.tw/doku.php?id=php:scan_uploaded_files&amp;rev=1168707127&amp;do=diff</link>
            <description>參考

How To Automatically Scan Uploaded Files For Viruses With php-clamavlib

How To Automatically Scan Uploaded Files For Viruses With php-clamavlib - Page 2</description>
        <category>php</category>
            <pubDate>Sun, 14 Jan 2007 00:52:07 +0800</pubDate>
        </item>
        <item>
            <title>php:security</title>
            <link>https://wiki.sars.tw/doku.php?id=php:security&amp;rev=1172383682&amp;do=diff</link>
            <description>Basic PHP Script Security

&lt;http://templora.com/content/14&gt;

	*  SQL Injection
	*  XSS Attacks
	*  CSRF Attacks
	*  PHP variable insertion
	*  Input validation</description>
        <category>php</category>
            <pubDate>Sun, 25 Feb 2007 14:08:02 +0800</pubDate>
        </item>
    </channel>
</rss>
