Graphics Resources Tutorials Web Stuff Fun Stuff Home Home Site Contact Snazzify Magazine Topsite Image Hosting Online Shop
online!
Today is

Affiliates

Breakdown
Ravekill
Strobe Lyts
Atomic Affliction
Funky Kiss
Fateof1
Untraceable
Luminous
Sugary Paradise
Flavored Space
Sour Pop Ave
Carol Trend
Soo-Sweet
Splattered Canvas
Sugarsweet-Stuff
This Fiasco
Candie Rocks
Outspoken Kate
Unglamorous Life
Sizzling-Space
Dork Lyts
Fifth Avenue
Invogue
Saruna
City Lyts
Carol Trend
Pink Tears
Party With Us
Hopeless-Wish
Simply Unique

More / Apply?



PHP Includes

 

Want your site to use php includes so you only have to edit a header and footer instead of every single page, just because you want to change the layout?

 

First, your website must be php enabled, basically meaning that most free sites won't cut it.

 

Rename all your pages as .php instead of .html or .htm.

 

Make a new page called header.txt and one called footer.txt  (the txt is the file extension- don't make it header.txt.php!).

 

In the header, put all the stuff before the actual content comes.  This would mean it has the top banner, title, maybe the navigation, all that jazz.  In the footer put all the copyright info and ending tags for your layout if you're using tables.

 

Then, on every page, erase the layout.  Replace it with: 

 

<? include("header.txt") ?>

..at the top of your page, and:

 

<? include("footer.txt") ?>

 

.. at the bottom of your page.

 

Wallah!  Now you can change the header and footer as many times as you want and it will be on every page. :)




Copyright Smiley Helper 2004-2008
About - Awards / Gifts - Contact - Link Back - Links Out - Our Host - Terms - Valid CSS

eXTReMe Tracker