<?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>J.et wong's stuff &#187; Tech</title>
	<atom:link href="http://j.etwong.com/blog-category/web%e5%bc%80%e5%8f%91%ef%bc%8c%e7%b3%bb%e7%bb%9f%e6%9e%b6%e6%9e%84%ef%bc%8c%e5%88%86%e6%9e%90/feed" rel="self" type="application/rss+xml" />
	<link>http://j.etwong.com</link>
	<description>{}</description>
	<lastBuildDate>Tue, 20 Apr 2010 01:52:06 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>mysql事务备份</title>
		<link>http://j.etwong.com/blog-127</link>
		<comments>http://j.etwong.com/blog-127#comments</comments>
		<pubDate>Sun, 07 Mar 2010 09:31:36 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Tech]]></category>
		<category><![CDATA[mysql]]></category>
		<category><![CDATA[事务]]></category>

		<guid isPermaLink="false">http://j.etwong.com/?p=127</guid>
		<description><![CDATA[1.http://wasabi.javaeye.com/blog/180162
1.]]></description>
			<content:encoded><![CDATA[<p><strong>1.http://wasabi.javaeye.com/blog/180162</strong></p>
<p>1.<?PHP<br />
$LinkID =mysql_connect('localhost:3307','root',*******);<br />
mysql_select_db('web_his',$LinkID);<br />
mysql_query("set names utf8");  </p>
<p>/* 创建事务 */<br />
mysql_query('START TRANSACTION') or exit(mysql_error());<br />
$ssql1="insert into pf_item values('22','我们','30')";  //执行sql 1<br />
if(!mysql_query($ssql1)){<br />
   echo $ssql1.mysql_errno().":".mysql_error()."<br />&#8220;;<br />
   mysql_query(&#8216;ROLLBACK&#8217;) or exit(mysql_error());//判断当执行失败时回滚  </p>
<p>   exit;<br />
}<br />
$ssql1=&#8221;insert into pf_item values(&#8216;21&#8242;,&#8217;hell&#8217;,'10&#8242;)&#8221;;  //执行sql 2<br />
if(!mysql_query($ssql1)){<br />
  echo $ssql1.mysql_errno().&#8221;:&#8221;.mysql_error().&#8221;<br />&#8220;;<br />
     mysql_query(&#8216;ROLLBACK&#8217;) or exit(mysql_error());//判断当执行失败时回滚  </p>
<p>   exit;<br />
}  </p>
<p>mysql_query(&#8216;COMMIT&#8217;) or exit(mysql_error());//执行事务  </p>
<p>mysql_close($LinkID);<br />
?>  </p>
<p><strong><br />
2.</p>
<p>mysql_query(&#8220;BEGIN&#8221;);//开始一个事务</strong><br />
mysql_query(&#8220;SET AUTOCOMMIT=0&#8243;); //设置事务不自动commit<br />
 $insert=&#8221;INSERT INTO userinfo VALUES (&#8216;aa12&#8242;,&#8217;aa&#8217;,'1&#8242;,&#8217;aaa&#8217;)&#8221;;<br />
mysql_query($insert);<br />
mysql_query(&#8220;COMMIT&#8221;);//非autocommit模式，必须手动执行COMMIT使操作生效<br />
//mysql_query(&#8220;SET AUTOCOMMIT=0&#8243;);<br />
 $insert=&#8221;INSERT INTO userinfo VALUES (&#8216;aa20&#8242;,&#8217;aa&#8217;,'1&#8242;,&#8217;aaa&#8217;)&#8221;;<br />
$insert=&#8221;INSERT INTO userinfo VALUES (&#8216;aa8&#8242;,&#8217;aa&#8217;,'1&#8242;)&#8221;;<br />
//mysql_query(&#8220;COMMIT&#8221;);<br />
if(mysql_num_rows==0)<br />
mysql_query(&#8220;ROLLBACK&#8221;);//非autocommit模式，执行ROLLBACK使事务操作无效<br />
else echo &#8220;ok&#8221;;<br />
//mysql_query(&#8220;CLOSE&#8221;);<br />
mysql_query(&#8220;SET AUTOCOMMIT=1&#8243;);//恢复autocommit模式<br />
$insert=&#8221;INSERT INTO userinfo VALUES (&#8216;aa15&#8242;,&#8217;aa&#8217;,'1&#8242;,&#8217;aaa&#8217;)&#8221;;<br />
mysql_query($insert);//不需要手动执行COMMIT就可以使事务操作生效</p>
<p>执行BEGIN之后，其作用同set autocommit=0，而且之后设置set autocommit=0或1时无效。所以，为使操作清楚，一般不使用BEGIN。</p>
<p><strong>3.mysql事务与行锁</strong></p>
<p>http://www.611530.com/PC/wangzhan/200910/2220.html</p>
<p><strong>4.</strong></p>
<p>http://hi.baidu.com/cuihu0706/blog/item/1dd6ccb1621c355709230278.html</p>
<p><?php<br />
$handler=mysql_connect("localhost","root","");<br />
mysql_select_db("task");<br />
mysql_query("SET AUTOCOMMIT=0");//设置为不自动提交，因为MYSQL默认立即执行<br />
mysql_query("BEGIN");//开始事务定义<br />
if(!mysql_query("insert into trans (id) values('2')"))<br />
{<br />
mysql_query("ROOLBACK");//判断当执行失败时回滚<br />
}<br />
if(!mysql_query("insert into trans (id) values('4')"))<br />
{<br />
mysql_query("ROOLBACK");//判断执行失败回滚<br />
}<br />
mysql_query("COMMIT");//执行事务<br />
mysql_close($handler);<br />
?></p>
<p><strong>5.各种锁的类型：</strong></p>
<p>http://www.d5s.cn/archives/93</p>
<p><strong>6.CI中的事务：</strong></p>
<p>http://xinbituya.blogbus.com/logs/21820416.html</p>
<p>http://codeigniter.org.cn/user_guide/database/transactions.html</p>
]]></content:encoded>
			<wfw:commentRss>http://j.etwong.com/blog-127/feed</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>WebGame开发笔记</title>
		<link>http://j.etwong.com/blog-120</link>
		<comments>http://j.etwong.com/blog-120#comments</comments>
		<pubDate>Fri, 22 Jan 2010 10:21:57 +0000</pubDate>
		<dc:creator>J.et wong</dc:creator>
				<category><![CDATA[Tech]]></category>

		<guid isPermaLink="false">http://j.etwong.com/?p=120</guid>
		<description><![CDATA[辞掉之前养老的MMORPG的运营工作，开始了新的webgame研发之旅。
由于平时不是太玩游戏，这对我是一次挑战
时间只有两个月，要出一个alpha版本。
1.开发准备
2.开发小组人员配备说明
3.开发思路说明
a)、想直接走霸王硬上弓的线路，即按自己思路搭好架构，参照代码进行DB设计和library开发
发现对小组成员要求太高，
走b)路线
b)全盘阅读代码，笔记下所有疑点，是否成功，有待观察
]]></description>
			<content:encoded><![CDATA[<p>辞掉之前养老的MMORPG的运营工作，开始了新的webgame研发之旅。<br />
由于平时不是太玩游戏，这对我是一次挑战<br />
时间只有两个月，要出一个alpha版本。</p>
<p>1.开发准备<br />
2.开发小组人员配备说明<br />
3.开发思路说明<br />
a)、想直接走霸王硬上弓的线路，即按自己思路搭好架构，参照代码进行DB设计和library开发<br />
发现对小组成员要求太高，<br />
走b)路线<br />
b)全盘阅读代码，笔记下所有疑点，是否成功，有待观察</p>
]]></content:encoded>
			<wfw:commentRss>http://j.etwong.com/blog-120/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Lightwindow图片大小的ＢＵＧ</title>
		<link>http://j.etwong.com/blog-113</link>
		<comments>http://j.etwong.com/blog-113#comments</comments>
		<pubDate>Fri, 16 Oct 2009 02:09:48 +0000</pubDate>
		<dc:creator>J.et wong</dc:creator>
				<category><![CDATA[Tech]]></category>

		<guid isPermaLink="false">http://j.etwong.com/?p=113</guid>
		<description><![CDATA[Lightwindow 是个不错的图片浏览库，但有个情况就是在ＩＥ下，会出现在图片没有载入完全时，会出现很小一个框的ＢＵＧ，看不清图片

现在有个解决方案：
老外提供的》》
主要是ＩＥ引起的，具体原因要研究一下，但注意不要ＣＯＰＹ他的代码
要用原版的：&#62;&#62;&#62;
同样，你也可以下载我这里的：
Lightwindow.js    1217-1239:
// We have to  do this instead of .onload
this.checkImage[i] = new  PeriodicalExecuter(function(i) {
if (!(typeof  $('lightwindow_image_'+i).naturalWidth != "undefined" &#38;&#38;  $('lightwindow_image_'+i).naturalWidth == 0))  {
this.checkImage[i].stop();
var imageHeight =  $('lightwindow_image_'+i).getHeight();
if (imageHeight &#62;  this.resizeTo.height) {
this.resizeTo.height =  imageHeight;
}
this.resizeTo.width +=  $('lightwindow_image_'+i).getWidth();
this.imageCount--;
$('lightwindow_image_'+i).setStyle({
height:  '100%', width: '100%'
});
if (this.imageCount == 0)  {
this._processWindow();
}
}
}.bind(this, i), [...]]]></description>
			<content:encoded><![CDATA[<p>Lightwindow 是个不错的图片浏览库，但有个情况就是在ＩＥ下，会出现在图片没有载入完全时，会出现很小一个框的ＢＵＧ，看不清图片</p>
<p><img class="alignnone size-full wp-image-114" src="http://j.etwong.com/wp-content/uploads/2009/10/lightwindow.jpg" alt="lightwindow" width="583" height="498" /></p>
<p>现在有个解决方案：</p>
<p><a href="http://www.rtraction.com/blog/devit/lightwindow-image-sizing-bug-in-ie6-on-first-click-of-gallery.html" target="_blank">老外提供的》》</a></p>
<p>主要是ＩＥ引起的，具体原因要研究一下，但注意不要ＣＯＰＹ他的代码</p>
<p><a href="http://www.trilodge.de/blog/2007/11/07/lightwindow-image-load-failure-fixed/" target="_blank">要用原版的：&gt;&gt;&gt;</a></p>
<p>同样，你也可以下载我这里的：</p>
<p>Lightwindow.js    <strong>1217-1239</strong>:<br />
<code>// We have to  do this instead of .onload<br />
this.checkImage[i] = new  PeriodicalExecuter(function(i) {<br />
if (!(typeof  $('lightwindow_image_'+i).naturalWidth != "undefined" &amp;&amp;  $('lightwindow_image_'+i).naturalWidth == 0))  {<br />
this.checkImage[i].stop();<br />
var imageHeight =  $('lightwindow_image_'+i).getHeight();<br />
if (imageHeight &gt;  this.resizeTo.height) {<br />
this.resizeTo.height =  imageHeight;<br />
}<br />
this.resizeTo.width +=  $('lightwindow_image_'+i).getWidth();<br />
this.imageCount--;<br />
$('lightwindow_image_'+i).setStyle({<br />
height:  '100%', width: '100%'<br />
});<br />
if (this.imageCount == 0)  {<br />
this._processWindow();<br />
}<br />
}<br />
}.bind(this, i), 1);</code></p>
<p><strong>换成如下代码:</strong></p>
<p><code>// We have to do this instead of .onload<br />
var ie =  (document.all)?1:0;<br />
this.checkImage[i] = new PeriodicalExecuter(function(i)  {<br />
if(ie){ //THE BROWSER IS IE<br />
if ( $('lightwindow_image_'+i).complete  &amp;&amp; !(typeof $('lightwindow_image_'+i).naturalWidth != "undefined"  &amp;&amp; $('lightwindow_image_'+i).naturalWidth == 0))  {<br />
this.checkImage[i].stop();<br />
var imageHeight =  $('lightwindow_image_'+i).getHeight();<br />
if (imageHeight &gt;  this.resizeTo.height) {<br />
this.resizeTo.height =  imageHeight;<br />
}<br />
this.resizeTo.width +=  $('lightwindow_image_'+i).getWidth();<br />
this.imageCount--;<br />
$('lightwindow_image_'+i).setStyle({<br />
height:  '100%', width: '100%'<br />
});<br />
if (this.imageCount == 0)  {<br />
this._processWindow();<br />
}<br />
//alert('IE has been  detected')<br />
}<br />
}<br />
else<br />
{//NOT IE, PROBABLY FF, OPERA, OTHER<br />
//this  line works for all other browsers<br />
if ($('lightwindow_image_'+i).complete  &amp;&amp; !(typeof $('lightwindow_image_'+i).naturalWidth != "undefined"  &amp;&amp; $('lightwindow_image_'+i).naturalWidth == 0))  {<br />
this.checkImage[i].stop();<br />
var imageHeight =  $('lightwindow_image_'+i).getHeight();<br />
if (imageHeight &gt;  this.resizeTo.height) {<br />
this.resizeTo.height =  imageHeight;<br />
}<br />
this.resizeTo.width +=  $('lightwindow_image_'+i).getWidth();<br />
this.imageCount--;<br />
$('lightwindow_image_'+i).setStyle({<br />
height:  '100%', width: '100%'<br />
});<br />
if (this.imageCount == 0)  {<br />
this._processWindow();<br />
}<br />
}<br />
}<br />
}.bind(this, i), 1);</code></p>
]]></content:encoded>
			<wfw:commentRss>http://j.etwong.com/blog-113/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>wordpress 的移植出现的问题</title>
		<link>http://j.etwong.com/blog-106</link>
		<comments>http://j.etwong.com/blog-106#comments</comments>
		<pubDate>Sun, 30 Aug 2009 08:23:49 +0000</pubDate>
		<dc:creator>J.et wong</dc:creator>
				<category><![CDATA[Tech]]></category>

		<guid isPermaLink="false">http://j.etwong.com/?p=106</guid>
		<description><![CDATA[有时wordpress系统需要COPY+PASTE一份新的，
解决办法 是：复制整个目录，修改wp-config.php
修改SQL，改成新的目录，尤其注意的是有serialize的数据中，更换一下数据
常见问题1：
You do not have sufficient permissions to access this page.
可能的问题是 $_usermeta这个数据表中的数据问题：需要改成新的：老外解决方案
如果还有问题：修改表$prefix_options
记录$prefox_user_roles，这个是否换成新的了
]]></description>
			<content:encoded><![CDATA[<p>有时wordpress系统需要COPY+PASTE一份新的，</p>
<p>解决办法 是：复制整个目录，修改wp-config.php</p>
<p>修改SQL，改成新的目录，尤其注意的是有serialize的数据中，更换一下数据</p>
<p>常见问题1：</p>
<p>You do not have sufficient permissions to access this page.</p>
<p>可能的问题是 $_<code>usermeta这个数据表中的数据问题：需要改成新的：<a href="http://beconfused.com/2007/08/28/how-to-solve-you-do-not-have-sufficient-permissions-to-access-this-page-in-wordpress/" target="_blank">老外解决方案</a></code></p>
<p>如果还有问题：修改表<span class="item">$prefix_options</span></p>
<p>记录$prefox_user_roles，这个是否换成新的了</p>
]]></content:encoded>
			<wfw:commentRss>http://j.etwong.com/blog-106/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>PHP发送邮件导致页面无法显示</title>
		<link>http://j.etwong.com/blog-99</link>
		<comments>http://j.etwong.com/blog-99#comments</comments>
		<pubDate>Wed, 29 Jul 2009 09:20:46 +0000</pubDate>
		<dc:creator>J.et wong</dc:creator>
				<category><![CDATA[Tech]]></category>

		<guid isPermaLink="false">http://j.etwong.com/?p=99</guid>
		<description><![CDATA[有一天，一台HK的服务器报告
PHP发送邮件的功能导致页面无法显示，症状是：进度条一直在 走，到最后超出了IE最大时长，显示“该页无法显示”
网管确定下来，原来是他们弄了个无效的DNS服务器在那（估计就不能解析域名的不知道什么服务器），改为正确的DNS器，OK了，是记
]]></description>
			<content:encoded><![CDATA[<p>有一天，一台HK的服务器报告</p>
<p>PHP发送邮件的功能导致页面无法显示，症状是：进度条一直在 走，到最后超出了IE最大时长，显示“该页无法显示”</p>
<p>网管确定下来，原来是他们弄了个无效的DNS服务器在那（估计就不能解析域名的不知道什么服务器），改为正确的DNS器，OK了，是记</p>
]]></content:encoded>
			<wfw:commentRss>http://j.etwong.com/blog-99/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>ajax请求返回403错误解决办法</title>
		<link>http://j.etwong.com/blog-95</link>
		<comments>http://j.etwong.com/blog-95#comments</comments>
		<pubDate>Mon, 13 Jul 2009 15:00:59 +0000</pubDate>
		<dc:creator>J.et wong</dc:creator>
				<category><![CDATA[Tech]]></category>

		<guid isPermaLink="false">http://j.etwong.com/?p=95</guid>
		<description><![CDATA[这个问题表现是:
IE浏览器下运行正常，但在Firefox下不正常。表现为(用httpwatch查看）
发生原因：未知
解决办法 ：
在当前目录下加上.htaccess

SecFilterEngine Off

]]></description>
			<content:encoded><![CDATA[<p>这个问题表现是:</p>
<p>IE浏览器下运行正常，但在Firefox下不正常。表现为(用httpwatch查看）</p>
<div id="attachment_96" class="wp-caption alignnone" style="width: 310px"><img class="size-medium wp-image-96" src="http://j.etwong.com/wp-content/uploads/2009/07/ajax_403-300x116.jpg" alt="ajax firefox 403" width="300" height="116" /><p class="wp-caption-text">ajax firefox 403</p></div>
<p>发生原因：未知</p>
<p>解决办法 ：</p>
<p>在当前目录下加上.htaccess</p>
<p><code><br />
SecFilterEngine Off<br />
</code></p>
]]></content:encoded>
			<wfw:commentRss>http://j.etwong.com/blog-95/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Wordpress主题之comfy</title>
		<link>http://j.etwong.com/blog-91</link>
		<comments>http://j.etwong.com/blog-91#comments</comments>
		<pubDate>Wed, 01 Jul 2009 09:24:30 +0000</pubDate>
		<dc:creator>J.et wong</dc:creator>
				<category><![CDATA[Tech]]></category>

		<guid isPermaLink="false">http://j.etwong.com/?p=91</guid>
		<description><![CDATA[wordpress主题-comfy是一个不错的theme,标准的三栏结构

这种结构很适合做新闻的CMS之用。如果配合加上CACHE的插件应该效果很棒。
comfy使用篇
1.需要配置config.inc.php 这个是在wp-contents目录comfy目录下，主要配置feature的分类ID，从后台里面可以得到，还有首页显示几个category的ID，顺序。
2. comfy提供了几人上功能pageview pagevote功能，这些模板是可以在后台setting里设置修改，不用修改源代码滴。
]]></description>
			<content:encoded><![CDATA[<p>wordpress主题-comfy是一个不错的theme,标准的三栏结构</p>
<p><img class="alignnone size-full wp-image-93" src="http://j.etwong.com/wp-content/uploads/2009/07/comfy-2.jpg" alt="comfy-2" width="600" height="346" /></p>
<p>这种结构很适合做新闻的CMS之用。如果配合加上CACHE的插件应该效果很棒。<img class="alignnone size-full wp-image-92" src="http://j.etwong.com/wp-content/uploads/2009/07/comfy-1.jpg" alt="comfy-1" width="600" height="418" /></p>
<p>comfy使用篇</p>
<p>1.需要配置config.inc.php 这个是在wp-contents目录comfy目录下，主要配置feature的分类ID，从后台里面可以得到，还有首页显示几个category的ID，顺序。</p>
<p>2. comfy提供了几人上功能pageview pagevote功能，这些模板是可以在后台setting里设置修改，不用修改源代码滴。</p>
]]></content:encoded>
			<wfw:commentRss>http://j.etwong.com/blog-91/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>HTML  标签</title>
		<link>http://j.etwong.com/blog-72</link>
		<comments>http://j.etwong.com/blog-72#comments</comments>
		<pubDate>Thu, 14 May 2009 03:54:44 +0000</pubDate>
		<dc:creator>J.et wong</dc:creator>
				<category><![CDATA[Tech]]></category>

		<guid isPermaLink="false">http://j.etwong.com/?p=72</guid>
		<description><![CDATA[ 
 
转自：http://hi.baidu.com/guodong828/blog/item/4ba8b20fd828b9ecab6457bf.html
 
base标记是一个基链接标记，是一个单标记。用以改变文件中所有连结标记的参数内定值。它只能应用于标记&#60;head&#62;与&#60;/head&#62;之间。
你网页上的所有相对路径在链接时都将在前面加上基链接指向的地址。
重要属性：href
设定前缀的链接地址：target
设定文件显示的窗口，同a标记中的target
简单例子：
&#60;html&#62;
&#60;head&#62;
&#60;base href=&#8221;http://www.baidu.com&#8221; target=&#8221;_blank&#8221;&#62;
&#60;meta http-equiv=&#8221;Content-Type&#8221; content=&#8221;text/html; charset=gb2312&#8243;&#62;
&#60;title&#62;base标记&#60;/title&#62;
&#60;link rel=&#8221;Shortcut Icon&#8221; href=&#8221;ani.CUR&#8221;&#62;
&#60;/head&#62;
&#60;body&#62;
&#60;a href=&#8221;77.htm&#8221; target=&#8221;_self&#8221;&#62;77&#60;/a&#62;
&#60;a href=&#8221;88.htm&#8221;&#62;88&#60;/a&#62;
&#60;/body&#62;
&#60;/html&#62;
当点了链接后，跳出的文件是http://www.baidu.com/77.htm或http://www.baidu.com/88.htm，它就是在这些相对路径的文件前加上基链接指向的地址。如果目标文件中的链接没有指定target属性，就用base标记中的target属性。
常在框架结构中用，如左右两个框架，把左边的框架中文件里的连接都显示在右边的框架里。只要用base标记，把其target属性值写为右框架名称，这就不用再为左框架里的文件中的每一个连接都指定target属性。
]]></description>
			<content:encoded><![CDATA[<p> </p>
<p> </p>
<p>转自：<a href="http://hi.baidu.com/guodong828/blog/item/4ba8b20fd828b9ecab6457bf.html">http://hi.baidu.com/guodong828/blog/item/4ba8b20fd828b9ecab6457bf.html</a></p>
<p> </p>
<p><span style="font-size: x-small;">base标记是一个基链接标记，是一个单标记。用以改变文件中所有连结标记的参数内定值。它只能应用于标记&lt;head&gt;与&lt;/head&gt;之间。<br />
你网页上的所有相对路径在链接时都将在前面加上基链接指向的地址。</span></p>
<p><span style="font-size: x-small;">重要属性：href<br />
设定前缀的链接地址：target<br />
设定文件显示的窗口，同a标记中的target</span></p>
<p><span style="font-size: x-small;">简单例子：<br />
&lt;html&gt;<br />
&lt;head&gt;<br />
&lt;base href=&#8221;http://www.baidu.com&#8221; target=&#8221;_blank&#8221;&gt;<br />
&lt;meta http-equiv=&#8221;Content-Type&#8221; content=&#8221;text/html; charset=gb2312&#8243;&gt;<br />
&lt;title&gt;base标记&lt;/title&gt;<br />
&lt;link rel=&#8221;Shortcut Icon&#8221; href=&#8221;ani.CUR&#8221;&gt;<br />
&lt;/head&gt;<br />
&lt;body&gt;<br />
&lt;a href=&#8221;77.htm&#8221; target=&#8221;_self&#8221;&gt;77&lt;/a&gt;<br />
&lt;a href=&#8221;88.htm&#8221;&gt;88&lt;/a&gt;<br />
&lt;/body&gt;<br />
&lt;/html&gt;</span></p>
<p><span style="font-size: x-small;">当点了链接后，跳出的文件是http://www.baidu.com/77.htm或http://www.baidu.com/88.htm，它就是在这些相对路径的文件前加上基链接指向的地址。如果目标文件中的链接没有指定target属性，就用base标记中的target属性。<br />
常在框架结构中用，如左右两个框架，把左边的框架中文件里的连接都显示在右边的框架里。只要用base标记，把其target属性值写为右框架名称，这就不用再为左框架里的文件中的每一个连接都指定target属性。</span></p>
]]></content:encoded>
			<wfw:commentRss>http://j.etwong.com/blog-72/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Discuz 7 常见问题总结（原创）</title>
		<link>http://j.etwong.com/blog-70</link>
		<comments>http://j.etwong.com/blog-70#comments</comments>
		<pubDate>Wed, 06 May 2009 07:17:13 +0000</pubDate>
		<dc:creator>J.et wong</dc:creator>
				<category><![CDATA[Tech]]></category>

		<guid isPermaLink="false">http://j.etwong.com/?p=70</guid>
		<description><![CDATA[A.access denied for agent changed
常见时上传头像avtar 或者 自定义discuz 客户端的时候，解决这种问题最简单的办法：
使用数据库连接方式来连接uc_server
1.登陆后台，检查uccenter，检查应用管理，查找通信密钥，将其复制到你所在的config.inc.php
2.论坛的应用，根目录下的config.inc.php  其他的client,当然就是相应的config.inc.php
=======第一步看看uc_server目录有没有.htaccess
&#60;IfModule mod_security.c&#62;
SecFilterEngine Off
SecFilterScanPOST Off
&#60;/IfModule&#62;
加入其中。
第二步检查。key是否正确

 
B:注册成功后跳转到指定的页面
这个问题一般比较棘手，但很实用，解决办法比较好的是：
修改模板文件。register.htm 修改action后面 onsubmit 这个方法取消之
因为注册使用ajax提交，，切记切记
c:注册成功后页面不跳转
这个问题可能不多见。一般情况下可能是模板你改坏了，100%，register.htm
对，没错就是他，我曾经把他变成utf8但忘记去掉BOM（）
]]></description>
			<content:encoded><![CDATA[<p>A.access denied for agent changed</p>
<p>常见时上传头像avtar 或者 自定义discuz 客户端的时候，解决这种问题最简单的办法：<br />
使用数据库连接方式来连接uc_server<br />
1.登陆后台，检查uccenter，检查应用管理，查找通信密钥，将其复制到你所在的config.inc.php<br />
2.论坛的应用，根目录下的config.inc.php  其他的client,当然就是相应的config.inc.php</p>
<p>=======第一步看看uc_server目录有没有.htaccess</p>
<p>&lt;IfModule mod_security.c&gt;<br />
SecFilterEngine Off<br />
SecFilterScanPOST Off<br />
&lt;/IfModule&gt;</p>
<p>加入其中。</p>
<p>第二步检查。key是否正确</p>
<p><img class="alignnone size-full wp-image-102" src="http://j.etwong.com/wp-content/uploads/2009/05/0043.jpg" alt="0043" width="661" height="307" /></p>
<p> </p>
<p>B:注册成功后跳转到指定的页面<br />
这个问题一般比较棘手，但很实用，解决办法比较好的是：<br />
修改模板文件。register.htm 修改action后面 onsubmit 这个方法取消之<br />
因为注册使用ajax提交，，切记切记</p>
<p>c:注册成功后页面不跳转<br />
这个问题可能不多见。一般情况下可能是模板你改坏了，100%，register.htm<br />
对，没错就是他，我曾经把他变成utf8但忘记去掉BOM（）</p>
]]></content:encoded>
			<wfw:commentRss>http://j.etwong.com/blog-70/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>.htaccess使用收集</title>
		<link>http://j.etwong.com/blog-69</link>
		<comments>http://j.etwong.com/blog-69#comments</comments>
		<pubDate>Mon, 30 Mar 2009 02:20:50 +0000</pubDate>
		<dc:creator>J.et wong</dc:creator>
				<category><![CDATA[Tech]]></category>

		<guid isPermaLink="false">http://j.etwong.com/archives/69</guid>
		<description><![CDATA[RewriteEngine on
Options -Indexes //对所有目录下的目录都会起作用,禁止目录浏览
]]></description>
			<content:encoded><![CDATA[<p>RewriteEngine on<br />
Options -Indexes //对所有目录下的目录都会起作用,禁止目录浏览</p>
]]></content:encoded>
			<wfw:commentRss>http://j.etwong.com/blog-69/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
