<?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/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
	>

<channel>
	<title>myWebCode</title>
	<atom:link href="http://mywebcode.wordpress.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://mywebcode.wordpress.com</link>
	<description>Is this what you were looking for ?</description>
	<lastBuildDate>Thu, 14 Jan 2010 06:45:22 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
<cloud domain='mywebcode.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://s2.wp.com/i/buttonw-com.png</url>
		<title>myWebCode</title>
		<link>http://mywebcode.wordpress.com</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://mywebcode.wordpress.com/osd.xml" title="myWebCode" />
	<atom:link rel='hub' href='http://mywebcode.wordpress.com/?pushpress=hub'/>
		<item>
		<title>Simple PHP Redirector</title>
		<link>http://mywebcode.wordpress.com/2010/01/13/simple-php-redirector/</link>
		<comments>http://mywebcode.wordpress.com/2010/01/13/simple-php-redirector/#comments</comments>
		<pubDate>Wed, 13 Jan 2010 19:51:34 +0000</pubDate>
		<dc:creator>Dushi</dc:creator>
				<category><![CDATA[HTML]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[Internet]]></category>

		<guid isPermaLink="false">http://mywebcode.wordpress.com/?p=9</guid>
		<description><![CDATA[This code represents a simple PHP redirector for your web site . PHP_Redirector.php &#60;?php if($_POST[choice] == &#8220;google&#8221;) { $selection = &#8220;http://www.google.lk&#8221;; } elseif($_POST[choice] == &#8220;yahoo&#8221;) { $selection = &#8220;http://www.yahoo.com&#8221;; } elseif($_POST[choice] == &#8220;bing&#8221;) { $selection = &#8220;http://www.bing.com&#8221;; } header(&#8220;Location: $selection&#8221;); ?&#62; &#60;html&#62; &#60;head&#62; &#60;title&#62; Wich Search Engine &#60;/title&#62; &#60;/head&#62; &#60;body&#62; &#60;div style =&#8221;background:#339933&#8243;&#62; &#60;form action [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=mywebcode.wordpress.com&amp;blog=11406135&amp;post=9&amp;subd=mywebcode&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>This code represents a simple PHP redirector for your web site <img src='http://s0.wp.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  .</p>
<div id="attachment_16" class="wp-caption aligncenter" style="width: 404px"> <img class="size-full wp-image-16" title="php_redirector" src="http://mywebcode.files.wordpress.com/2010/01/php_redirector1.png?w=570" alt="php_redirector"   /></a><p class="wp-caption-text">php_redirector</p></div>
<p>PHP_Redirector.php</p>
<table bgcolor="#FFFFCC">
<tr>
<td>
<font face="verdana" size="1" color="#666666"><b><br />
&lt;?php</p>
<p>if($_POST[choice] == &#8220;google&#8221;)<br />
{<br />
$selection = &#8220;http://www.google.lk&#8221;;<br />
}<br />
elseif($_POST[choice] == &#8220;yahoo&#8221;)<br />
{<br />
$selection = &#8220;http://www.yahoo.com&#8221;;<br />
}<br />
elseif($_POST[choice] == &#8220;bing&#8221;)<br />
{<br />
$selection = &#8220;http://www.bing.com&#8221;;<br />
}</p>
<p>header(&#8220;Location: $selection&#8221;);</p>
<p>?&gt;</p>
<p>&lt;html&gt;<br />
&lt;head&gt;<br />
&lt;title&gt; Wich Search Engine &lt;/title&gt;<br />
&lt;/head&gt;<br />
&lt;body&gt;<br />
&lt;div style =&#8221;background:#339933&#8243;&gt;<br />
&lt;form action = &#8220;&lt;?php $_SERVER[PHP_SELF] ?&gt;&#8221; method = &#8220;POST&#8221;&gt;<br />
&amp;nbsp;&lt;font color=&#8221;#99ff66&#8243;&gt;&lt;b&gt;Take me to:&lt;/b&gt;&lt;/font&gt;<br />
&lt;input type = &#8220;radio&#8221; name = &#8220;choice&#8221; value = &#8220;google&#8221;&gt;Google &amp;nbsp;&lt;b&gt;|&lt;/b&gt;<br />
&lt;input type = &#8220;radio&#8221; name = &#8220;choice&#8221; value = &#8220;yahoo&#8221;&gt;Yahoo &amp;nbsp;&lt;b&gt;|&lt;/b&gt;<br />
&lt;input type = &#8220;radio&#8221; name = &#8220;choice&#8221; value = &#8220;bing&#8221;&gt;Bing&lt;br&gt;&lt;br&gt;<br />
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;<br />
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;<br />
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;<br />
&lt;input type = &#8220;submit&#8221; value = &#8220;Take Me&#8221;&gt;<br />
&lt;/form&gt;<br />
&lt;/div</p>
<p>&lt;/body&gt;<br />
&lt;/html&gt;<br />
</b></font></td>
</tr>
</table>
<p>                                                            *******</p>
<p>You can also use a html table instead of using <font color="#006699">&#8216;&lt;div&gt;&lt;/div&gt;&#8217;</font> tags. It will be more easy for you to align its elements.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/mywebcode.wordpress.com/9/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/mywebcode.wordpress.com/9/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/mywebcode.wordpress.com/9/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/mywebcode.wordpress.com/9/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/mywebcode.wordpress.com/9/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/mywebcode.wordpress.com/9/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/mywebcode.wordpress.com/9/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/mywebcode.wordpress.com/9/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/mywebcode.wordpress.com/9/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/mywebcode.wordpress.com/9/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/mywebcode.wordpress.com/9/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/mywebcode.wordpress.com/9/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/mywebcode.wordpress.com/9/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/mywebcode.wordpress.com/9/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=mywebcode.wordpress.com&amp;blog=11406135&amp;post=9&amp;subd=mywebcode&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://mywebcode.wordpress.com/2010/01/13/simple-php-redirector/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/8cc9ef6d86394a37e85e624071a8e34c?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">Dushi</media:title>
		</media:content>

		<media:content url="http://mywebcode.files.wordpress.com/2010/01/php_redirector1.png" medium="image">
			<media:title type="html">php_redirector</media:title>
		</media:content>
	</item>
	</channel>
</rss>
