<?xml version="1.0" encoding="utf-8" ?><rss version="2.0" xml:base="https://www.webmaster-forums.net/crss/node/1031095" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title></title>
    <link>https://www.webmaster-forums.net/crss/node/1031095</link>
    <description></description>
    <language>en</language>
          <item>
    <title></title>
    <link>https://www.webmaster-forums.net/serverside-scripting/php-code#comment-1182091</link>
    <description> &lt;p&gt;thanks...i&#039;ll try it out&lt;/p&gt;
 </description>
     <pubDate>Mon, 10 Oct 2005 15:13:19 +0000</pubDate>
 <dc:creator>subu</dc:creator>
 <guid isPermaLink="false">comment 1182091 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/serverside-scripting/php-code#comment-1182009</link>
    <description> &lt;p&gt;Or simply use the include function&lt;br /&gt;
&lt;div class=&quot;codeblock&quot;&gt;&lt;code&gt;if (condition satisfied)&lt;br /&gt;{&lt;br /&gt; include (&amp;quot;/path/to/page&amp;quot;); &lt;br /&gt;}&lt;br /&gt;else&lt;br /&gt;{ &lt;br /&gt; include (&amp;quot;/path/to/the/other/page&amp;quot;); &lt;br /&gt;}&lt;/code&gt;&lt;/div&gt;&#039;&lt;/p&gt;
 </description>
     <pubDate>Sun, 09 Oct 2005 08:40:49 +0000</pubDate>
 <dc:creator>Tudor.b</dc:creator>
 <guid isPermaLink="false">comment 1182009 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/serverside-scripting/php-code#comment-1181857</link>
    <description> &lt;p&gt;To do a regular redirect, the &quot;open one html page&quot; code might be something like:&lt;/p&gt;
&lt;p&gt;header(&quot;Location: http://mydomain.com/mypage.html&quot;);&lt;/p&gt;
&lt;p&gt;Remember that this command must be issued before ANY html is sent out (even blank lines!).&lt;/p&gt;
 </description>
     <pubDate>Thu, 06 Oct 2005 22:30:25 +0000</pubDate>
 <dc:creator>EarlDaniels</dc:creator>
 <guid isPermaLink="false">comment 1181857 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/serverside-scripting/php-code#comment-1181848</link>
    <description> &lt;p&gt;An IF ELSE is just that, &quot;do this, IF is ok. ELSE do the other&quot;&lt;/p&gt;
&lt;p&gt;$today_is = &#039;weekend&#039;;&lt;/p&gt;
&lt;p&gt;if ($today_is == &#039;weekday&#039;)&lt;br /&gt;
{&lt;br /&gt;
echo &#039;back to work&#039;;&lt;br /&gt;
}else{&lt;br /&gt;
echo &#039;woohooo it&#039;s the weekend, love these one day work weeks&#039;;&lt;br /&gt;
}&lt;/p&gt;
&lt;p&gt;This is basic PHP, you should really have a read over the manual (php.net)&lt;/p&gt;
 </description>
     <pubDate>Thu, 06 Oct 2005 21:13:25 +0000</pubDate>
 <dc:creator>Busy</dc:creator>
 <guid isPermaLink="false">comment 1181848 at https://www.webmaster-forums.net</guid>
  </item>
  </channel>
</rss>
