|
Posted by dorayme on 08/22/06 22:18
In article <4kvm9hFe3chlU1@individual.net>,
Deryck <deryck@REMOVElonghope.co.uk> wrote:
> OK, something like this...
>
> 0) check that your wbhosting company lets you have PHP
> 1) convert html files to PHP (change the .html extension to .php)
> 2) update all internal links in the files you just changed to look
> file.php rather than file.html
>
> At this stage the site should now work as before
>
> 3) Make life easier for yourself by putting all code that gets repeated
> (doctype, css, navigation menu, etc) at the start and end of each file
> into separate files called, say header.inc and footer.inc
Before doing this Luigi, I say this because I know how you rush
to implement every suggestion immediately, be careful. PHP will
certainly help you in the end manage any reasonably big site but
you need to think about how to manage things on your own
computer. You may be wanting to see the site off line as it
should appear and not with references to text files elsewhere. In
which case you might best install a local server. This
immediately brings in a complication that militates against the
idea of making it easier for yourself. Often to make things
easier, you have to do some hard initial work. Like tooling up a
factory to easily produce something. Or better, it is all like
baking a cake really, if you do not have a properly equipped
kitchen, an "easy" recipe for a complicated cake might not be so
easy after all.
This is my first contribution for the day... and what a glorious
day it is in Sydney.
--
dorayme
Navigation:
[Reply to this message]
|