<?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>I.K.8.K  爱看不看 &#187; opera</title>
	<atom:link href="http://www.ik8k.com/blog/tag/opera/feed" rel="self" type="application/rss+xml" />
	<link>http://www.ik8k.com/blog</link>
	<description>After restart...</description>
	<lastBuildDate>Sat, 19 Jun 2010 16:39:51 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
		<item>
		<title>用俄版opera+自建中转服务器继续翻越</title>
		<link>http://www.ik8k.com/blog/2009/11/178</link>
		<comments>http://www.ik8k.com/blog/2009/11/178#comments</comments>
		<pubDate>Wed, 25 Nov 2009 03:11:17 +0000</pubDate>
		<dc:creator>hustcom</dc:creator>
				<category><![CDATA[small]]></category>
		<category><![CDATA[blackberry]]></category>
		<category><![CDATA[opera]]></category>
		<category><![CDATA[project]]></category>
		<category><![CDATA[setup]]></category>

		<guid isPermaLink="false">http://www.ik8k.com/blog/?p=178</guid>
		<description><![CDATA[伟大的墙继续风风火火地保护着墙内的一切，黑莓不能没有一个自由的opera，才过几天，这个问题就不再是个问题了，膜拜该project。 代码很简单很强大： //&#60;?php if ($_SERVER['REQUEST_METHOD'] == &#8216;GET&#8217;) { if (function_exists(&#8220;curl_init&#8221;)) { if (!$_GET["test"] != null) { header( &#8220;HTTP/1.1 301 Moved Permanently&#8221; ); header( &#8220;Location: http://www.google.com/ncr&#8221; ); } else { echo &#8216;Hello Opera Mini Server! Fuck GFW!&#8217;; } } else { echo &#8216;cURL is not enabled.&#8217;; } } else { $curlInterface = curl_init(); $headers[] = &#8216;Connection: [...]]]></description>
			<content:encoded><![CDATA[<p>伟大的墙继续风风火火地保护着墙内的一切，黑莓不能没有一个自由的opera，才过几天，这个问题就不再是个问题了，膜拜该<a href="http://code.google.com/p/opm-server-mirror/">project</a>。</p>
<p>代码很简单很强大：</p>
<p>//&lt;?php<br />
if ($_SERVER['REQUEST_METHOD'] == &#8216;GET&#8217;) {<br />
if (function_exists(&#8220;curl_init&#8221;)) {<br />
if (!$_GET["test"] != null) {<br />
header( &#8220;HTTP/1.1 301 Moved Permanently&#8221; );<br />
header( &#8220;Location: http://www.google.com/ncr&#8221; );<br />
} else {<br />
echo &#8216;Hello Opera Mini Server! Fuck GFW!&#8217;;<br />
}<br />
} else {<br />
echo &#8216;cURL is not enabled.&#8217;;<br />
}<br />
} else {<br />
$curlInterface = curl_init();<br />
$headers[] = &#8216;Connection: Keep-Alive&#8217;;<br />
$headers[] = &#8216;content-type: application/xml&#8217;;<br />
$headers[] = &#8216;User-Agent: Java0&#8242;;<br />
curl_setopt_array($curlInterface, array(<br />
CURLOPT_URL =&gt; &#8216;http://server4.operamini.com&#8217;,<br />
CURLOPT_HTTPHEADER =&gt; $headers,<br />
CURLOPT_POST =&gt; 1,<br />
CURLOPT_POSTFIELDS =&gt; @file_get_contents(&#8216;php://input&#8217;))<br />
);<br />
$result = curl_exec($curlInterface);<br />
curl_close($curlInterface);<br />
header(&#8216;Content-Type: application/octet-stream&#8217;);<br />
header(&#8216;Cache-Control: priavte, no-cache&#8217;);<br />
echo $result;<br />
}<br />
//?&gt;</p>
<p>有了自己的国外服务器，应用这一切就很容易了：</p>
<ol>
<li>新建一个子域名；</li>
<li>在该子域名的根目录下上传该文件index.php;</li>
<li>在俄版opera上更改http和sock的代理。(记得在增强设置中把‘保存初始’去掉)</li>
</ol>
<p>用着自己的中转服务器，感到速度特别的快，嘎嘎！</p>
]]></content:encoded>
			<wfw:commentRss>http://www.ik8k.com/blog/2009/11/178/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
