<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>ada的博客 – 点滴分享，用心品味生活</title>
	<atom:link href="http://www.jianghuimin.com/feed" rel="self" type="application/rss+xml" />
	<link>http://www.jianghuimin.com</link>
	<description>喜欢产品设计，移动开发，捣鼓网站相关东东</description>
	<lastBuildDate>Wed, 16 May 2012 01:50:37 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.2</generator>
		<item>
		<title>linode apache 部署web.py配置</title>
		<link>http://www.jianghuimin.com/site/1636.html</link>
		<comments>http://www.jianghuimin.com/site/1636.html#comments</comments>
		<pubDate>Wed, 16 May 2012 01:49:14 +0000</pubDate>
		<dc:creator>mood</dc:creator>
				<category><![CDATA[网站]]></category>
		<category><![CDATA[apache]]></category>
		<category><![CDATA[linode]]></category>
		<category><![CDATA[webpy]]></category>

		<guid isPermaLink="false">http://www.jianghuimin.com/?p=1636</guid>
		<description><![CDATA[wget http://webpy.org/static/web.py-0.36.tar.gz tar -zxvf web.py-0.36.tar.gz cd web.py-0.36 python setup.py install apt-get install libapache2-mod-wsgi service apache2 restart vi apache2.conf 添加 WSGIScriptAlias /12306 "/srv/www/quancha.cn/public_html/12306/code.py/" Alias /12306/static "/srv/www/quancha.cn/public_html/12306/static/" AddType text/html .py &#60;Directory "/srv/www/quancha.cn/public_html/12306"&#62;     Order allow,deny     Allow from all &#60;/Directory&#62; service apache2 restart 使用 http://ip/12306就可以访问网站了。]]></description>
			<content:encoded><![CDATA[<p>wget <a href="http://webpy.org/static/web.py-0.36.tar.gz">http://webpy.org/static/web.py-0.36.tar.gz</a></p>
<p>tar -zxvf web.py-0.36.tar.gz</p>
<p>cd web.py-0.36</p>
<p>python setup.py install</p>
<p>apt-get install libapache2-mod-wsgi</p>
<p>service apache2 restart</p>
<p>vi apache2.conf</p>
<p>添加</p>
<p><strong>WSGIScriptAlias /12306 "/srv/www/quancha.cn/public_html/12306/code.py/"</strong></p>
<p><strong>Alias /12306/static "/srv/www/quancha.cn/public_html/12306/static/"</strong></p>
<p><strong>AddType text/html .py</strong></p>
<p><strong>&lt;Directory "/srv/www/quancha.cn/public_html/12306"&gt;</strong></p>
<p><strong>    Order allow,deny</strong></p>
<p><strong>    Allow from all</strong></p>
<p><strong>&lt;/Directory&gt;</strong></p>
<p>service apache2 restart</p>
<p>使用 <a href="http://ip/12306">http://ip/12306</a>就可以访问网站了。</p>
]]></content:encoded>
			<wfw:commentRss>http://www.jianghuimin.com/site/1636.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>linode vps ubuntu 安装subversion</title>
		<link>http://www.jianghuimin.com/whoami/1633.html</link>
		<comments>http://www.jianghuimin.com/whoami/1633.html#comments</comments>
		<pubDate>Mon, 14 May 2012 08:22:47 +0000</pubDate>
		<dc:creator>mood</dc:creator>
				<category><![CDATA[杂谈]]></category>
		<category><![CDATA[linode]]></category>
		<category><![CDATA[svn]]></category>

		<guid isPermaLink="false">http://www.jianghuimin.com/?p=1633</guid>
		<description><![CDATA[root@li385-186:/home# sudo apt-get install subversion root@li385-186:/home# sudo apt-get install libapache2-svn root@li385-186:/home# cd /home/ root@li385-186:/home# mkdir svn root@li385-186:/home# chown root:www-data svn -R root@li385-186:/home# chmod u+s svn -R root@li385-186:/home# chmod g+s svn -R root@li385-186:/home# chmod 770 svn -R root@li385-186:/home/svn# svnadmin create hct root@li385-186:/home/svn# chmod g+ws hct -R root@li385-186:/home/svn# vi /etc/apache2/mods-enabled/dav_svn.conf 加入以下内容 DAV svn SVNPath /home/svn/hct AuthType Basic [...]]]></description>
			<content:encoded><![CDATA[<p>root@li385-186:/home# sudo apt-get install subversion</p>
<p>root@li385-186:/home# sudo apt-get install libapache2-svn</p>
<p>root@li385-186:/home# cd /home/</p>
<p>root@li385-186:/home# mkdir svn</p>
<p>root@li385-186:/home# chown root:www-data svn -R</p>
<p>root@li385-186:/home# chmod u+s svn -R</p>
<p>root@li385-186:/home# chmod g+s svn -R</p>
<p>root@li385-186:/home# chmod 770 svn -R</p>
<p>root@li385-186:/home/svn# svnadmin create hct</p>
<p>root@li385-186:/home/svn# chmod g+ws hct -R</p>
<p>root@li385-186:/home/svn# vi /etc/apache2/mods-enabled/dav_svn.conf<br />
加入以下内容</p>
<p><Location /svn/hct><br />
   DAV svn<br />
   SVNPath /home/svn/hct<br />
   AuthType Basic<br />
   AuthName "hct Subversion Repository"<br />
   AuthUserFile /etc/subversion/passwd<br />
   AuthzSVNAccessFile /etc/subversion/access<br />
# <LimitExcept GET PROPFIND OPTIONS REPORT><br />
   Require valid-user<br />
# </LimitExcept><br />
</Location></p>
<p>添加用户：<br />
root@li385-186:/home/svn# sudo htpasswd -c /etc/subversion/passwd hct<br />
New password:<br />
Re-type new password:<br />
Adding password for user hct<br />
root@li385-186:/home/svn# vi /etc/subversion/access<br />
加入内容</p>
<p>[groups]<br />
admin = chenhe<br />
# Default access rule for ALL repositories<br />
# Everyone can read, admins can write, Dan German is excluded.<br />
[/]<br />
* = r<br />
@admin = rw<br />
# Allow developers complete access to their project repos<br />
[hct:/]<br />
@admin = rw</p>
<p>重启apache即可</p>
<p>root@li385-186:/home/svn# /etc/init.d/apache2 restart</p>
<p>现在建立了hct repository 和 hct开发者需要密码访问hct repository</p>
]]></content:encoded>
			<wfw:commentRss>http://www.jianghuimin.com/whoami/1633.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Python urllib2 设置超时时间</title>
		<link>http://www.jianghuimin.com/program/python/1631.html</link>
		<comments>http://www.jianghuimin.com/program/python/1631.html#comments</comments>
		<pubDate>Thu, 10 May 2012 07:51:05 +0000</pubDate>
		<dc:creator>mood</dc:creator>
				<category><![CDATA[python]]></category>

		<guid isPermaLink="false">http://www.jianghuimin.com/?p=1631</guid>
		<description><![CDATA[import socket import urllib2 socket.setdefaulttimeout(seconds) open = urllib2.urlopen("http://*****.com") 通过socket.setdefaulttimeout() 设置了全局默认超时时间，从而给urllibe2.urlopen()也设置了默认的超时时间]]></description>
			<content:encoded><![CDATA[<p>import socket<br />
import urllib2 </p>
<p>socket.setdefaulttimeout(seconds) </p>
<p>open = urllib2.urlopen("http://*****.com")</p>
<p>通过socket.setdefaulttimeout() 设置了全局默认超时时间，从而给urllibe2.urlopen()也设置了默认的超时时间</p>
]]></content:encoded>
			<wfw:commentRss>http://www.jianghuimin.com/program/python/1631.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>gae部署webapp helloword</title>
		<link>http://www.jianghuimin.com/program/python/1629.html</link>
		<comments>http://www.jianghuimin.com/program/python/1629.html#comments</comments>
		<pubDate>Wed, 09 May 2012 12:38:57 +0000</pubDate>
		<dc:creator>mood</dc:creator>
				<category><![CDATA[python]]></category>

		<guid isPermaLink="false">http://www.jianghuimin.com/?p=1629</guid>
		<description><![CDATA[部署代码后，浏览器显示500错误 log日志 Traceback (most recent call last): File "C:\Program Files\Google\google_appengine\google\appengine\runtime\wsgi.py", line 187, in Handle handler = _config_handle.add_wsgi_middleware(self._LoadHandler()) File "C:\Program Files\Google\google_appengine\google\appengine\runtime\wsgi.py", line 239, in _LoadHandler raise ImportError('%s has no attribute %s' % (handler, name)) ImportError: has no attribute app 原因 This line is incorrect: application = webapp2.WSGIApplication([('/', MainPage)], debug=True) The correct line should be: app = [...]]]></description>
			<content:encoded><![CDATA[<p>部署代码后，浏览器显示500错误</p>
<p>log日志<br />
Traceback (most recent call last):<br />
  File "C:\Program Files\Google\google_appengine\google\appengine\runtime\wsgi.py", line 187, in Handle<br />
    handler = _config_handle.add_wsgi_middleware(self._LoadHandler())<br />
  File "C:\Program Files\Google\google_appengine\google\appengine\runtime\wsgi.py", line 239, in _LoadHandler<br />
    raise ImportError('%s has no attribute %s' % (handler, name))<br />
ImportError: <module 'main' from 'D:\gaehct\huochetong\main.py'> has no attribute app</p>
<p>原因<br />
This line is incorrect:</p>
<p>application = webapp2.WSGIApplication([('/', MainPage)], debug=True)</p>
<p>The correct line should be:</p>
<p>app = webapp2.WSGIApplication([('/', MainPage)], debug=True)</p>
]]></content:encoded>
			<wfw:commentRss>http://www.jianghuimin.com/program/python/1629.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>ubuntu 安装 pil</title>
		<link>http://www.jianghuimin.com/program/python/1627.html</link>
		<comments>http://www.jianghuimin.com/program/python/1627.html#comments</comments>
		<pubDate>Wed, 09 May 2012 07:37:34 +0000</pubDate>
		<dc:creator>mood</dc:creator>
				<category><![CDATA[python]]></category>
		<category><![CDATA[pil]]></category>

		<guid isPermaLink="false">http://www.jianghuimin.com/?p=1627</guid>
		<description><![CDATA[sudo apt-get install python-imaging]]></description>
			<content:encoded><![CDATA[<p>sudo apt-get install python-imaging</p>
]]></content:encoded>
			<wfw:commentRss>http://www.jianghuimin.com/program/python/1627.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>64位win7如何安装PIL</title>
		<link>http://www.jianghuimin.com/program/python/1625.html</link>
		<comments>http://www.jianghuimin.com/program/python/1625.html#comments</comments>
		<pubDate>Wed, 09 May 2012 02:32:30 +0000</pubDate>
		<dc:creator>mood</dc:creator>
				<category><![CDATA[python]]></category>

		<guid isPermaLink="false">http://www.jianghuimin.com/?p=1625</guid>
		<description><![CDATA[python有64位的，pil官方只有32位的。 安装时会提示找不到python的安装路径。 64位Win7下无法安装PIL库的原因 PIL官方http://www.pythonware.com/products/pil/提供的PIL二进制安装库都是32位的。 64位程序和32位程序检测注册表的位置是不一样的： 64-bit: HKEY_LOCAL_MACHINE\SOFTWARE\Python 32-bit: HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Python 我安装的是Python2.7 x64版，所以相关信息是在 HKEY_LOCAL_MACHINE\SOFTWARE\Python下面，32位程序在HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Python 下面找Python安装信息，肯定是找不到了。 解决： 幸好有人提供了非官方的64位库（官方源码编译版）。 http://www.lfd.uci.edu/~gohlke/pythonlibs/]]></description>
			<content:encoded><![CDATA[<p>python有64位的，pil官方只有32位的。</p>
<p>安装时会提示找不到python的安装路径。</p>
<p>64位Win7下无法安装PIL库的原因</p>
<p>PIL官方http://www.pythonware.com/products/pil/提供的PIL二进制安装库都是32位的。</p>
<p>64位程序和32位程序检测注册表的位置是不一样的：</p>
<p>64-bit: HKEY_LOCAL_MACHINE\SOFTWARE\Python </p>
<p>32-bit: HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Python </p>
<p>我安装的是Python2.7 x64版，所以相关信息是在 HKEY_LOCAL_MACHINE\SOFTWARE\Python下面，32位程序在HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Python 下面找Python安装信息，肯定是找不到了。</p>
<p><strong>解决：</strong></p>
<p>幸好有人提供了非官方的64位库（官方源码编译版）。</p>
<p>http://www.lfd.uci.edu/~gohlke/pythonlibs/</p>
]]></content:encoded>
			<wfw:commentRss>http://www.jianghuimin.com/program/python/1625.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>win7显示文件扩展名后缀</title>
		<link>http://www.jianghuimin.com/whoami/1623.html</link>
		<comments>http://www.jianghuimin.com/whoami/1623.html#comments</comments>
		<pubDate>Mon, 07 May 2012 06:18:48 +0000</pubDate>
		<dc:creator>mood</dc:creator>
				<category><![CDATA[杂谈]]></category>
		<category><![CDATA[win7]]></category>
		<category><![CDATA[扩展名]]></category>

		<guid isPermaLink="false">http://www.jianghuimin.com/?p=1623</guid>
		<description><![CDATA[第一步: 打开资源管理器，浏览任意目录下的文件。这时候你会发现默认是找不到工具菜单的(我就被迷惑了好久)，最后终于找到，按一下“Alt”键就可以呼出工具菜单，点击“工具” >> “文件夹选项” 弹出文件夹选项对话框。 第二步: 这时候的修改就跟xp一样了，点击“查看”， 将“隐藏已知文件类型的扩展名”前面的勾选状态取消，点击“确定” 搞定。]]></description>
			<content:encoded><![CDATA[<p>第一步: 打开资源管理器，浏览任意目录下的文件。这时候你会发现默认是找不到工具菜单的(我就被迷惑了好久)，最后终于找到，按一下“Alt”键就可以呼出工具菜单，点击“工具” >> “文件夹选项” 弹出文件夹选项对话框。 </p>
<p>第二步: 这时候的修改就跟xp一样了，点击“查看”， 将“隐藏已知文件类型的扩展名”前面的勾选状态取消，点击“确定” 搞定。</p>
]]></content:encoded>
			<wfw:commentRss>http://www.jianghuimin.com/whoami/1623.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>securecrt 导入用户session</title>
		<link>http://www.jianghuimin.com/whoami/1620.html</link>
		<comments>http://www.jianghuimin.com/whoami/1620.html#comments</comments>
		<pubDate>Fri, 04 May 2012 07:45:05 +0000</pubDate>
		<dc:creator>mood</dc:creator>
				<category><![CDATA[杂谈]]></category>
		<category><![CDATA[securecrt]]></category>

		<guid isPermaLink="false">http://www.jianghuimin.com/?p=1620</guid>
		<description><![CDATA[重新安装后把之前的配置文件拷到新机器上即可 xp目录默认为C:\Documents and Settings\用户名\Application Data\VanDyke\Config win7 %userprofile%\AppData\Roaming\VanDyke\Config\ 复制session目录下的文件到新安装的位置即可。]]></description>
			<content:encoded><![CDATA[<p>重新安装后把之前的配置文件拷到新机器上即可<br />
xp目录默认为C:\Documents and Settings\用户名\Application Data\VanDyke\Config<br />
win7 %userprofile%\AppData\Roaming\VanDyke\Config\</p>
<p>复制session目录下的文件到新安装的位置即可。</p>
]]></content:encoded>
			<wfw:commentRss>http://www.jianghuimin.com/whoami/1620.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>PHP单例模式</title>
		<link>http://www.jianghuimin.com/program/php/1615.html</link>
		<comments>http://www.jianghuimin.com/program/php/1615.html#comments</comments>
		<pubDate>Thu, 26 Apr 2012 02:28:49 +0000</pubDate>
		<dc:creator>mood</dc:creator>
				<category><![CDATA[PHP]]></category>
		<category><![CDATA[单例]]></category>

		<guid isPermaLink="false">http://www.jianghuimin.com/?p=1615</guid>
		<description><![CDATA[1.单例类只能创建唯一的实例 2.单例类只能自己创建这一唯一实例 3.单例类需要为外界提供访问这个实例的方法 4.单例类多用于保存数据库连接的实例 例 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 class Singleton &#123; private $db; private static $_instance; &#160; private [...]]]></description>
			<content:encoded><![CDATA[<p>1.单例类只能创建唯一的实例<br />
2.单例类只能自己创建这一唯一实例<br />
3.单例类需要为外界提供访问这个实例的方法<br />
4.单例类多用于保存数据库连接的实例</p>
<p>例</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
</pre></td><td class="code"><pre class="php" style="font-family:monospace;"><span style="color: #000000; font-weight: bold;">class</span> Singleton
<span style="color: #009900;">&#123;</span>
  <span style="color: #000000; font-weight: bold;">private</span> <span style="color: #000088;">$db</span><span style="color: #339933;">;</span>
  <span style="color: #000000; font-weight: bold;">private</span> static <span style="color: #000088;">$_instance</span><span style="color: #339933;">;</span>
&nbsp;
  <span style="color: #000000; font-weight: bold;">private</span> <span style="color: #000000; font-weight: bold;">function</span> __construct<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span>
  <span style="color: #009900;">&#123;</span>
    <span style="color: #000088;">$this</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">db</span> <span style="color: #339933;">=</span> <span style="color: #990000;">mysql_connect</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$servername</span><span style="color: #339933;">,</span><span style="color: #000088;">$username</span><span style="color: #339933;">,</span><span style="color: #000088;">$password</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
  <span style="color: #009900;">&#125;</span>
&nbsp;
  <span style="color: #000000; font-weight: bold;">public</span> <span style="color: #000000; font-weight: bold;">function</span> getInstance<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span>
  <span style="color: #009900;">&#123;</span>
    <span style="color: #b1b100;">if</span><span style="color: #009900;">&#40;</span><span style="color: #339933;">!</span><span style="color: #009900;">&#40;</span><span style="color: #000000; font-weight: bold;">self</span><span style="color: #339933;">::</span><span style="color: #000088;">$_instance</span> instanceof <span style="color: #000000; font-weight: bold;">self</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span>
    <span style="color: #009900;">&#123;</span>
      <span style="color: #000000; font-weight: bold;">self</span><span style="color: #339933;">::</span><span style="color: #000088;">$_instance</span> <span style="color: #339933;">=</span> <span style="color: #000000; font-weight: bold;">new</span> <span style="color: #000000; font-weight: bold;">self</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
    <span style="color: #009900;">&#125;</span>
    <span style="color: #b1b100;">return</span> <span style="color: #000000; font-weight: bold;">self</span><span style="color: #339933;">::</span><span style="color: #000088;">$_instance</span><span style="color: #339933;">;</span>
  <span style="color: #009900;">&#125;</span>
&nbsp;
  <span style="color: #000000; font-weight: bold;">public</span> <span style="color: #000000; font-weight: bold;">function</span> __clone<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span>
  <span style="color: #009900;">&#123;</span>
    <span style="color: #990000;">trigger_error</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'Clone is not allow'</span><span style="color: #339933;">,</span><span style="color: #009900; font-weight: bold;">E_USER_ERROR</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
  <span style="color: #009900;">&#125;</span>
&nbsp;
  <span style="color: #000000; font-weight: bold;">public</span> <span style="color: #000000; font-weight: bold;">function</span> test<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span>
  <span style="color: #009900;">&#123;</span>
    <span style="color: #b1b100;">echo</span> <span style="color: #0000ff;">'test'</span><span style="color: #339933;">;</span>
  <span style="color: #009900;">&#125;</span>
&nbsp;
<span style="color: #009900;">&#125;</span>
&nbsp;
<span style="color: #666666; font-style: italic;">// 这个写法会出错，因为构造方法被声明为private</span>
<span style="color: #000088;">$test</span><span style="color: #339933;">=</span><span style="color: #000000; font-weight: bold;">new</span> Singleton<span style="color: #339933;">;</span>
&nbsp;
<span style="color: #666666; font-style: italic;">// 下面将得到Example类的单例对象</span>
<span style="color: #000088;">$test</span><span style="color: #339933;">=</span> Singleton<span style="color: #339933;">::</span><span style="color: #004000;">getInstance</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #000088;">$test</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">test</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
&nbsp;
<span style="color: #666666; font-style: italic;">// 复制对象将导致一个E_USER_ERROR.</span>
<span style="color: #000088;">$test_clone</span><span style="color: #339933;">=</span>clone <span style="color: #000088;">$test</span><span style="color: #339933;">;</span></pre></td></tr></table></div>

]]></content:encoded>
			<wfw:commentRss>http://www.jianghuimin.com/program/php/1615.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>php __call()函数</title>
		<link>http://www.jianghuimin.com/program/php/1611.html</link>
		<comments>http://www.jianghuimin.com/program/php/1611.html#comments</comments>
		<pubDate>Tue, 17 Apr 2012 03:23:19 +0000</pubDate>
		<dc:creator>mood</dc:creator>
				<category><![CDATA[PHP]]></category>

		<guid isPermaLink="false">http://www.jianghuimin.com/?p=1611</guid>
		<description><![CDATA[__call() 是PHP里的一个魔术方法，当你调用一个类里的方法，而该方法又不存在里，就会自动调用__call() ; __call 的第一个参数 就是你要调用的方法 ，第二个参数是你调用方法传的参数被当作数据传进来。]]></description>
			<content:encoded><![CDATA[<p>__call()  是PHP里的一个魔术方法，当你调用一个类里的方法，而该方法又不存在里，就会自动调用__call() ;</p>
<p>__call 的第一个参数 就是你要调用的方法 ，第二个参数是你调用方法传的参数被当作数据传进来。</p>
]]></content:encoded>
			<wfw:commentRss>http://www.jianghuimin.com/program/php/1611.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

