Log In · Register

 
 
Closed TopicStart new topic
Is there a way....
asnbiscuits
post Aug 17 2006, 06:12 PM
Post #1


Member
**

Group: Member
Posts: 10
Joined: Jul 2006
Member No: 446,464



So is there a way to update all of your webpages at the same time. i mean, one time i found a small mistake on all of my webpages. and then i had to go through all 20 of my web pages to fix it. and damn, its a pain lol
 
*Azarel*
post Aug 17 2006, 06:15 PM
Post #2





Guest






I believe if you create your site using PHP, you'd be able to do just that.
 
asnbiscuits
post Aug 18 2006, 01:32 AM
Post #3


Member
**

Group: Member
Posts: 10
Joined: Jul 2006
Member No: 446,464



yeah i use php. but how do you do that?
 
freeflow
post Aug 18 2006, 02:26 AM
Post #4


t-t-t-toyaaa
********

Group: Official Member
Posts: 19,821
Joined: Apr 2004
Member No: 11,270



You can read this . You use php includes:
http://pixelfx.org/tuts/php/phpincludes.html
 
*mipadi*
post Aug 18 2006, 08:12 AM
Post #5





Guest






Or server-side includes, if you're just using straight HTML. Wikipedia, of course, has more info.

Server-side includes are a lot easier to use than PHP, but not as flexible.
 
asnbiscuits
post Aug 18 2006, 11:54 AM
Post #6


Member
**

Group: Member
Posts: 10
Joined: Jul 2006
Member No: 446,464



so uh what am i suppose to do? is there a code for this?

and thanks for the links
 
freeflow
post Aug 18 2006, 11:56 AM
Post #7


t-t-t-toyaaa
********

Group: Official Member
Posts: 19,821
Joined: Apr 2004
Member No: 11,270



Its not a code, its php includes. You learn how to include certain files.
The tutorial I gave you is for you to place your layout into a css file, header file, and footer file. Then you include (by following the tutorial) the css file, header file, and footer file on each page.

Then when you change your layout you only have to edit the css, header, and footer files.
 
asnbiscuits
post Aug 18 2006, 03:43 PM
Post #8


Member
**

Group: Member
Posts: 10
Joined: Jul 2006
Member No: 446,464



thanks for breaking it down. i got it!
 

Closed TopicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members: