Log In · Register

 
how do sites update?
speakerboxx123
post Jul 2 2008, 01:47 PM
Post #1


im with the marching band
*****

Group: Member
Posts: 740
Joined: Dec 2006
Member No: 491,167



okay so i'll use this page as an example:
http://silentatmosphere.com/index.php

lets say she wants to add something like a link on the /index.php page how does she apply that change to EVERY single page she has on the site?
 
 
Start new topic
Replies (1 - 7)
ForgiveTheSinner
post Jul 2 2008, 02:00 PM
Post #2


Senior Member
*****

Group: Member
Posts: 786
Joined: Dec 2006
Member No: 488,341



php

it's very simple. theres a tutorial somewhere on this site.

here's the link

http://www.createblog.com/tutorials/tutorial.php?id=435
 
libertie
post Jul 2 2008, 02:09 PM
Post #3


This bag is not a toy.
*******

Group: Staff Alumni
Posts: 3,090
Joined: Oct 2007
Member No: 583,108



If you mean the sidebar, the author is probably using PHP includes to make the sidebar load on every page without having to edit each individual file. This is really not a very complicated process, but it does take a bit of explaining so I'll link you to a tutorial:

http://www.christopherjason.com/articles/using-php-includes/

Also, this is linked at the end of the article and is helpful as well:
http://www.w3schools.com/php/php_includes.asp

edit; I need to start refreshing when I get distracted before responding. xD
 
speakerboxx123
post Jul 3 2008, 06:21 PM
Post #4


im with the marching band
*****

Group: Member
Posts: 740
Joined: Dec 2006
Member No: 491,167



EDIT:// got it, nevermind, thanks all for the help :]

close please.
 
Melissa
post Jul 3 2008, 06:38 PM
Post #5


;)
******

Group: Duplicate
Posts: 2,374
Joined: Feb 2004
Member No: 3,760



You didn't include it the right way.

This is where your problem is:
CODE
<?PHP
$template="anthony-heartquasm";
include("/home/.kills/anthony_hq/anthony.heartquasm.org/cutenews/show_news.php");
?>


Try something like this:

CODE
<?php include("http://anthony.heartquasm.org/cutenews/shownews.php"); ?>


btw, thanks for linking me, but do you mind just using my first name? thanks.
 
speakerboxx123
post Jul 4 2008, 04:24 PM
Post #6


im with the marching band
*****

Group: Member
Posts: 740
Joined: Dec 2006
Member No: 491,167



CLOSE PLEASE
 
light-flash
post Jul 7 2008, 03:29 PM
Post #7


Newbie
*

Group: Member
Posts: 4
Joined: Jul 2008
Member No: 663,934



wow. that helps me a lot! i didnt know you could do that. i have been updating every single page every time i added an affiliate or something else to my sidebar.
 
Insurmountable
post Jul 8 2008, 02:48 PM
Post #8


Cornflakes :D
*******

Group: Staff Alumni
Posts: 4,541
Joined: Dec 2005
Member No: 322,923



lols closed and moved
 

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