<?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>中立博客 &#187; 网站应用</title>
	<atom:link href="http://yesmyidea.com/category/web/feed/" rel="self" type="application/rss+xml" />
	<link>http://yesmyidea.com</link>
	<description>Yes my idea dot com</description>
	<lastBuildDate>Mon, 17 Oct 2011 17:13:59 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
		<item>
		<title>WordPress升级1060错误另类本地测试解决方法</title>
		<link>http://yesmyidea.com/wordpress-autoupdate-1060-error/</link>
		<comments>http://yesmyidea.com/wordpress-autoupdate-1060-error/#comments</comments>
		<pubDate>Mon, 17 Oct 2011 17:13:59 +0000</pubDate>
		<dc:creator>中立</dc:creator>
				<category><![CDATA[网站应用]]></category>
		<category><![CDATA[1060错误]]></category>
		<category><![CDATA[Wordpress]]></category>
		<category><![CDATA[自动升级]]></category>

		<guid isPermaLink="false">http://yesmyidea.com/wordpress-autoupdate-1060-error/</guid>
		<description><![CDATA[WordPress升级1060错误的解决方法就是把安装源放在本地，这样可以秒杀1060错误。]]></description>
			<content:encoded><![CDATA[<p>很多人在使用后台自动升级wordpress的时候遇到了提示是1060错误，主要原因是下载升级程序超时造成的。同样，如果下载插件时过慢也会造成这种情况。如果你博客主机放在国外，这个问题基本不会出现。但是如果是在国内，有可能会遇到。</p>
<p>为了避免自动升级出错，最好先本地测试一下。但是本地测试往往由于网速问题而失败，解决办法非常简单，把升级程序源放在本地，秒杀自动升级失败。</p>
<p>第一步：设置c:\windows\system32\etc\hosts文件，添加：</p>
<pre class="csharpcode">    127.0.0.1       downloads.wordpress.org

    127.0.0.1       wordpress.org</pre>
<p>第二步：设置apache的配置文件，一般在apache目录下的conf/extra里面，文件名为：httpd-vhosts.conf，添加：</p>
<p><span id="more-10636"></span></p>
<pre class="csharpcode"><span class="kwrd">&lt;</span><span class="html">VirtualHost</span> <span class="attr">127</span>.<span class="attr">0</span>.<span class="attr">0</span>.<span class="attr">1:80</span><span class="kwrd">&gt;</span>

    DocumentRoot &quot;/wordpress&quot;

    ServerName wordpress.org
    ServerAlias downloads.wordpress.org
    ServerAlias www.wordpress.org
   <span class="kwrd">&lt;</span><span class="html">Directory</span> <span class="kwrd">/&gt;</span>
     AllowOverride All
     Order deny,allow
     Allow from all
   <span class="kwrd">&lt;/</span><span class="html">Directory</span><span class="kwrd">&gt;</span>
<span class="kwrd">&lt;/</span><span class="html">VirtualHost</span><span class="kwrd">&gt;</span></pre>
<p>第三步：将下载的带版本号的ZIP文件如wordpress-3.2.1.zip放入wordpress目录，将插件文件放入wordpress/plugin目录内。</p>
<p>这时后台自动升级看看，可谓秒杀1060错误。此类方法同样适用于服务器yum安装等，都可以设置本地安装源。<br />
<style type="text/css">
.csharpcode, .csharpcode pre
{
	font-size: small;
	color: black;
	font-family: consolas, "Courier New", courier, monospace;
	background-color: #ffffff;
	/*white-space: pre;*/
}
.csharpcode pre { margin: 0em; }
.csharpcode .rem { color: #008000; }
.csharpcode .kwrd { color: #0000ff; }
.csharpcode .str { color: #006080; }
.csharpcode .op { color: #0000c0; }
.csharpcode .preproc { color: #cc6633; }
.csharpcode .asp { background-color: #ffff00; }
.csharpcode .html { color: #800000; }
.csharpcode .attr { color: #ff0000; }
.csharpcode .alt 
{
	background-color: #f4f4f4;
	width: 100%;
	margin: 0em;
}
.csharpcode .lnum { color: #606060; }</style></p>
<h2  class="related_post_title">相关文章</h2><ul class="related_post"><li><a href="http://yesmyidea.com/discuz-shopex-ecms-wordpress-successfully-moving/" title="Discuz、Shopex、帝国CMS和Wordpress成功搬家">Discuz、Shopex、帝国CMS和Wordpress成功搬家</a></li><li><a href="http://yesmyidea.com/feedburner-and-feedsky-truly-seamless-link-between-the-different-feed/" title="真正实现Feedburner和Feedsky不同Feed之间的无缝链接">真正实现Feedburner和Feedsky不同Feed之间的无缝链接</a></li><li><a href="http://yesmyidea.com/the-most-perfectly-optimized-to-streamline-the-plug-in-wordpress-blog/" title="最精简插件完美优化wordpress博客">最精简插件完美优化wordpress博客</a></li><li><a href="http://yesmyidea.com/all-in-one-seo-have-been-completely-abandoned/" title="All in one seo被彻底抛弃！">All in one seo被彻底抛弃！</a></li><li><a href="http://yesmyidea.com/use-google-translate-to-create-chinese-english-bilingual-blog/" title="利用Google Translate打造中英文双语博客">利用Google Translate打造中英文双语博客</a></li><li><a href="http://yesmyidea.com/google-xml-sitemap-generator-plugin-errors-are-the-fault-of-feedsky-feed/" title="Google XML Sitemap生成器插件错误，都是Feedsky Feed惹的祸">Google XML Sitemap生成器插件错误，都是Feedsky Feed惹的祸</a></li></ul>]]></content:encoded>
			<wfw:commentRss>http://yesmyidea.com/wordpress-autoupdate-1060-error/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>tar: Error exit delayed from previous errors错误解决办法</title>
		<link>http://yesmyidea.com/tar-error-exit-delayed-from-previous-errors/</link>
		<comments>http://yesmyidea.com/tar-error-exit-delayed-from-previous-errors/#comments</comments>
		<pubDate>Thu, 13 Oct 2011 13:21:13 +0000</pubDate>
		<dc:creator>中立</dc:creator>
				<category><![CDATA[网站应用]]></category>
		<category><![CDATA[Error exit delayed from previous errors]]></category>
		<category><![CDATA[tar]]></category>
		<category><![CDATA[tar压缩]]></category>
		<category><![CDATA[tar解压缩]]></category>

		<guid isPermaLink="false">http://yesmyidea.com/tar-error-exit-delayed-from-previous-errors/</guid>
		<description><![CDATA[备份网站数据时使用tar命令备份资料的时候报错：tar: Error exit delayed from previous errors,主要是文件权限的设置问题,可能没有读写权限;而使用FTP传输的文件解压时也会出现tar: Error exit delayed from previous errors,则主要是需要把传输方式设置为二进制即可.]]></description>
			<content:encoded><![CDATA[<p>使用tar命令备份资料的时候报错：tar: Error exit delayed from previous errors 。 tar打包压缩命令如下：</p>
<pre>tar -czvf   dir.tar.gz   dir
...................
...................
tar: Error exit delayed from previous errors</pre>
<p>在Google搜索了一下，出现这种问题可能有两种情况：</p>
<p><span style="background-color: #ffffff; font-family: Verdana;">1、</span>打包目录中可能有的文件没有读取(r)权限；</p>
<p>2、打包目录中可能有的目录没有执行(x)权限。</p>
<p><span id="more-10624"></span></p>
<p>找到权限有问题的文件或目录并使用下面的chmod命令更改它们的权限即可：</p>
<pre># 更改文件权限
chmod u+r file

# 更改目录权限
chmod -R u+xr dir</pre>
<p>权限设置完成之后，再使用tar命令打包压缩就不会再有tar: Error exit delayed from previous errors的错误了。</p>
<p>有时候我们在解压的时候tar xzvf ….也会出现tar: Error exit delayed from previous errors错误，这种情况通常是由于xxx.tar.gz压缩包内有些文件/目录不能被当前用户读取造成的。在使用ftp命令传输文件时经常会碰到这种 情况，只要更改ftp的传输方式为二进制的方式即可：</p>
<pre>ftp 192.168.0.1
# 省略登录口令和…
# ftp命令模式,设置传输模式为bin
ftp&gt; bin
ftp&gt; put ~/xxx.tar.gz yyy.tar.gz</pre>
<p>这样再用ftp传送文件时解压它时就不会再出现 tar: Error exit delayed from previous errors的错误了。</p>
<h2  class="related_post_title">随机文章</h2><ul class="related_post"><li><a href="http://yesmyidea.com/heard-of-no-water-in-lijiang/" title="听说漓江没水了">听说漓江没水了</a></li><li><a href="http://yesmyidea.com/fairness-internal-controls/" title="内部管理的公平性原则">内部管理的公平性原则</a></li><li><a href="http://yesmyidea.com/deal-with-fairs-holistic-connection/" title="学会用整体观和联系观来处事">学会用整体观和联系观来处事</a></li><li><a href="http://yesmyidea.com/sudongpo-huineng-marcrus-aurelius/" title="苏东坡、慧能和马可.奥列留">苏东坡、慧能和马可.奥列留</a></li><li><a href="http://yesmyidea.com/spring-fever/" title="春困">春困</a></li><li><a href="http://yesmyidea.com/book-earning-500-yuan-per-day-download/" title="《日赚500元》这本书推荐下载">《日赚500元》这本书推荐下载</a></li></ul>]]></content:encoded>
			<wfw:commentRss>http://yesmyidea.com/tar-error-exit-delayed-from-previous-errors/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Discuz论坛升级之旅</title>
		<link>http://yesmyidea.com/discuz-update-discuzx/</link>
		<comments>http://yesmyidea.com/discuz-update-discuzx/#comments</comments>
		<pubDate>Sun, 09 Oct 2011 00:36:00 +0000</pubDate>
		<dc:creator>中立</dc:creator>
				<category><![CDATA[互联网络]]></category>
		<category><![CDATA[网站应用]]></category>
		<category><![CDATA[Discuz7]]></category>
		<category><![CDATA[DiscuzX]]></category>
		<category><![CDATA[Ucenter]]></category>
		<category><![CDATA[论坛升级]]></category>

		<guid isPermaLink="false">http://yesmyidea.com/discuz-update-discuzx/</guid>
		<description><![CDATA[Discuz升级时注意和Ucenter的升级，同时还要注意伪静态的问题和老用户不能登陆的问题。]]></description>
			<content:encoded><![CDATA[<p>Discuz的使用确实简单，除了功能过于完备之外，也使得我把<a href="http://www.redinside.com/" target="_blank">红点论坛</a>从VBB阵营直接转到Discuz7.0。在这个复杂的数据转换和升级之路，把几个关键点写出来，方便大家。</p>
<p>Ucenter和Discuz最好分开安装，这样以后再装别的康盛家的程序的时候，就不用在装Ucenter了。Ucenter和Discuz的主要的配置是两个配置文件，一个是uc_sever/data/config.inc.php，另外一个是bbs/config.inc.php。对UC的配置关键因素是一个UC_key必须一致才能成功通信。</p>
<p>在Discuz7.0备份或者搬家而恢复数据库的时候，由于我的数据有200M，就用了帝国备份王来导出和恢复，这样出现了两个问题，一个是老用户不能登陆。如果是UC和DZ装在两个数据库，必须同时分开导入数据库才能使用，同一个的话也是要建立通信成功才正常。第二个问题就是伪静态，<span id="more-10615"></span>需要在根目录下添加.htaccess文件才可以。Discuz7.0,7.1,7.2的.htaccess代码如下：</p>
<p>RewriteEngine On    <br />RewriteBase /bbs/     <br />RewriteRule ^archiver/((fid|tid)-[\w\-]+\.html)$ archiver/index.php?$1     <br />RewriteRule ^forum-([0-9]+)-([0-9]+)\.html$ forumdisplay.php?fid=$1&amp;page=$2     <br />RewriteRule ^thread-([0-9]+)-([0-9]+)-([0-9]+)\.html$ viewthread.php?tid=$1&amp;extra=page\%3D$3&amp;page=$2     <br />RewriteRule ^space-(username|uid)-(.+)\.html$ space.php?$1=$2     <br />RewriteRule ^tag-(.+)\.html$ tag.php?name=$1     <br />RewriteRule ^index\.html index.php</p>
<p>而Discuz X1.5和Discuz X2的.htaccess 文件为:</p>
<p># RewriteEngine    <br />RewriteEngine On</p>
<p>#&#160; /discuz&#160; /discuz&#160; /    <br />RewriteBase /bbs</p>
<p># Rewrite    <br />RewriteCond %{QUERY_STRING} ^(.*)$     <br />RewriteRule ^topic-(.+)\.html$ portal.php?mod=topic&amp;topic=$1&amp;%1     <br />RewriteCond %{QUERY_STRING} ^(.*)$     <br />RewriteRule ^article-([0-9]+)-([0-9]+)\.html$ portal.php?mod=view&amp;aid=$1&amp;page=$2&amp;%1     <br />RewriteCond %{QUERY_STRING} ^(.*)$     <br />RewriteRule ^forum-([0-9]+)-([0-9]+)\.html$ forum.php?mod=forumdisplay&amp;fid=$1&amp;page=$2&amp;%1     <br />RewriteCond %{QUERY_STRING} ^(.*)$     <br />RewriteRule ^thread-([0-9]+)-([0-9]+)-([0-9]+)\.html$ forum.php?mod=viewthread&amp;tid=$1&amp;extra=page\%3D$3&amp;page=$2&amp;%1     <br />RewriteCond %{QUERY_STRING} ^(.*)$     <br />RewriteRule ^group-([0-9]+)-([0-9]+)\.html$ forum.php?mod=group&amp;fid=$1&amp;page=$2&amp;%1     <br />RewriteCond %{QUERY_STRING} ^(.*)$     <br />RewriteRule ^space-(username|uid)-(.+)\.html$ home.php?mod=space&amp;$1=$2&amp;%1     <br />RewriteCond %{QUERY_STRING} ^(.*)$     <br />RewriteRule ^([a-z]+)-(.+)\.html$ $1.php?rewrite=$2&amp;%1</p>
<p>在Discuz7.2升级Discuz X1.5的过程中需要对数据库转换，我直到按照官方教程进行转换的时候才发现就是需要全新升级。最好的步骤应该是新建一个数据库进行安装，另外这里还是选择和Ucenter分开安装，这样做的好处是可以在以后升级的时候不用每次都单独的复制uc_server/data/avatar文件夹。</p>
<p>在所有的升级过程中，关闭论坛，恢复默认模板，删除或者禁用插件，清除缓存，分别备份论坛数据库和Ucenter数据库是必须的步骤，那么网页的文件只需要保留config.inc.php和附件就可以了。</p>
<p>Discuz7.*版本是attachments文件夹和config.inc.php文件，Discuz X 则是config文件夹和data/ attachment文件夹，另外.htacces和robots.txt文件也是需要保留的。</p>
<h2  class="related_post_title">随机文章</h2><ul class="related_post"><li><a href="http://yesmyidea.com/enterprise/" title="事业心">事业心</a></li><li><a href="http://yesmyidea.com/heard-of-no-water-in-lijiang/" title="听说漓江没水了">听说漓江没水了</a></li><li><a href="http://yesmyidea.com/sudongpo-huineng-marcrus-aurelius/" title="苏东坡、慧能和马可.奥列留">苏东坡、慧能和马可.奥列留</a></li><li><a href="http://yesmyidea.com/thinking-of-lunch/" title="公司午饭的思考">公司午饭的思考</a></li><li><a href="http://yesmyidea.com/two-wordpress-plugins-auto-explore-wap-blog/" title="两个wordpress插件让手机浏览器自动访问博客wap站">两个wordpress插件让手机浏览器自动访问博客wap站</a></li><li><a href="http://yesmyidea.com/decompress-efficiency/" title="减压和提高效率">减压和提高效率</a></li></ul>]]></content:encoded>
			<wfw:commentRss>http://yesmyidea.com/discuz-update-discuzx/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>公布三段隐藏销售链接的代码</title>
		<link>http://yesmyidea.com/announced-three-sections-of-the-sales-link-code-hidden/</link>
		<comments>http://yesmyidea.com/announced-three-sections-of-the-sales-link-code-hidden/#comments</comments>
		<pubDate>Sat, 07 Aug 2010 08:24:20 +0000</pubDate>
		<dc:creator>中立</dc:creator>
				<category><![CDATA[网站应用]]></category>
		<category><![CDATA[php跳转]]></category>
		<category><![CDATA[销售链接]]></category>

		<guid isPermaLink="false">http://yesmyidea.com/announced-three-sections-of-the-sales-link-code-hidden/</guid>
		<description><![CDATA[销售链接最好是隐藏并且设置为不被搜索引擎抓取，本文分别给出html和php两种程序，其中第三种方法是网上没有公布的方法，非常好！]]></description>
			<content:encoded><![CDATA[<p>这里是三段隐藏销售链接的代码，非常有好处，不知道的朋友自己去研究吧。</p>
<p> <span id="more-10593"></span>
<pre class="csharpcode">&lt;!DOCTYPE html PUBLIC <span class="str">&quot;-//W3C//DTD XHTML 1.0 Transitional//EN&quot;</span> <span class="str">&quot;http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd&quot;</span>&gt;
&lt;html xmlns=<span class="str">&quot;http://www.w3.org/1999/xhtml&quot;</span>&gt;
&lt;head&gt;
&lt;title&gt;vancl&lt;/title&gt;
&lt;meta name=<span class="str">&quot;robots&quot;</span> content=<span class="str">&quot;noindex,nofollow&quot;</span>&gt;
&lt;script&gt;window.location=<span class="str">&quot;Your Links&quot;</span>;&lt;/script&gt;
&lt;meta http-equiv=<span class="str">&quot;refresh&quot;</span> content=<span class="str">&quot;1; url=Your link&quot;</span>&gt;
&lt;/head&gt;
&lt;body&gt;
&lt;p align=<span class="str">&quot;center&quot;</span>&gt;You are being taken to the correct page.
&lt;br&gt;
If the page does not load after 5 seconds,
&lt;a href=<span class="str">&quot;Your Links&quot;</span>&gt;click here&lt;IMG SRC=<span class="str">&quot;Your image link&quot;</span> width=<span class="str">&quot;1&quot;</span> height=<span class="str">&quot;1&quot;</span>  border=<span class="str">&quot;0&quot;</span>&gt;&lt;/a&gt;.&lt;/p&gt;
&lt;/body&gt;
&lt;/html&gt;</pre>
<style type="text/css">
.csharpcode, .csharpcode pre
{
	font-size: small;
	color: black;
	font-family: consolas, "Courier New", courier, monospace;
	background-color: #ffffff;
	/*white-space: pre;*/
}
.csharpcode pre { margin: 0em; }
.csharpcode .rem { color: #008000; }
.csharpcode .kwrd { color: #0000ff; }
.csharpcode .str { color: #006080; }
.csharpcode .op { color: #0000c0; }
.csharpcode .preproc { color: #cc6633; }
.csharpcode .asp { background-color: #ffff00; }
.csharpcode .html { color: #800000; }
.csharpcode .attr { color: #ff0000; }
.csharpcode .alt 
{
	background-color: #f4f4f4;
	width: 100%;
	margin: 0em;
}
.csharpcode .lnum { color: #606060; }</style>
<p>一段简单的php代码：</p>
<pre class="csharpcode">&lt;?php
header(“Location: 你的连接”);
?&gt;</pre>
<p>第三段，网上还没有人公布呢，<a href="http://blog.tianbaoyong.com">宝勇</a>写给我的：</p>
<pre class="csharpcode">&lt;?php
    <span class="kwrd">if</span>($_GET[<span class="str">'target'</span>]){
        <span class="kwrd">switch</span>($_GET[<span class="str">'target'</span>]){
            <span class="kwrd">case</span> <span class="str">'Nokia'</span>:
            header(<span class="str">&quot;location:http://www.nokia.com&quot;</span>);
            <span class="kwrd">break</span>;
            <span class="kwrd">case</span> <span class="str">'tianbaoyong'</span>:
            header(<span class="str">&quot;location:http://tianbaoyong.com&quot;</span>);
            <span class="kwrd">break</span>;
            <span class="kwrd">default</span>:
        <span class="kwrd">null</span>;
        }
    }
?&gt;</pre>
<style type="text/css">
.csharpcode, .csharpcode pre
{
	font-size: small;
	color: black;
	font-family: consolas, "Courier New", courier, monospace;
	background-color: #ffffff;
	/*white-space: pre;*/
}
.csharpcode pre { margin: 0em; }
.csharpcode .rem { color: #008000; }
.csharpcode .kwrd { color: #0000ff; }
.csharpcode .str { color: #006080; }
.csharpcode .op { color: #0000c0; }
.csharpcode .preproc { color: #cc6633; }
.csharpcode .asp { background-color: #ffff00; }
.csharpcode .html { color: #800000; }
.csharpcode .attr { color: #ff0000; }
.csharpcode .alt 
{
	background-color: #f4f4f4;
	width: 100%;
	margin: 0em;
}
.csharpcode .lnum { color: #606060; }</style>
<h2  class="related_post_title">随机文章</h2><ul class="related_post"><li><a href="http://yesmyidea.com/internet-entrepreneurship-has-not-hollow-it/" title="互联网创业没有凹地了吗?">互联网创业没有凹地了吗?</a></li><li><a href="http://yesmyidea.com/windows-live-writer-custom-fields-pulgin-download/" title="Windows Live Writer编辑Wordpress博客的自定义域插件下载">Windows Live Writer编辑Wordpress博客的自定义域插件下载</a></li><li><a href="http://yesmyidea.com/theory-of-wild-body/" title="野蛮体魄论">野蛮体魄论</a></li><li><a href="http://yesmyidea.com/anonymous-tea/" title="无名茶">无名茶</a></li><li><a href="http://yesmyidea.com/thoroughgoing-being-patriotic/" title="彻底爱国">彻底爱国</a></li><li><a href="http://yesmyidea.com/thinking-of-lunch/" title="公司午饭的思考">公司午饭的思考</a></li></ul>]]></content:encoded>
			<wfw:commentRss>http://yesmyidea.com/announced-three-sections-of-the-sales-link-code-hidden/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>虚拟主机的一般管理测试方法</title>
		<link>http://yesmyidea.com/general-management-of-the-virtual-hosts-2/</link>
		<comments>http://yesmyidea.com/general-management-of-the-virtual-hosts-2/#comments</comments>
		<pubDate>Tue, 29 Jun 2010 14:08:33 +0000</pubDate>
		<dc:creator>中立</dc:creator>
				<category><![CDATA[网站应用]]></category>
		<category><![CDATA[在线压缩工具]]></category>
		<category><![CDATA[在线解压缩]]></category>
		<category><![CDATA[虚拟主机]]></category>

		<guid isPermaLink="false">http://yesmyidea.com/general-management-of-the-virtual-hosts-2/</guid>
		<description><![CDATA[站长使用虚拟主机的时候，最主要的工具就是php探针，来检测主机的配置环境；在线解压缩和压缩工具，解决上传和下载文件的问题，同时还要知道如何修改本地的host文件来测试主机绑定的域名。]]></description>
			<content:encoded><![CDATA[<p>虚拟主机我使用的不多，只是购买过<a href="http://www.net.cn" target="_blank">万网</a>的一个，使用的效果感觉比较满意，当然价格也比较贵。但虚拟主机一般这样的几个不方便的地方，一个就是虽然允许绑定20个域名，但是不能绑定到子目录；第二就是没有在线压缩和解压缩；第三就是支持不支持url重写，这样你可以直接使用.htaccess文件。</p>
<p>一、绑定多个域名的方法。</p>
<p>这里我只给出php跳转的方法，这里好象域名大小写也有影响，一般不推荐这样，因为这样对搜索引擎并不友好，其中的任意一个网站使用绑定的任意域名，都可以访问。</p>
<div>
<pre>&lt;?php
<span style="color: #0000ff;">switch</span> ($_SERVER["<span style="color: #8b0000;">HTTP_HOST</span>"])
{
<span style="color: #0000ff;">case</span> "<span style="color: #8b0000;">www.redinside.com</span>":
header("<span style="color: #8b0000;">location:bbs.php</span>");
<span style="color: #0000ff;">break</span>;
<span style="color: #0000ff;">case</span> "<span style="color: #8b0000;">redinside.com</span>":
header("<span style="color: #8b0000;">location:bbs.php</span>");
<span style="color: #0000ff;">break</span>;
<span style="color: #0000ff;">case</span> "<span style="color: #8b0000;">www.4008806616.com</span>":
header("<span style="color: #8b0000;">location:400/index.php</span>");
<span style="color: #0000ff;">break</span>;
<span style="color: #0000ff;">case</span> "<span style="color: #8b0000;">4008806616.com</span>":
header("<span style="color: #8b0000;">location:400/index.php</span>");
<span style="color: #0000ff;">break</span>;
}
?&gt;</pre>
</div>
<p>二、已经有非常有效的在线压缩和在线解压缩工具，只需要上传到你的主机FTP空间里，把你的文件压缩成ZIP文件，或者是对上传的文件解压，大大提高了效率；</p>
<div id="scid:F60BB8FA-6F02-4999-8F5E-9DD4E92C4DA7:7a644753-855a-4fc9-a0f9-c93a012b303b" class="wlWriterSmartContent" style="display: inline; float: none; margin: 0px; padding: 0px;">
<div><a href="http://yesmyidea.com/wp-content/uploads/2010/06/zip.zip" target="_blank">在线压缩Web压缩zip.zip</a></div>
</div>
<div id="scid:F60BB8FA-6F02-4999-8F5E-9DD4E92C4DA7:6c9bab7c-e72c-4c40-b9b9-9a957d97ceb6" class="wlWriterSmartContent" style="display: inline; float: none; margin: 0px; padding: 0px;">
<div><a href="http://yesmyidea.com/wp-content/uploads/2010/06/unzip.zip" target="_blank">在线解压缩Web解压缩unzip.zip</a></div>
</div>
<p>三、上传php探针测试空间：</p>
<div id="scid:8eb9d37f-1541-4f29-b6f4-1eea890d4876:f175a161-1a8e-4cd6-b77f-9ea09705c15e" class="wlWriterEditableSmartContent" style="display: inline; float: none; margin: 0px; padding: 0px;">
<div>PHP探针文件iProber.php.zip<a href="http://yesmyidea.com/wp-content/uploads/2010/06/iProber.zip">iProber.zip</a></div>
</div>
<h2  class="related_post_title">随机文章</h2><ul class="related_post"><li><a href="http://yesmyidea.com/learn-accepting-mistakes/" title="学会接受别人的错误">学会接受别人的错误</a></li><li><a href="http://yesmyidea.com/when-jesus-meet-confucius/" title="当耶酥遇到孔子">当耶酥遇到孔子</a></li><li><a href="http://yesmyidea.com/url-rewrite-collection/" title="URL重写规则整理">URL重写规则整理</a></li><li><a href="http://yesmyidea.com/send-and-receive-faxes-using-the-computer/" title="使用电脑收发传真">使用电脑收发传真</a></li><li><a href="http://yesmyidea.com/internet-entrepreneurship-has-not-hollow-it/" title="互联网创业没有凹地了吗?">互联网创业没有凹地了吗?</a></li><li><a href="http://yesmyidea.com/tutorial-to-big-clients-provided-by-google-official-free-down/" title="Google官方只提供大客户的Adwords电子教程免费下载">Google官方只提供大客户的Adwords电子教程免费下载</a></li></ul>]]></content:encoded>
			<wfw:commentRss>http://yesmyidea.com/general-management-of-the-virtual-hosts-2/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

