<?xml version="1.0" encoding="utf-8" ?><rss version="2.0" xml:base="https://www.webmaster-forums.net/crss/node/1028680" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title></title>
    <link>https://www.webmaster-forums.net/crss/node/1028680</link>
    <description></description>
    <language>en</language>
          <item>
    <title></title>
    <link>https://www.webmaster-forums.net/serverside-scripting/ready-move-html-php-sitehow#comment-1169961</link>
    <description> &lt;p&gt;Oh, I forgot to mention, and it is slightly off topic, however if you were going to swap over to php you can make other little bits and bobs easy too.  Replace you &#039;Copyright 2005, All Rights Reserved&#039; comment in your footer with &#039;Copyright &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; &lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;echo &lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;date&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;&quot;Y&quot;&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;); &lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;php&lt;br /&gt;?&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/div&gt;, All Rights Reserved&#039;.  If you file is saved as a php file, this will save you ever needing to update your copyright to the current year.  Ok, so I guess that just shows how lazy I am, but its little things like that that can make your life much easier.&lt;/p&gt;
 </description>
     <pubDate>Sat, 23 Apr 2005 05:02:38 +0000</pubDate>
 <dc:creator>heartsaffection</dc:creator>
 <guid isPermaLink="false">comment 1169961 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/serverside-scripting/ready-move-html-php-sitehow#comment-1169842</link>
    <description> &lt;p&gt;Indeed Busy is correct, the way PHP handles object orientation has been completely re-written... Programming PHP is somewhat different in Version 5, although most hosts have not upgraded yet, perhaps it would be a good time to start complaining &lt;img src=&quot;https://www.webmaster-forums.net/misc/smileys/smile.png&quot; title=&quot;Smiling&quot; alt=&quot;Smiling&quot; class=&quot;smiley-content&quot; /&gt;&lt;/p&gt;
 </description>
     <pubDate>Thu, 21 Apr 2005 11:44:04 +0000</pubDate>
 <dc:creator>JeevesBond</dc:creator>
 <guid isPermaLink="false">comment 1169842 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/serverside-scripting/ready-move-html-php-sitehow#comment-1169840</link>
    <description> &lt;p&gt;If you or anyone buys any PHP books, make sure the book includes PHP5 as there is a lot of new functions that 3 and 4 didnt have.&lt;/p&gt;
&lt;p&gt;Also do a search on these forums for PHP help and databases and learning php and mysql for more great advice&lt;/p&gt;
&lt;p&gt;Welcome to your new addiction muhahaha &lt;img src=&quot;https://www.webmaster-forums.net/misc/smileys/big.png&quot; title=&quot;Laughing out loud&quot; alt=&quot;Laughing out loud&quot; class=&quot;smiley-content&quot; /&gt;&lt;/p&gt;
 </description>
     <pubDate>Thu, 21 Apr 2005 10:16:57 +0000</pubDate>
 <dc:creator>Busy</dc:creator>
 <guid isPermaLink="false">comment 1169840 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/serverside-scripting/ready-move-html-php-sitehow#comment-1169832</link>
    <description> &lt;p&gt;Oh, I forgot to mention, changing your current site to php should be pretty easy. Just have a look at your front page, and decide what sections you want to break it down into. &lt;a href=&quot;http://www.heartsaffection.com&quot; class=&quot;bb-url&quot;&gt;http://www.heartsaffection.com&lt;/a&gt; for example is broken into a header, footer, main text and right hand contents column sections.&lt;/p&gt;
&lt;p&gt;In your index.html page, just cut out the sections and save them in new files. Replace the empty space in the index file with &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; &lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;include &lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;&#039;title&#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; swapping title for whatever it is that you have called the new file.&lt;/p&gt;
 </description>
     <pubDate>Thu, 21 Apr 2005 06:42:19 +0000</pubDate>
 <dc:creator>heartsaffection</dc:creator>
 <guid isPermaLink="false">comment 1169832 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/serverside-scripting/ready-move-html-php-sitehow#comment-1169831</link>
    <description> &lt;p&gt;Ok, here&#039;s the deal. If you follow these instructions you will make your first php linked site. Its pretty easy, and I have made this selection of pages very simple.&lt;/p&gt;
&lt;p&gt;Create a page called index.php and put the following into it:&lt;/p&gt;
&lt;p&gt;Untitled&lt;/p&gt;
&lt;p&gt;	&amp;nbsp;&lt;br /&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; &lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;include &lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;&#039;title&#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;	&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; &lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;include &lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;&#039;contents&#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;br /&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; &lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;include &lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;&#039;main&#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;Now create a page called view.php and put the following into it (this is exactly the same as the index page only with a change to the php code in one of the cells):&lt;/p&gt;
&lt;p&gt;Untitled&lt;/p&gt;
&lt;p&gt;	&amp;nbsp;&lt;br /&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; &lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;include &lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;&#039;title&#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;	&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; &lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;include &lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;&#039;contents&#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;br /&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; $page &lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;= &lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$_REQUEST&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;[&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;&#039;page&#039;&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;]; include(&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;&quot;&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$page&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;&quot;&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;You now want to create 5 files - title, main, hello, goodbye, contents. Note (using &#039;title&#039; as an example -  Please dont name it title.html or title.txt - just name it &#039;title&#039;&lt;/p&gt;
&lt;p&gt;In title write Title&lt;br /&gt;
In main write My starting page&lt;br /&gt;
In hello write Hello&lt;br /&gt;
In goodbye write Goodbye&lt;/p&gt;
&lt;p&gt;And finally in contents write the following:&lt;/p&gt;
&lt;p&gt;&lt;a href=&quot;index.php&quot;&gt;Index&lt;/a&gt;&lt;br /&gt;
&lt;a href=&quot;view.php?page=hello&quot;&gt;Hello&lt;br /&gt;
&lt;a href=&quot;view.php?page=goodbye&quot;&gt;Goodbye&lt;/a&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Please be aware that there is no need for any html body tags or anything in any page other than index.php and view.php.&lt;/p&gt;
&lt;p&gt;Thats it I think.  Now upload the lot to a server, and have a look at index.php.  Clicking on the link in the contents section will load the appropriate page in the main section, replacing what was previously there.  If you want to make a new page, just add a new one in the style of the &#039;hello&#039; or &#039;goodbye&#039; page, and make a link to view.php?page= with whatever you call the page after the page=.&lt;/p&gt;
&lt;p&gt;The title and contents will appear on every page you view, so if you change that contents/title page, it will change it on every page on your site automatically.&lt;/p&gt;
&lt;p&gt;I hope this helps.  If by chance this doesn&#039;t work, tell me - I&#039;ll have a look at it for you.&lt;/p&gt;
&lt;p&gt;You can see an example of a site using this method at &lt;a href=&quot;http://www.heartsaffection.com&quot; class=&quot;bb-url&quot;&gt;http://www.heartsaffection.com&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Cheers,&lt;/p&gt;
&lt;p&gt;Andy&lt;/p&gt;
 </description>
     <pubDate>Thu, 21 Apr 2005 06:37:02 +0000</pubDate>
 <dc:creator>heartsaffection</dc:creator>
 <guid isPermaLink="false">comment 1169831 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/serverside-scripting/ready-move-html-php-sitehow#comment-1168663</link>
    <description> &lt;p&gt;The book I read to learn php and MySQL was &quot;PHP AND MySQL&quot; by Larry Ullman. Lots of coding examples and easy to learn from.&lt;/p&gt;
 </description>
     <pubDate>Sun, 27 Mar 2005 16:33:41 +0000</pubDate>
 <dc:creator>teammatt3</dc:creator>
 <guid isPermaLink="false">comment 1168663 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/serverside-scripting/ready-move-html-php-sitehow#comment-1168640</link>
    <description> &lt;p&gt;Try this &lt;a href=&quot;http://webmonkey.wired.com/webmonkey/01/48/index2a.html?tw=programming&quot; class=&quot;bb-url&quot;&gt;Webmonkey Tutorial&lt;/a&gt;&lt;/p&gt;
 </description>
     <pubDate>Sat, 26 Mar 2005 21:21:00 +0000</pubDate>
 <dc:creator>CptAwesome</dc:creator>
 <guid isPermaLink="false">comment 1168640 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/serverside-scripting/ready-move-html-php-sitehow#comment-1168631</link>
    <description> &lt;p&gt;Thank you CptAwesome. That is exactly what I was hoping to accomplish...less time editing the site as whole. My next question is where to find such scripts or tutorials? I did a search on yahoo and wow...I think I&#039;ll save time and the headache of going from site to site and purchase a php tutorial book. LOL&lt;br /&gt;
Thanks again.&lt;/p&gt;
 </description>
     <pubDate>Sat, 26 Mar 2005 17:11:42 +0000</pubDate>
 <dc:creator>Des</dc:creator>
 <guid isPermaLink="false">comment 1168631 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/serverside-scripting/ready-move-html-php-sitehow#comment-1168605</link>
    <description> &lt;p&gt;Well, there are a lot of ways of going about learning php. What you can first try is the header/footer sort of nreaking your site up into parts, so you have to do less edits over the whole thing. Something like that is really simple. Just a few includes, and you&#039;re well on your way.&lt;/p&gt;
&lt;p&gt;The best thing to do is get some old scripts from people. Because experienced programmers stuff will be gobbled gook and jibberish probably. You need to see the basics, and work your way up.&lt;/p&gt;
 </description>
     <pubDate>Sat, 26 Mar 2005 05:52:37 +0000</pubDate>
 <dc:creator>CptAwesome</dc:creator>
 <guid isPermaLink="false">comment 1168605 at https://www.webmaster-forums.net</guid>
  </item>
  </channel>
</rss>
