<?xml version="1.0" encoding="utf-8" ?><rss version="2.0" xml:base="https://www.webmaster-forums.net/crss/node/1039236" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title></title>
    <link>https://www.webmaster-forums.net/crss/node/1039236</link>
    <description></description>
    <language>en</language>
          <item>
    <title></title>
    <link>https://www.webmaster-forums.net/webmasters-corner/url-redirect-problem#comment-1222701</link>
    <description> &lt;p&gt;If you are going to redirect the user to an absolute location (ie &lt;a href=&quot;http://www.google.com&quot; class=&quot;bb-url&quot;&gt;google.com&lt;/a&gt; instead of something.php at your website), be sure you are including the full URL including &#039;http://&#039;.  I&#039;m guessing that you did...&lt;/p&gt;
&lt;p&gt;&lt;div class=&quot;codeblock&quot;&gt;&lt;code&gt;&lt;span style=&quot;color: #000000&quot;&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;&amp;lt;?php&lt;br /&gt;header&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;&#039;Location: &#039; &lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;. &lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$_POST&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;[&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;&#039;url&#039;&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;])&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;?&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/div&gt;&lt;/p&gt;
&lt;p&gt;...where $_POST[&#039;url&#039;] = &#039;www.google.com&#039;.  Since, you did not include the full URL, it took it as a relative URL and added it to the current location of your working directory (where your form file is located), which was &#039;http://www.website.co.uk/&#039;.&lt;/p&gt;
&lt;p&gt;Also, check out PHP&#039;s documentation for the &lt;a href=&quot;http://us2.php.net/manual/en/function.header.php&quot; class=&quot;bb-url&quot;&gt;header()&lt;/a&gt; function.&lt;/p&gt;
 </description>
     <pubDate>Sun, 05 Aug 2007 18:24:09 +0000</pubDate>
 <dc:creator>pr0gr4mm3r</dc:creator>
 <guid isPermaLink="false">comment 1222701 at https://www.webmaster-forums.net</guid>
  </item>
  </channel>
</rss>
