I am relativley new with PHP. I have wamp installed and running. I have 34 webpages in my site but would like to have one file(include i think) set up to store the following variables.
$company = "Acme Inc.";
$addy1 = "349 Sample Drive";
$addy2 = " Somewhereville, CA 49304";
$phone = "555-555-1234";
in all of my pages, im just going to do the following in the footer
<div id="footer">
<ul>
<?php echo: " <li>"."$company"."<li>"."$addy... ?php>
</ul>
1) What extension to i give this global file(include file?).
2) Where is the best place to store this file securily?
3) What code should i put in my php files to link to this global variable(include?) file.
Thanks for helping
I am not at the mysql database stage yet
----------------
Carmel Hotels Hotels in Carmel CA Carmel by the Sea Bed and Breakfast
|