|
Posted by JAF on 08/30/06 14:41
I forgot to add an important line to the below statements in my
previous posting:
>When my page is served by the web hosting server, the include reads in
>and inserts the html code in the text file.
(info I forgot to include:)
And If I need to make a change in the copyright code or if I want to
add something to the copyright.txt file, I only have to edit the
copyright.txt file, i.e. type once, then I upload the file, and,
viola!, all web pages that have the include copyright.txt statement in
them now have the new code included when viewed by a visitor to your
site..
It is great.
Here is the relevant text of my previous postint:
snip...
>Another example:
>
>I created this text file that I call "copyright.txt". Here is the
>code:
>
><p align="center">Copyright © 1995-2006 BSC,
> Inc. All rights reserved.
> <a href="http://www.bscinc.net/contact_us.php">Click Here To
>Contact Us</a> with questions or comments about this web site.</p>
>
> And I put this include line at the appropriate spot at the bottom of
>every html page:
>
><? include $phpdir . "copyright.txt"; ?>
>
>When my page is served by the web hosting server, the include reads in
>and inserts the html code in the text file.
>
>I love php. It is worth learning because you can learn little pieces
>at a time and reap great rewards, i.e. savings in time. But you can
>go on to learn much more complicated aspects of php, like the use of
>variables and conditional programming, to do some very nice things
>with it.
>
>Php works well for the casual programmer and the expert.
>
>The only catch is your web hosting company has to offer it. Most I
>have found do.
>Best regards,
>
>JAF
>http://www.bscinc.net
>http://www.affordablefloridainsurance.com
>http://www.discountdrivingschool.com
Hope this helps.
Best regards,
JAF
http://www.bscinc.net
http://www.affordablefloridainsurance.com
http://www.discountdrivingschool.com
Navigation:
[Reply to this message]
|