<?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>那些花儿</title>
	<atom:link href="http://www.iphpmysql.cn/feed" rel="self" type="application/rss+xml" />
	<link>http://www.iphpmysql.cn</link>
	<description>存着IT的理性,掺杂文学的浪漫…</description>
	<lastBuildDate>Sun, 29 Apr 2012 07:15:44 +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>mysql update case when then select case when then</title>
		<link>http://www.iphpmysql.cn/mysql-update-case-when-then-select-case-when-then.html</link>
		<comments>http://www.iphpmysql.cn/mysql-update-case-when-then-select-case-when-then.html#comments</comments>
		<pubDate>Sun, 29 Apr 2012 07:14:39 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[php+mysql]]></category>

		<guid isPermaLink="false">http://www.iphpmysql.cn/?p=879</guid>
		<description><![CDATA[SELECT CASE WHEN a &#62; b THEN &#8217;a&#62;b&#8217; WHEN a = b THEN &#8217;a=b&#8217; ELSE &#8217;a&#60;b&#8217; END AS &#8217;结果&#8217; FROM maxthree update maxthree set a= case when a&#62;b then 1 when a=b then 0 when a&#60;b then 2 end]]></description>
		<wfw:commentRss>http://www.iphpmysql.cn/mysql-update-case-when-then-select-case-when-then.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>php求平均数</title>
		<link>http://www.iphpmysql.cn/php-pingjun.html</link>
		<comments>http://www.iphpmysql.cn/php-pingjun.html#comments</comments>
		<pubDate>Wed, 25 Apr 2012 12:47:12 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[php+mysql]]></category>

		<guid isPermaLink="false">http://www.iphpmysql.cn/?p=876</guid>
		<description><![CDATA[php没有内置的求平均数的函数 简单的: $arr=array(1,2,3,4,5); echo array_sum($arr)/count($arr); 自己写一个函数: function function avg($value = ”, $sign=&#8217;,'){ if (empty($value)){return 0;} if (!is_array($value)){$value = explode($sign,trim($value));} return array_sum($value)/count($value); } echo avg($arr);]]></description>
		<wfw:commentRss>http://www.iphpmysql.cn/php-pingjun.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>php时间戳转换</title>
		<link>http://www.iphpmysql.cn/php%e6%97%b6%e9%97%b4%e6%88%b3%e8%bd%ac%e6%8d%a2.html</link>
		<comments>http://www.iphpmysql.cn/php%e6%97%b6%e9%97%b4%e6%88%b3%e8%bd%ac%e6%8d%a2.html#comments</comments>
		<pubDate>Sat, 10 Mar 2012 01:08:50 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[php+mysql]]></category>

		<guid isPermaLink="false">http://www.iphpmysql.cn/?p=870</guid>
		<description><![CDATA[$time1 = “2012-03-10 00:00:00&#8243;; $time2 = strtotime($time1); echo $time2.”&#60;br/&#62;”; echo date(&#8216;Y-m-d h:i:s&#8217;,$time2);]]></description>
		<wfw:commentRss>http://www.iphpmysql.cn/php%e6%97%b6%e9%97%b4%e6%88%b3%e8%bd%ac%e6%8d%a2.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>win2003 服务器 打印机 Microsoft XPS Document Writer 所需的驱动程序 Microsoft XPS</title>
		<link>http://www.iphpmysql.cn/win2003-%e6%9c%8d%e5%8a%a1%e5%99%a8-%e6%89%93%e5%8d%b0%e6%9c%ba-microsoft-xps-document-writer-%e6%89%80%e9%9c%80%e7%9a%84%e9%a9%b1%e5%8a%a8%e7%a8%8b%e5%ba%8f-microsoft-xps.html</link>
		<comments>http://www.iphpmysql.cn/win2003-%e6%9c%8d%e5%8a%a1%e5%99%a8-%e6%89%93%e5%8d%b0%e6%9c%ba-microsoft-xps-document-writer-%e6%89%80%e9%9c%80%e7%9a%84%e9%a9%b1%e5%8a%a8%e7%a8%8b%e5%ba%8f-microsoft-xps.html#comments</comments>
		<pubDate>Fri, 06 Jan 2012 00:44:31 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[学海无涯]]></category>

		<guid isPermaLink="false">http://www.iphpmysql.cn/?p=866</guid>
		<description><![CDATA[错误事件ID：1111一般都是两个相同事件ID的错误同时出现，其错误描述分别为： 打印机 Microsoft XPS Document Writer 所需的驱动程序 Microsoft XPS Document Writer 未知。登录之前，请与管理员联系，安装驱动程序。 有关更多信息，请参阅在 http://go.microsoft.com/fwlink/events.asp 的帮助和支持中心。 打印机 Microsoft Office Document Image Writer 所需的驱动程序 Microsoft Office Document Image Writer Driver 未知。登录之前，请与管理员联系，安装驱动程序。 有关更多信息，请参阅在 http://go.microsoft.com/fwlink/events.asp 的帮助和支持中心。 原因： 源于计算机开启了远程桌面的功能，当客户端连接时，在连接选项的”本地资源”中开启了”打印机”。 记得哦：哪怕是用命令行，mstsc /v  都有可能遇到此类问题哦。 &#160;]]></description>
		<wfw:commentRss>http://www.iphpmysql.cn/win2003-%e6%9c%8d%e5%8a%a1%e5%99%a8-%e6%89%93%e5%8d%b0%e6%9c%ba-microsoft-xps-document-writer-%e6%89%80%e9%9c%80%e7%9a%84%e9%a9%b1%e5%8a%a8%e7%a8%8b%e5%ba%8f-microsoft-xps.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>ecshop购物车退出不清空</title>
		<link>http://www.iphpmysql.cn/ecshop%e8%b4%ad%e7%89%a9%e8%bd%a6%e9%80%80%e5%87%ba%e4%b8%8d%e6%b8%85%e7%a9%ba.html</link>
		<comments>http://www.iphpmysql.cn/ecshop%e8%b4%ad%e7%89%a9%e8%bd%a6%e9%80%80%e5%87%ba%e4%b8%8d%e6%b8%85%e7%a9%ba.html#comments</comments>
		<pubDate>Tue, 20 Dec 2011 04:46:13 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[ECSHOP]]></category>

		<guid isPermaLink="false">http://www.iphpmysql.cn/?p=864</guid>
		<description><![CDATA[Ecshop购物车机制是用户打开网站,就会在session表插入一条session,登录时候更新这条session. 。此时如果用户将商品添加至购物车，就会在cart表中添加以session_id为Id的商品数据。而用户退出登录时系统会调用destroy_session()函数，清购物车。 在includes/cls_session.php文件中: function destroy_session() {   .此处省略部分代码 /*退出清购物车。*/ $this-&#62;db-&#62;query(&#8216;DELETE FROM &#8216; . $GLOBALS['ecs']-&#62;table(&#8216;cart&#8217;) . ” WHERE session_id = &#8216;$this-&#62;session_id&#8217;“ ); 此处省略部分代码 ｝ 所以此时退出购物车就被清空了，下面是本人的解决方法： 说说思路： /*登陆时，将当前user_id写进cart表中的user_id字段,清购物车时只清use_id为空的相关数据*/ /* 当下次登陆时,将session表中上次user_id下的session_id修改为当前登陆的session_id*/ /* 这样就实现了购物车在退出的情况下,永久保留登陆用户购买的产品.*/ /*因为只要用户不删除，都会留在购物车中，但商品过一段时间会售完，此时再留在购物车中就没有意义了，所以检查如果商品己下架，则从购物车中删除。此检查可能过于频烦，你可以设定检查时间间隔（此功能些处没有添加）*/ 具体实现代码： 1.cls_session.php function destroy_session() {   .此处省略部分代码 /*退出不清购物车：清购物车时只清use_id为空的数据*/ $this-&#62;db-&#62;query(&#8216;DELETE FROM &#8216; . $GLOBALS['ecs']-&#62;table(&#8216;cart&#8217;) . ” WHERE session_id = &#8216;$this-&#62;session_id&#8217; AND user_id =””); 此处省略部分代码｝ 2.lib.main.php /** * 更新用户SESSION,COOKIE及登录时间、登录次数。 [...]]]></description>
		<wfw:commentRss>http://www.iphpmysql.cn/ecshop%e8%b4%ad%e7%89%a9%e8%bd%a6%e9%80%80%e5%87%ba%e4%b8%8d%e6%b8%85%e7%a9%ba.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>WindowsXP/2003如何修改远程桌面端口(3389端口)</title>
		<link>http://www.iphpmysql.cn/windowsxp2003%e5%a6%82%e4%bd%95%e4%bf%ae%e6%94%b9%e8%bf%9c%e7%a8%8b%e6%a1%8c%e9%9d%a2%e7%ab%af%e5%8f%a33389%e7%ab%af%e5%8f%a3.html</link>
		<comments>http://www.iphpmysql.cn/windowsxp2003%e5%a6%82%e4%bd%95%e4%bf%ae%e6%94%b9%e8%bf%9c%e7%a8%8b%e6%a1%8c%e9%9d%a2%e7%ab%af%e5%8f%a33389%e7%ab%af%e5%8f%a3.html#comments</comments>
		<pubDate>Tue, 13 Dec 2011 07:46:38 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[学海无涯]]></category>

		<guid isPermaLink="false">http://www.iphpmysql.cn/?p=861</guid>
		<description><![CDATA[修改： HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control \TerminalServer\WinStations\RDP-Tcp\PortNumber 鼠标双击PortNumber，键入新的端口号（基数为十进制） 注销或者重启计算机 可以使用netstat -a查看是否生效]]></description>
		<wfw:commentRss>http://www.iphpmysql.cn/windowsxp2003%e5%a6%82%e4%bd%95%e4%bf%ae%e6%94%b9%e8%bf%9c%e7%a8%8b%e6%a1%8c%e9%9d%a2%e7%ab%af%e5%8f%a33389%e7%ab%af%e5%8f%a3.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>ie下面ps处理的png图片问题</title>
		<link>http://www.iphpmysql.cn/ie%e4%b8%8b%e9%9d%a2ps%e5%a4%84%e7%90%86%e7%9a%84png%e5%9b%be%e7%89%87%e9%97%ae%e9%a2%98.html</link>
		<comments>http://www.iphpmysql.cn/ie%e4%b8%8b%e9%9d%a2ps%e5%a4%84%e7%90%86%e7%9a%84png%e5%9b%be%e7%89%87%e9%97%ae%e9%a2%98.html#comments</comments>
		<pubDate>Sat, 12 Nov 2011 07:54:07 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[学海无涯]]></category>

		<guid isPermaLink="false">http://www.iphpmysql.cn/?p=855</guid>
		<description><![CDATA[在工作中发现这样一个问题,ps处理一个png图片,假如将模式由索引改为RGB之后,背景色就会变成绿色(正常的应该是白色) 在索引的基础上修改就没有此类问题。 索引模式： RGB模式:  &#160;]]></description>
		<wfw:commentRss>http://www.iphpmysql.cn/ie%e4%b8%8b%e9%9d%a2ps%e5%a4%84%e7%90%86%e7%9a%84png%e5%9b%be%e7%89%87%e9%97%ae%e9%a2%98.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>电脑颜色调整对眼睛好点</title>
		<link>http://www.iphpmysql.cn/%e7%94%b5%e8%84%91%e9%a2%9c%e8%89%b2%e8%b0%83%e6%95%b4%e5%af%b9%e7%9c%bc%e7%9d%9b%e5%a5%bd%e7%82%b9.html</link>
		<comments>http://www.iphpmysql.cn/%e7%94%b5%e8%84%91%e9%a2%9c%e8%89%b2%e8%b0%83%e6%95%b4%e5%af%b9%e7%9c%bc%e7%9d%9b%e5%a5%bd%e7%82%b9.html#comments</comments>
		<pubDate>Fri, 21 Oct 2011 09:21:50 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[网海拾贝]]></category>

		<guid isPermaLink="false">http://www.iphpmysql.cn/?p=851</guid>
		<description><![CDATA[【为了您的视力请对电脑设置】桌面-&#62;右键-&#62;属性-&#62;外观-&#62;高级－&#62;项目选择（窗口）、颜色1（L）选择（其它）将色调改为85，饱和度123，亮度205－&#62;添加到自定义颜色－&#62;在自定义颜色选定点确定－&#62;确定。以上为眼科专家配置，长时间使用能有效保护视力。]]></description>
		<wfw:commentRss>http://www.iphpmysql.cn/%e7%94%b5%e8%84%91%e9%a2%9c%e8%89%b2%e8%b0%83%e6%95%b4%e5%af%b9%e7%9c%bc%e7%9d%9b%e5%a5%bd%e7%82%b9.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>ecshop添加商品分类后,前台可见,后台不可见</title>
		<link>http://www.iphpmysql.cn/ecshop%e6%b7%bb%e5%8a%a0%e5%95%86%e5%93%81%e5%88%86%e7%b1%bb%e5%90%8e%e5%89%8d%e5%8f%b0%e5%8f%af%e8%a7%81%e5%90%8e%e5%8f%b0%e4%b8%8d%e5%8f%af%e8%a7%81.html</link>
		<comments>http://www.iphpmysql.cn/ecshop%e6%b7%bb%e5%8a%a0%e5%95%86%e5%93%81%e5%88%86%e7%b1%bb%e5%90%8e%e5%89%8d%e5%8f%b0%e5%8f%af%e8%a7%81%e5%90%8e%e5%8f%b0%e4%b8%8d%e5%8f%af%e8%a7%81.html#comments</comments>
		<pubDate>Wed, 12 Oct 2011 05:34:00 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[ECSHOP]]></category>

		<guid isPermaLink="false">http://www.iphpmysql.cn/?p=848</guid>
		<description><![CDATA[temp\static_caches将这个目录下面的文件删除就可以了，注意只删除里面的文件，不能删除目录。]]></description>
		<wfw:commentRss>http://www.iphpmysql.cn/ecshop%e6%b7%bb%e5%8a%a0%e5%95%86%e5%93%81%e5%88%86%e7%b1%bb%e5%90%8e%e5%89%8d%e5%8f%b0%e5%8f%af%e8%a7%81%e5%90%8e%e5%8f%b0%e4%b8%8d%e5%8f%af%e8%a7%81.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>关于任务计划指定错误：0X80041315、0X80070005拒绝访问</title>
		<link>http://www.iphpmysql.cn/%e5%85%b3%e4%ba%8e%e4%bb%bb%e5%8a%a1%e8%ae%a1%e5%88%92%e6%8c%87%e5%ae%9a%e9%94%99%e8%af%af%ef%bc%9a0x80041315%e3%80%810x80070005%e6%8b%92%e7%bb%9d%e8%ae%bf%e9%97%ae.html</link>
		<comments>http://www.iphpmysql.cn/%e5%85%b3%e4%ba%8e%e4%bb%bb%e5%8a%a1%e8%ae%a1%e5%88%92%e6%8c%87%e5%ae%9a%e9%94%99%e8%af%af%ef%bc%9a0x80041315%e3%80%810x80070005%e6%8b%92%e7%bb%9d%e8%ae%bf%e9%97%ae.html#comments</comments>
		<pubDate>Tue, 11 Oct 2011 07:33:54 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[网海拾贝]]></category>

		<guid isPermaLink="false">http://www.iphpmysql.cn/?p=846</guid>
		<description><![CDATA[当创建计划任务完成时提示：“已创建新任务，但可能不能运行，因为无法设置账户信息，指定的错误是：0X80041315，任务计划程序服务没有运行。”     指定错误：0X80041315：任务计划程序服务没有运行。主要原因是你的任务计划服务被禁用，计算机管理里面找到服务，服务里面找到Task Scheduler，看是否已被禁用，开启就行了。具体操作是打开控制面板-&#62;管理工具-&#62;服务-&#62;找到Task Scheduler选项，启动类型选：自动、服务状态选：启动。     “已经创建新任务，但可能不能运行，因为无法设置帐户信息。指定的错误是：0&#215;80070005：拒绝访问。请试着使用”任务”的浏览按钮来定位应用程序。”     指定错误：0&#215;80070005：拒绝访问，主要原因有如下几种。 1、登入Windows时使用空白密码的，应将组策略：“帐户：使用空白密码的本地帐户只允许进行控制台登录”改为“停用”就可以了。具体操作是打开开始运行-&#62;输入gpedit.msc打开组策略-&#62;计算机配置-&#62;windows设置-&#62;安全设置-&#62;本地策略-&#62;安全选项看右边框内：“帐户：使用空白密码的本地帐户只允许进行控制台登录”改为“停用”，就可以了。 2、可能权限不够或被禁止，具体操作是打开开始运行-&#62;输入gpedit.msc打开组策略。 *看看组策略的用户权利指派里，禁止用户访问的几个项目有没有对应的名字！ *选择计算机配置-&#62;windows设置-&#62;安全设置-&#62;本地策略-&#62;用户权利指派 双击右边的 从网络访问此计算机 把需要的用户名添加到列表。 *选择计算机配置-&#62;Windows设置-&#62;安全设定-&#62;本地策略-&#62;安全选项 双击右边的 域控制器：允许服务器操作员计划任务，打开启用。]]></description>
		<wfw:commentRss>http://www.iphpmysql.cn/%e5%85%b3%e4%ba%8e%e4%bb%bb%e5%8a%a1%e8%ae%a1%e5%88%92%e6%8c%87%e5%ae%9a%e9%94%99%e8%af%af%ef%bc%9a0x80041315%e3%80%810x80070005%e6%8b%92%e7%bb%9d%e8%ae%bf%e9%97%ae.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

