<?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>北京php培训讲师方龙 &#187; 互联网应用</title>
	<atom:link href="http://www.skyleft.com/index.php/category/internet/feed" rel="self" type="application/rss+xml" />
	<link>http://www.skyleft.com</link>
	<description>专注于php培训及相关技术的学习和研究</description>
	<lastBuildDate>Thu, 27 Oct 2011 10:20:02 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.5</generator>
		<item>
		<title>帝国cms如何把文章中的附件名称显示由上传后的名字变成上传前的名字</title>
		<link>http://www.skyleft.com/index.php/peixun/php-673.html</link>
		<comments>http://www.skyleft.com/index.php/peixun/php-673.html#comments</comments>
		<pubDate>Sun, 31 Jul 2011 14:40:17 +0000</pubDate>
		<dc:creator>php培训讲师</dc:creator>
				<category><![CDATA[php开源程序]]></category>
		<category><![CDATA[互联网应用]]></category>
		<category><![CDATA[北京php培训]]></category>
		<category><![CDATA[帝国CMS]]></category>

		<guid isPermaLink="false">http://www.skyleft.com/?p=673</guid>
		<description><![CDATA[一次改帝国CMS，发布在文章中添加的附件显示的名字都是上传后MD5加密后的名称，很不爽。如何让它显示为上传上的名字吗？ 看了一下表，里面也有这个字段的。于是找啊找啊找了半天，最后还是让我发现了。 它是在上传的时候就已经生成好了写到正文内容中去的。 这是改之前显示的效果： 这是修改后的效果： 这是要修改的代码 ： 改成这个样子就行了。 找到文件 了吗？是在 e\admin\ecmseditor\infoeditor\epage\TranFile.php中。看出来了吗？ 是把filename 改成了红线标明的fn了。呵呵，找到位置了，一切就是这么简单。]]></description>
		<wfw:commentRss>http://www.skyleft.com/index.php/peixun/php-673.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>诺基亚C5 03做移动AP,实现电脑无线上网</title>
		<link>http://www.skyleft.com/index.php/internet/php-669.html</link>
		<comments>http://www.skyleft.com/index.php/internet/php-669.html#comments</comments>
		<pubDate>Sun, 31 Jul 2011 14:13:29 +0000</pubDate>
		<dc:creator>php培训讲师</dc:creator>
				<category><![CDATA[互联网应用]]></category>
		<category><![CDATA[生活感悟]]></category>
		<category><![CDATA[移动AP]]></category>
		<category><![CDATA[诺基亚C503]]></category>

		<guid isPermaLink="false">http://www.skyleft.com/?p=669</guid>
		<description><![CDATA[呵呵，以前不知道 我的手机还有这个功能 ，上次不能上网了，万般无奈之下试了下，居然 可以无线上网。就是有点太费流量了，一般人用不起啊。 首先安装 一个 诺基亚PC套件，文件&#62;连接到internet&#62;选择服务提供商&#62;中国移动 ，如果顺利 ，一切就OK了 ！]]></description>
		<wfw:commentRss>http://www.skyleft.com/index.php/internet/php-669.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>如何利用dede打造本地装修门户网站</title>
		<link>http://www.skyleft.com/index.php/internet/php-423.html</link>
		<comments>http://www.skyleft.com/index.php/internet/php-423.html#comments</comments>
		<pubDate>Tue, 26 Oct 2010 10:55:51 +0000</pubDate>
		<dc:creator>php培训讲师</dc:creator>
				<category><![CDATA[互联网应用]]></category>
		<category><![CDATA[dedecms]]></category>
		<category><![CDATA[www.zhuangxiucn.com]]></category>
		<category><![CDATA[装修门户网站]]></category>

		<guid isPermaLink="false">http://www.skyleft.com/?p=423</guid>
		<description><![CDATA[最近本人用dede不到两周的时间，打造出了一个本地装修网门户网站，首先晒晒网址，如果您觉得网站还行，那就可以接着往下看，如果觉得不好，恳请给出指点。本人觉得用dede做本地装修门户网站是最适合不过了。原因有以下几点：1）dede的文章发布功能非常强大，而一个本地装修门户网站自然少不了大量发布装修文章;2）本地装修门户网站肯定得有介绍本地的装修公司频道，而dede的企业库频道正好满足了这一点，通过企业库这个频道你可以轻轻松松的打造成一个本地的装修公司黄页频道;3）作为一个本地装修门户网站，装修招标这个功能是必备的。这里就必须用到dede的分类信息这个功能了，dede 自带的分类信息模型可以很容易改造成装修招标，这样发布招标信息时，就只需要像发布分类信息那样，每行填写表格就行了。那具体怎么做呢？接着往下看吧。 1、模仿。 首先得找到一个好的装修网用来模仿，当然如果您有非常好的美工能力，完全可以自己开发，而对于我们这写菜鸟，自然只能模仿了。经过几天的考察，基本锁定在杭州装修网这个网站了。这个网站非常不错，首先是它的页面设计得非常大气，做本地的装修门户网站是最适合不过了，另外很多功能也设计得不错。目标网站找到了，接下来就是分析其源代码了。 2、在本地架设网站。 接下来就登录dede官网，把最新的dede程序下载下来。记着，这个程序一定要多备份几次，因为你后面将网站发布到空间上时，得用一个新的程序。在这里我推荐用EasyPHP这个软件来架设网站运行环境，这款软件用的非常舒服。 3、给网站充填文章。 本人强烈建议，在你架设完网站后，切忌不要急着去设计模板，而应该是在dede自带的这套系统里发布文章。当然你首先可以按照目标模仿网站设置好自己的网站栏目。当你把你自己的栏目都设计好了后，接下来就是发布文章了，这个时候文章可以去转载。至少每个栏目要添加8篇以上才开始去做模板。 4、设计模板 等整个网站有了足够的文章可以撑起整个页面后，你就可以按照目标网站去设计模板了。这个过程是很辛苦的，但是一定不要灰心，不要太过严苛，先将网站建起来再说，第一次设计的模板总是会有缺陷的。 5、修改栏目 文章频道做起来肯定是没什么问题的。难点主要是在企业库和装修招标这两个栏目上。做企业库，也就是本地的装修企业黄页频道时，首先就是修改频道模型中的联动类别管理，将里面的行业、和地区替换成你自己的想要的内容;装修招标这个栏目得花点功夫，首先就是找到频道模型中的内容模型管理，进去之后找到分类信息这个模型，然后添加 “ 地址、小区名称、房型、面积“这些字段。具体就不多少了，有什么不懂的，加我为好友QQ648862939。如果需要这套dede装修网模板的朋友也可以联系我。 怎么样，通过以上几步一个本地的装修门户网站就建立起来了，呵呵，高兴吧。但是可别忘了，建网站容易，维护网站难啊，宣传网站更难。一个装修网光在网上宣传时不够的，更多的要做线下宣传。总之，要学会多种推广手段，如线上活动、专题、砸钱打广告、线下活动、其他媒体曝光、网站合作、网站SEO等等，利用组合形式，利用信息促成交易，从而实现口碑相传，树立本地的专业家装、装修网站品牌。 以上观点纯属个人愚见，如有不周之处还望各位博友多提意见。 欢迎大家访问我的新站： www.zhuangxiucn.com]]></description>
		<wfw:commentRss>http://www.skyleft.com/index.php/internet/php-423.html/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>flex案例截图</title>
		<link>http://www.skyleft.com/index.php/peixun/php-415.html</link>
		<comments>http://www.skyleft.com/index.php/peixun/php-415.html#comments</comments>
		<pubDate>Mon, 25 Oct 2010 09:03:49 +0000</pubDate>
		<dc:creator>php培训讲师</dc:creator>
				<category><![CDATA[互联网应用]]></category>
		<category><![CDATA[北京php培训]]></category>
		<category><![CDATA[flex案例截图]]></category>

		<guid isPermaLink="false">http://www.skyleft.com/?p=415</guid>
		<description><![CDATA[flex案例截图,视频会议系统,eschop购物车插件]]></description>
		<wfw:commentRss>http://www.skyleft.com/index.php/peixun/php-415.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>康盛公测用QQ登录disc uz论坛了</title>
		<link>http://www.skyleft.com/index.php/internet/php-404.html</link>
		<comments>http://www.skyleft.com/index.php/internet/php-404.html#comments</comments>
		<pubDate>Sat, 09 Oct 2010 02:18:14 +0000</pubDate>
		<dc:creator>php培训讲师</dc:creator>
				<category><![CDATA[互联网应用]]></category>
		<category><![CDATA[dis cu z QQ同步登录]]></category>
		<category><![CDATA[QQ开放用户]]></category>

		<guid isPermaLink="false">http://www.skyleft.com/?p=404</guid>
		<description><![CDATA[今天在，chinaz.com 上面看到消息说，康盛开始公测用QQ号登录dis cu z论坛了，开通的公测网址是 di sc uz.org . 我马上点过去，小试了一下。点右上角的QQ帐号登录，然后就会跳转到QQ空间的登录地址，登录后又返回到测试网站上。原理跟新浪微博开放平台的一个功能，连接微博。 官方说有四大功能： 1、使用QQ帐号密码注册和登陆论坛更方便快捷 2、发帖可选同时推送到QQ空间动态（标题+简单摘要+原帖地址） 3、分享论坛主题到QQ空间（标题+简单摘要+原帖地址） 4、建立QQ空间的认证空间，聚拢用户并随时将站内优秀内容推送给粉丝用户 具体操作，欢迎去公测网站测试。 我一看这个功能不错，php win d 应该不及了。果然 ，我看了一个我们随州以前两个有名的网站 ，一个是随州网，一个是随州论坛，全升级到di zc uz x1.5了.]]></description>
		<wfw:commentRss>http://www.skyleft.com/index.php/internet/php-404.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>收集的流媒体服务器的相关资料</title>
		<link>http://www.skyleft.com/index.php/internet/php-368.html</link>
		<comments>http://www.skyleft.com/index.php/internet/php-368.html#comments</comments>
		<pubDate>Tue, 24 Aug 2010 10:39:14 +0000</pubDate>
		<dc:creator>php培训讲师</dc:creator>
				<category><![CDATA[互联网应用]]></category>
		<category><![CDATA[流媒体服务器]]></category>

		<guid isPermaLink="false">http://www.skyleft.com/?p=368</guid>
		<description><![CDATA[今天有人问到怎么架设流媒体服务器，在网上搜了半天，收集到一些资料，还没来得及看完。发出来，希望能帮到有同样需求的人。 helix_server配置 http://wenku.baidu.com/view/08699ce9856a561252d36f4b.html 基于MMS的流媒体服务器系统性能的研究 http://wenku.baidu.com/view/db1184f34693daef5ef73dbe.html 流媒体知识大全、流媒体服务器设置教程 http://wenku.baidu.com/view/c67ebd00bed5b9f3f90f1c61.html Linux平台下的视频点播服务器的安装 http://www.linuxsir.com/bbs/showthread.php?s=&#38;threadid=9045 Windows Media Server搭建流媒体服务器 http://school.cfan.com.cn/net/lan/2006-10-20/1161326457d19860.shtml 用Helix Server组建视频服务器 http://www.pconline.com.cn/server/apply/0312/281928.html 让同事都看上世界杯 流媒体服务器架设 http://tech.sina.com.cn/h/2006-06-05/08542263.shtml 小型流媒体电影服务器设计 http://www.pclw.com/wl/010.html]]></description>
		<wfw:commentRss>http://www.skyleft.com/index.php/internet/php-368.html/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>WIN7下QQ升级安装不上怎么办？</title>
		<link>http://www.skyleft.com/index.php/internet/php-355.html</link>
		<comments>http://www.skyleft.com/index.php/internet/php-355.html#comments</comments>
		<pubDate>Sat, 21 Aug 2010 12:33:17 +0000</pubDate>
		<dc:creator>php培训讲师</dc:creator>
				<category><![CDATA[互联网应用]]></category>
		<category><![CDATA[WIN7 QQ升级安装问题]]></category>
		<category><![CDATA[windows installer clean up]]></category>

		<guid isPermaLink="false">http://www.skyleft.com/?p=355</guid>
		<description><![CDATA[WIN7下QQ升级安装不上怎么办？怎么完全卸载WIN7下QQ？]]></description>
		<wfw:commentRss>http://www.skyleft.com/index.php/internet/php-355.html/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>win7图标修复</title>
		<link>http://www.skyleft.com/index.php/internet/php-338.html</link>
		<comments>http://www.skyleft.com/index.php/internet/php-338.html#comments</comments>
		<pubDate>Thu, 19 Aug 2010 17:16:36 +0000</pubDate>
		<dc:creator>php培训讲师</dc:creator>
				<category><![CDATA[互联网应用]]></category>

		<guid isPermaLink="false">http://www.skyleft.com/?p=338</guid>
		<description><![CDATA[怎么修复win7图标？win7图标坏了怎么办？北京php培训就去北京星模实训学校]]></description>
		<wfw:commentRss>http://www.skyleft.com/index.php/internet/php-338.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>博客升级，部分数据丢失，如有发现友情链接不在了请留言。</title>
		<link>http://www.skyleft.com/index.php/internet/php-244.html</link>
		<comments>http://www.skyleft.com/index.php/internet/php-244.html#comments</comments>
		<pubDate>Tue, 27 Jul 2010 04:45:40 +0000</pubDate>
		<dc:creator>php培训讲师</dc:creator>
				<category><![CDATA[互联网应用]]></category>
		<category><![CDATA[wordpress升级]]></category>
		<category><![CDATA[星模实训]]></category>

		<guid isPermaLink="false">http://www.skyleft.com/?p=244</guid>
		<description><![CDATA[昨天把wordpress升级了下，结果发现评论没有了。]]></description>
		<wfw:commentRss>http://www.skyleft.com/index.php/internet/php-244.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>国外php框架一览表</title>
		<link>http://www.skyleft.com/index.php/internet/php-164.html</link>
		<comments>http://www.skyleft.com/index.php/internet/php-164.html#comments</comments>
		<pubDate>Mon, 14 Jun 2010 11:14:46 +0000</pubDate>
		<dc:creator>php培训讲师</dc:creator>
				<category><![CDATA[互联网应用]]></category>
		<category><![CDATA[php框架]]></category>

		<guid isPermaLink="false">http://www.skyleft.com/?p=164</guid>
		<description><![CDATA[国外PHP框架统计网站]]></description>
		<wfw:commentRss>http://www.skyleft.com/index.php/internet/php-164.html/feed</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>中文字符集与字符编码的基础知识</title>
		<link>http://www.skyleft.com/index.php/internet/php-156.html</link>
		<comments>http://www.skyleft.com/index.php/internet/php-156.html#comments</comments>
		<pubDate>Mon, 07 Jun 2010 06:58:42 +0000</pubDate>
		<dc:creator>php培训讲师</dc:creator>
				<category><![CDATA[互联网应用]]></category>
		<category><![CDATA[中文字符编码基础]]></category>

		<guid isPermaLink="false">http://www.skyleft.com/?p=156</guid>
		<description><![CDATA[字符是各种文字和符号的总称，包括各国家文字、标点符号、图形符号、数字等。字符集是多个字符的集合，字符集种类较多，每个字符集包含的字符个数不同，常见字符集名称：ASCII字符集、GB2312字符集、BIG5字符集、 GB 18030字符集、Unicode字符集等。计算机要准确的处理各种字符集文字，需要进行字符编码，以便计算机能够识别和存储各种文字。 中文文字数目大，而且还分为简体中文和繁体中文两种不同书写规则的文字，而计算机最初是按英语单字节字符设计的，因此，对中文字符进行编码，是中文信息交流的技术基础。本文将按照字符集的时间顺序讨论几种典型的字符集，选取几种代表性的中文字符集，研究历史由来、特点、技术特征。 ASCII 字符集 1．名称的由来 ASCII（American Standard Code for Information Interchange， 美国信息互换标准代码）是基于罗马字母表的一套电脑编码系统。 www.444p.com 2． 特点 它主要用于显示现代英语和其他西欧语言。它是现今最通用的单字节编码系统，并等同于国际标准ISO 646。 3． 包含内容 控制字符：回车键、退格、换行键等。 可显示字符：英文大小写字符、阿拉伯数字和西文符号 4． 技术特征 7位（bits）表示一个字符，共128字符 5．ASCII扩展字符集 7位编码的字符集 只能支持128个字符，为了表示更多的欧洲常用字符对ASCII进行了扩展，ASCII扩展字符集使用8位（bits）表示一个字符，共256字符。 ASCII 扩展字符集比ASCII字符集扩充出来的符号包括表格符号、计算符号、希腊字母和特殊的拉丁符号。 GB2312 字符集 1． 名称的由来 GB2312又称为GB2312-80字符集，全称为《信息交换用汉字编码字符集·基本集》，由原中国国家标准总局发 布，1981年5月1日实施。 php学习之家 2．特点 GB2312 是中国国家标准的简体中文字符集。它所收录的汉字已经覆盖99.75%的使用频率，基本满足了汉字的计算机处理需要。在中国大陆和新加坡获广泛使用。 3． 包含内容 GB2312收录简化汉字及一般符号、序号、数字、拉丁字母、日文假名、希腊字母、俄文字母、汉语拼音符号、汉语注音字母， 共 7445 个图形字符。其中包括6763个汉字，其中一级汉字3755个，二级汉字3008个；包括拉丁字母、希腊字母、日文平假名及片假名字母、俄 语西里尔字母在内的682个全角字符。 4．技术特征 （1）分区表示： GB2312中对所收汉字 进行了“分区”处理，每区含有94个汉字/符号。这种表示方式也称为区位码。 各区包含的字符如下：01-09区为特殊符号；16-55 区为一级汉字，按拼音排序；56-87区为二级汉字，按部首/笔画排序；10-15区及88-94区则未有编码。 php学习之家 （2）双字节表示 两个字节中前面的字节为第一字节，后面的字节为第二字节。习惯上称第一字节为“高字节” ，而称第 二字节为“低字节”。 “高位字节”使用了0xA1-0xF7(把01-87区的区号加上0xA0)，“低位字节”使用了 0xA1-0xFE(把01-94加上0xA0)。 5．编码举例 以GB2312字符集的第一个汉字“啊”字为例，它 的区号16，位号01，则区位码是1601，在大多数计算机程序中，高字节和低字节分别加0xA0得到程序的汉字处理编码0xB0A1。计算公式 是：0xB0=0xA0+16, 0xA1=0xA0+1。 BIG5 字符集 [...]]]></description>
		<wfw:commentRss>http://www.skyleft.com/index.php/internet/php-156.html/feed</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>用php生成utf-8文件</title>
		<link>http://www.skyleft.com/index.php/internet/php-151.html</link>
		<comments>http://www.skyleft.com/index.php/internet/php-151.html#comments</comments>
		<pubDate>Mon, 07 Jun 2010 06:30:24 +0000</pubDate>
		<dc:creator>php培训讲师</dc:creator>
				<category><![CDATA[互联网应用]]></category>
		<category><![CDATA[php utf-8]]></category>
		<category><![CDATA[php学习笔记]]></category>
		<category><![CDATA[php生成文件]]></category>

		<guid isPermaLink="false">http://www.skyleft.com/?p=151</guid>
		<description><![CDATA[其实用php生成UTF-8的文件没有什么特别的，只要把我们执行的那个PHP文件改成UTF-8编码保存起来，然后页面内容也用UTF-8的编码就可以了。 代码如下： &#60;?php header(&#8216;Content-Type: text/html; charset=utf-8&#8242;); $text=&#8221;北京星模实训学校，IT实战就业第一选择！&#8221;; $f=fopen(&#8220;test.txt&#8221;, &#8220;wb&#8221;); fwrite($f, $text); fclose($f); ?&#62; 注意这个php文件一定要存成UTF-8的哦。 当然，如果你非要用ansi编码的文件生成utf-8编码的文件，也不是没有办法。 看下面： $xml = '北京星模实训学校欢迎你！'; $h = fopen &#40;'1.txt','w'&#41;; if &#40;$h&#41; &#123; fwrite &#40;$h,&#34;\xEF\xBB\xBF&#34;.iconv&#40;'gbk','utf-8',$xml&#41;&#41;; &#125; fclose &#40;$h&#41;; 不信？ 下去试试。呵呵。。。]]></description>
		<wfw:commentRss>http://www.skyleft.com/index.php/internet/php-151.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>MySQL中show句法得到表列及整个库的详细信息(精品珍藏)</title>
		<link>http://www.skyleft.com/index.php/internet/php-144.html</link>
		<comments>http://www.skyleft.com/index.php/internet/php-144.html#comments</comments>
		<pubDate>Fri, 14 May 2010 12:10:10 +0000</pubDate>
		<dc:creator>php培训讲师</dc:creator>
				<category><![CDATA[互联网应用]]></category>
		<category><![CDATA[mysql学习]]></category>

		<guid isPermaLink="false">http://www.skyleft.com/?p=144</guid>
		<description><![CDATA[show databases; show tables from db_name; show columns from table_name from db_name; show index from talbe_name [from db_name]; show status; show variables; show [full] processlist; show table status [from db_name]; show grants for user; 除了 status,processlist和grants外，其它的都可以带有like wild选项，它可以使用SQL的&#8217;%'和&#8217;_'字符； show databases like &#8216;%t&#8217;; 将会列出所有数据库名字末尾为&#8217;t'字符的数据库 当然了，在这些sql中，你也可以用db_name.table_name来代替 table_name from db_name这样写会更简便些! 如果一个用户没有一个表的任何权限，表将不在SHOW TABLES或mysqlshow db_name中的输出中显示 大家可能还记得 describe table_name ，它实现的是与show columns from [...]]]></description>
		<wfw:commentRss>http://www.skyleft.com/index.php/internet/php-144.html/feed</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>mysql默认编码设置成gbk，解决dos下查询中文乱码的问题！</title>
		<link>http://www.skyleft.com/index.php/internet/php-139.html</link>
		<comments>http://www.skyleft.com/index.php/internet/php-139.html#comments</comments>
		<pubDate>Sun, 09 May 2010 09:51:54 +0000</pubDate>
		<dc:creator>php培训讲师</dc:creator>
				<category><![CDATA[互联网应用]]></category>
		<category><![CDATA[mysql dos 中文乱码]]></category>
		<category><![CDATA[mysql默认编码gbk]]></category>

		<guid isPermaLink="false">http://www.skyleft.com/?p=139</guid>
		<description><![CDATA[通常情况下，当我们数据库用的是gbk的编码，在 php和 phpmyadmin中查询中文都没什么问题。但是一旦我们是从命令行用dos窗口登录的。查询出来的结果中有中文的，就会出现乱码问题。解决这个问题的方法就是设置mysql的默认编码为gbk; 具体如下： MySQL的默认编码是Latin1，不支持中文，那么如何修改MySQL的默认编码呢，下面以gbk为例来说明 需要注意的是，要修改的地方非常多，相应的修改方法也很多。下面是一种最简单最彻底的方法： 一、Windows 1、中止MySQL服务 2、在MySQL的安装目录下找到my.ini，如果没有就把my-medium.ini复制为一个my.ini即可 3、打开my.ini以后，在[client]和[mysqld]下面均加上default-character-set=gbk，保存并关闭 4、启动MySQL服务 二、Linux 1、中止MySQL服务（bin/mysqladmin -u root shutdown） 2、在/etc/下找到my.cnf，如果没有就把MySQL的安装目录下的support-files目录下的my-medium.cnf复制到/etc/下并改名为my.cnf即可 3、打开my.cnf以后，在[client]和[mysqld]下面均加上default-character-set=utf8，保存并关闭 4、启动MySQL服务（bin/mysqld_safe &#38;） 非常简单，这样的修改一劳永逸，今后MySQL一切相关的默认编码均为UTF-8了，创建新表格的时候无需再次设置 需要注意的是，当前数据库中已经存在的数据仍保留现有的编码方式，因此需要自行转码，方法在网上有很多，不再赘述 window 下设置截图： # The following options will be passed to all MySQL clients [client] #password    = your_password port        = 3306 socket        = /tmp/mysql.sock default-character-set=gbk # Here follows entries for some specific [...]]]></description>
		<wfw:commentRss>http://www.skyleft.com/index.php/internet/php-139.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>php中glabal与$GLOBALS的区别</title>
		<link>http://www.skyleft.com/index.php/internet/php-137.html</link>
		<comments>http://www.skyleft.com/index.php/internet/php-137.html#comments</comments>
		<pubDate>Fri, 07 May 2010 01:29:53 +0000</pubDate>
		<dc:creator>php培训讲师</dc:creator>
				<category><![CDATA[互联网应用]]></category>
		<category><![CDATA[php $GLOBALS]]></category>
		<category><![CDATA[php global]]></category>
		<category><![CDATA[php学习笔记]]></category>

		<guid isPermaLink="false">http://www.skyleft.com/?p=137</guid>
		<description><![CDATA[1、global用在函数内，仅起到引用外部变量的作用。 2、$GLOBALS定的变量才是真正意义的全局变量，在什么环境下都能用。]]></description>
		<wfw:commentRss>http://www.skyleft.com/index.php/internet/php-137.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

