NamePros
Welcome, Guest! Ready to make a name for yourself in the domain business? We welcome both the hobbyist and professional domainer to join the discussion as part of the NamePros community.

Click here to create your profile to start earning reputation for posting, and trader ratings for buying & selling in our free e-marketplace. Build your trader rating with each successful sale. Our system has tracked over 100,000 sales and counting!
FAQ & TOS Register Search Today's Posts Mark Forums Read

Go Back   NamePros.com > Website Development Discussion Forums > Website Development
Reload this Page Includes

Website Development Development concepts, scripts, sponsors and affiliate programs.

Advanced Search
1 members in live chat ~  


Closed Thread
 
LinkBack Thread Tools
Old 06-13-2005, 05:37 PM THREAD STARTER               #1 (permalink)
New Member
Join Date: Jun 2005
Posts: 15
Albatross is an unknown quantity at this point
 



Includes


I have a question about server-side includes...I'd like to use includes to save time on my pages, using them essentially to carry-over header and footer XHTML between pages so I don't have to copy & paste them each time.

How do you set up server-side includes? I'm on a hosting company, so I don't have access to server configuration or anything like that.
Albatross is offline  
Old 06-13-2005, 05:46 PM   #2 (permalink)
NamePros Regular
Join Date: Oct 2004
Posts: 489
grungemusic is on a distinguished road
 



Use php includes
grungemusic is offline  
Old 06-13-2005, 05:50 PM   #3 (permalink)
NamePros Regular
 
Jon_'s Avatar
Join Date: May 2005
Posts: 372
Jon_ is an unknown quantity at this point
 



http://hoohoo.ncsa.uiuc.edu/docs/tut.../includes.html

Hope it helps.
Jon_ is offline  
Old 06-13-2005, 08:07 PM   #4 (permalink)
A Wealth of Knowledge
 
stscac's Avatar
Join Date: Aug 2004
Posts: 3,803
stscac has much to be proud ofstscac has much to be proud ofstscac has much to be proud ofstscac has much to be proud ofstscac has much to be proud ofstscac has much to be proud ofstscac has much to be proud ofstscac has much to be proud of
 



Originally Posted by grungemusic
Use php includes
i agree - but might change the scheme of all work

Best of luck

-Steve
stscac is offline  
Old 06-13-2005, 08:29 PM   #5 (permalink)
Senior Member
 
Porte's Avatar
Join Date: May 2005
Location: I'm right here
Posts: 3,525
Porte has much to be proud ofPorte has much to be proud ofPorte has much to be proud ofPorte has much to be proud ofPorte has much to be proud ofPorte has much to be proud ofPorte has much to be proud ofPorte has much to be proud ofPorte has much to be proud of
 



If you have php support:

<? include 'path/to/your/include'; ?>

This should do the trick.
Porte is offline  
Old 06-14-2005, 10:22 AM   #6 (permalink)
NamePros Member
Join Date: Jun 2005
Posts: 95
realtechtalk is an unknown quantity at this point
 



Originally Posted by Albatross
I have a question about server-side includes...I'd like to use includes to save time on my pages, using them essentially to carry-over header and footer XHTML between pages so I don't have to copy & paste them each time.
????: NamePros.com http://www.namepros.com/website-development/98376-includes.html

How do you set up server-side includes? I'm on a hosting company, so I don't have access to server configuration or anything like that.
As the others said PHP includes will work fine if you have PHP support at your host (most hosts offer it).

If you want to do SSI which is also fine here is what you do:

<!--#include virtual="/header.html" -->
<body>
rest of your stuff
</body>
<!--#include virtual="/footer.html" -->

Cheers
realtechtalk is offline  
Closed Thread


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools


Similar Threads
Thread Thread Starter Forum Replies Last Post
LikeThatPrice.com - No Reserve - Includes Logo DavidEmil Domains For Sale - Auctions 5 05-28-2005 09:57 PM
php includes affect SEO TWM Marketing Techniques 4 11-02-2004 06:23 PM
259 Domains for Sale (inc. goclassified.com) fle8 Domains For Sale - Make Offer 0 05-02-2004 08:57 AM
HOWEIRDDEAN.COM includes website, plus 2 free doamins! interneta Domains For Sale - Make Offer 6 02-17-2004 02:12 PM

 
All times are GMT -7. The time now is 10:45 PM.

Domain name forum recommended by Domaining.com Powered by: vBulletin® Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.6.0 Ad Management plugin by RedTyger