<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/"><channel><title>Tony Qu - php</title><link>http://blog.csdn.net/tonyqus/category/258980.aspx</link><description /><dc:language>zh-CN</dc:language><lastUpdateTime>Sat, 08 Mar 2008 23:06:12 GMT</lastUpdateTime><ttl>60</ttl><item><dc:creator>tonyqus</dc:creator><title>PHP文件上传实现的注意点</title><link>http://blog.csdn.net/tonyqus/archive/2005/05/08/1399275.aspx</link><pubDate>Sun, 08 May 2005 18:00:00 GMT</pubDate><guid>http://blog.csdn.net/tonyqus/archive/2005/05/08/1399275.aspx</guid><wfw:comment>http://blog.csdn.net/tonyqus/comments/1399275.aspx</wfw:comment><comments>http://blog.csdn.net/tonyqus/archive/2005/05/08/1399275.aspx#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://blog.csdn.net/tonyqus/comments/commentRss/1399275.aspx</wfw:commentRss><trackback:ping>http://tb.blog.csdn.net/TrackBack.aspx?PostId=1399275</trackback:ping><description>编写php文件上传页面的一些注意事项
&lt;img src ="http://blog.csdn.net/tonyqus/aggbug/1399275.aspx" width = "1" height = "1" /&gt;</description></item><item><dc:creator>tonyqus</dc:creator><title>php中的OOP语法</title><link>http://blog.csdn.net/tonyqus/archive/2005/05/01/1399276.aspx</link><pubDate>Sun, 01 May 2005 07:15:00 GMT</pubDate><guid>http://blog.csdn.net/tonyqus/archive/2005/05/01/1399276.aspx</guid><wfw:comment>http://blog.csdn.net/tonyqus/comments/1399276.aspx</wfw:comment><comments>http://blog.csdn.net/tonyqus/archive/2005/05/01/1399276.aspx#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://blog.csdn.net/tonyqus/comments/commentRss/1399276.aspx</wfw:commentRss><trackback:ping>http://tb.blog.csdn.net/TrackBack.aspx?PostId=1399276</trackback:ping><description>类声明：
class ClassName[ extends ParentClass]
{...}
其中，extends ParentClass为继承
php中不支持域限定符：private，public，protected等，因此所有的变量可以说都是public的。

类成员声明：var $a1;
类成员的使用：$this-&amp;gt;a1
构造函数：function ClassName([参数]){...}
方法定义：function MethodName([参数]){...}

一个简单的实例：
class A
{
&amp;#160;&amp;#160;&amp;#160;&amp;#160;var $a1;
&amp;#160;&amp;#160;&amp;#160; function A
&amp;#160;&amp;#160;&amp;#160; {
&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;$this&lt;img src ="http://blog.csdn.net/tonyqus/aggbug/1399276.aspx" width = "1" height = "1" /&gt;</description></item><item><dc:creator>tonyqus</dc:creator><title>php中session常用函数</title><link>http://blog.csdn.net/tonyqus/archive/2005/01/25/1399437.aspx</link><pubDate>Tue, 25 Jan 2005 00:05:00 GMT</pubDate><guid>http://blog.csdn.net/tonyqus/archive/2005/01/25/1399437.aspx</guid><wfw:comment>http://blog.csdn.net/tonyqus/comments/1399437.aspx</wfw:comment><comments>http://blog.csdn.net/tonyqus/archive/2005/01/25/1399437.aspx#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://blog.csdn.net/tonyqus/comments/commentRss/1399437.aspx</wfw:commentRss><trackback:ping>http://tb.blog.csdn.net/TrackBack.aspx?PostId=1399437</trackback:ping><description>
   session_start()
该函数表明本页需要使用session，如果不使用该函数，将有可能导致其他函数和session变量无法正常使用，类似于初始化函数。
   
   session_register()
该函数用于注册普通变量为Session变量，如
$a=1;
session_register(&amp;quot;a&amp;quot;);
   
   session_unregister()
该函数将已经注册的Session变量释放
   
   session_is_registered()
判断特定的Session变量是否被注册，返回bool型
   
   $HTTP_SESSION_VARS[&amp;#39; varname &amp;#39;]
用于获得已注册的Session变量的值，如果Session未注册，返回空
   
&lt;img src ="http://blog.csdn.net/tonyqus/aggbug/1399437.aspx" width = "1" height = "1" /&gt;</description></item><item><dc:creator>tonyqus</dc:creator><title>php安装配置</title><link>http://blog.csdn.net/tonyqus/archive/2005/01/24/1399438.aspx</link><pubDate>Mon, 24 Jan 2005 23:52:00 GMT</pubDate><guid>http://blog.csdn.net/tonyqus/archive/2005/01/24/1399438.aspx</guid><wfw:comment>http://blog.csdn.net/tonyqus/comments/1399438.aspx</wfw:comment><comments>http://blog.csdn.net/tonyqus/archive/2005/01/24/1399438.aspx#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://blog.csdn.net/tonyqus/comments/commentRss/1399438.aspx</wfw:commentRss><trackback:ping>http://tb.blog.csdn.net/TrackBack.aspx?PostId=1399438</trackback:ping><description>IIS环境

    我们以php安装目录c:\php为例，首先找到c:\php\sapi\php4ts.dll文件，拷贝到windows系统目录（WindowsXP中为%windows%/system32目录）。
    
    在IIS中添加文件关联，将.php文件映射到c:\php\sapi\php4isapi.dll。
    
    &lt;&lt;img src ="http://blog.csdn.net/tonyqus/aggbug/1399438.aspx" width = "1" height = "1" /&gt;</description></item><item><dc:creator>tonyqus</dc:creator><title>获得php.ini中的设置值</title><link>http://blog.csdn.net/tonyqus/archive/2004/12/05/1399469.aspx</link><pubDate>Sun, 05 Dec 2004 09:42:00 GMT</pubDate><guid>http://blog.csdn.net/tonyqus/archive/2004/12/05/1399469.aspx</guid><wfw:comment>http://blog.csdn.net/tonyqus/comments/1399469.aspx</wfw:comment><comments>http://blog.csdn.net/tonyqus/archive/2004/12/05/1399469.aspx#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://blog.csdn.net/tonyqus/comments/commentRss/1399469.aspx</wfw:commentRss><trackback:ping>http://tb.blog.csdn.net/TrackBack.aspx?PostId=1399469</trackback:ping><description>get_cfg_var(string varname)，其中varname为php.ini中的变量名，如session.save_path（session临时文件存放路径）&lt;img src ="http://blog.csdn.net/tonyqus/aggbug/1399469.aspx" width = "1" height = "1" /&gt;</description></item></channel></rss>