| 
		
			
			
				
			
			
				 
			
			
				
			
		 | 
		
			
			
				 
			
				
			
		 | 
	||||
| 
				Welcome to the GoFuckYourself.com - Adult Webmaster Forum forums.  You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today! If you have any problems with the registration process or your account login, please contact us.  | 
		
		 
		![]()  | 
	
		
			
  | 	
	
	
		
		|||||||
| Discuss what's fucking going on, and which programs are best and worst. One-time "program" announcements from "established" webmasters are allowed. | 
| 
		 | 
	Thread Tools | 
| 
			
			 | 
		#1 | 
| 
			
			
			
			 Registered User 
			
		
			
			
			Join Date: Jul 2005 
				
				
				
					Posts: 23
				 
				
				
				
				 | 
	
	
	
	
		
			
			 
				
				I need a script
			 
			I have 100 html pages that I would like to be able to update a small section on each page twice a month.   But I dont want to go to each page and update them individual.    
		
	
		
		
		
		
		
	
	Is there a script that will allow me to changes small parts of each page with one submition?  | 
| 
		 | 
	
	
	
		
                 
		
		
		
		
		
		
		
			
			
		
	 | 
| 
			
			 | 
		#2 | 
| 
			
			
			
			 Confirmed User 
			
		
			
				
			
			
			Join Date: Jul 2004 
				Location: Denmark ICQ: 7880009 
				
				
					Posts: 2,203
				 
				
				
				
				 | 
	
	
	
	
		
		
		
		 do a google search for SSI (server side includes) 
		
	
		
		
		
		
		
	
	 | 
| 
		 | 
	
	
	
		
                 
		
		
		
		
		
		
		
			
			
		
	 | 
| 
			
			 | 
		#3 | 
| 
			
			
			
			 Confirmed User 
			
		
			
			
			Join Date: Apr 2003 
				Location: Loveland, CO 
				
				
					Posts: 5,526
				 
				
				
				
				 | 
	
	
	
	
		
		
		
		 put this in the places on the pages you want to include the update: 
		
	
		
		
		
		
			Code: 
	<script language="JavaScript" src="/location/of/file.js"></script> file.js = Code: 
	function writeStuff()
{
  str = "Hello. Hello. Hello";
  return str;
}
document.write.(writeStuff());
				__________________ 
		
		
		
		
	
	Your post count means nothing.  | 
| 
		 | 
	
	
	
		
                 
		
		
		
		
		
		
		
			
			
		
	 | 
| 
			
			 | 
		#4 | 
| 
			
			
			
			 I can change this!!!!! 
			
		
			
			
			Join Date: Feb 2004 
				
				
				
					Posts: 18,972
				 
				
				
				
				 | 
	
	
	
	
		
		
		
		 cheesy but works. 
		
	
		
		
		
		
			
		
		
		
		
	
	 | 
| 
		 | 
	
	
	
		
                 
		
		
		
		
		
		
		
			
			
		
	 | 
| 
			
			 | 
		#5 | 
| 
			
			
			
			 Registered User 
			
		
			
			
			Join Date: Jul 2005 
				
				
				
					Posts: 23
				 
				
				
				
				 | 
	
	
	
	
		
		
		
		 thanks I will use that.   
		
	
		
		
		
		
		
	
	this is a hard script to find, I figured I would find some simple php file.  | 
| 
		 | 
	
	
	
		
                 
		
		
		
		
		
		
		
			
			
		
	 | 
| 
			
			 | 
		#6 | |
| 
			
			
			
			 Registered User 
			
		
			
			
			Join Date: Jul 2005 
				
				
				
					Posts: 23
				 
				
				
				
				 | 
	
	
	
	
		
		
		
		 Quote: 
	
  | 
|
| 
		 | 
	
	
	
		
                 
		
		
		
		
		
		
		
			
			
		
	 | 
| 
			
			 | 
		#7 | |
| 
			
			
			
			 Confirmed User 
			
		
			
			
			Join Date: Apr 2003 
				Location: Loveland, CO 
				
				
					Posts: 5,526
				 
				
				
				
				 | 
	
	
	
	
		
		
		
		 Quote: 
	
 You can either keep all your HTML pages and do the Server Side Includes mentioned above, or turn all those pages to PHP and do something that way. edit: The solution I posted is, perhaps, the cheesiest possible. ;) 
				__________________ 
		
		
		
		
	
	Your post count means nothing.  | 
|
| 
		 | 
	
	
	
		
                 
		
		
		
		
		
		
		
			
			
		
	 | 
| 
			
			 | 
		#9 | |
| 
			
			
			
			 Registered User 
			
		
			
			
			Join Date: Jul 2005 
				
				
				
					Posts: 23
				 
				
				
				
				 | 
	
	
	
	
		
		
		
		 Quote: 
	
  | 
|
| 
		 | 
	
	
	
		
                 
		
		
		
		
		
		
		
			
			
		
	 | 
| 
			
			 | 
		#10 | |
| 
			
			
			
			 Registered User 
			
		
			
			
			Join Date: Jul 2005 
				
				
				
					Posts: 23
				 
				
				
				
				 | 
	
	
	
	
		
		
		
		 Quote: 
	
  | 
|
| 
		 | 
	
	
	
		
                 
		
		
		
		
		
		
		
			
			
		
	 | 
| 
			
			 | 
		#11 | 
| 
			
			
			
			 Registered User 
			
		
			
			
			Join Date: Jul 2005 
				
				
				
					Posts: 23
				 
				
				
				
				 | 
	
	
	
	
		
		
		
		 I guess I will have to figure out how to refresh each page to update the changes. 
		
	
		
		
		
		
		
	
	 | 
| 
		 | 
	
	
	
		
                 
		
		
		
		
		
		
		
			
			
		
	 |