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 > Programming
Reload this Page "Include" code/php?

Programming PHP, Perl, Ruby on Rails, AJAX, HTML, XHTML, CSS, JavaScript, MySQL and any other coding topics.

Advanced Search


Closed Thread
 
LinkBack Thread Tools
Old 11-08-2007, 09:25 AM THREAD STARTER               #1 (permalink)
NamePros Regular
 
malcolm321's Avatar
Join Date: Jun 2006
Posts: 255
malcolm321 is an unknown quantity at this pointmalcolm321 is an unknown quantity at this point
 



"Include" code/php?


I want to be able to control my navigation bar from a seperate file so I can update it whenever I want without having to change every page. I remember there used to be a "include.php" or something along those lines that I used to use, where I would just upload the file of the nav bar and then type in "<include file.php>". Also I'd like to be able to do the same with Adsense so that I don't always have to be going and getting the code, I could just upload it once for each ad type and then do an "include". Does anyone know how to do this?

Derek
malcolm321 is offline  
Old 11-08-2007, 09:28 AM   #2 (permalink)
DomainersUniversity.com
 
Gene's Avatar
Join Date: Feb 2005
Location: Oswego, NY
Posts: 4,735
Gene has a reputation beyond reputeGene has a reputation beyond reputeGene has a reputation beyond reputeGene has a reputation beyond reputeGene has a reputation beyond reputeGene has a reputation beyond reputeGene has a reputation beyond reputeGene has a reputation beyond reputeGene has a reputation beyond reputeGene has a reputation beyond reputeGene has a reputation beyond repute
 


Member of the Month
April 2005
Ethan Allen Fund Cancer Survivorship Baby Health Cystic Fibrosis Marrow Donor Program Parkinson's Disease Child Abuse Save a Life Animal Rescue Save a Life Save a Life Animal Rescue
Here you go:

PHP Code:
<?php
include '--the link--';
?>
__________________
.
.

Expired Domain Search -- ExpiredDomainBoss.com | Sell Domain Names -- DomainProfitsClub.com
-----------------------------------------------------------------------------------------------
Gene is offline  
Old 11-08-2007, 09:29 AM   #3 (permalink)
Danltn.com
 
Daniel's Avatar
Join Date: May 2007
Location: Danltn.com / Nottingham, UK
Posts: 1,201
Daniel has a reputation beyond reputeDaniel has a reputation beyond reputeDaniel has a reputation beyond reputeDaniel has a reputation beyond reputeDaniel has a reputation beyond reputeDaniel has a reputation beyond reputeDaniel has a reputation beyond reputeDaniel has a reputation beyond reputeDaniel has a reputation beyond reputeDaniel has a reputation beyond reputeDaniel has a reputation beyond repute
 


Ethan Allen Fund Ethan Allen Fund
PHP Code:
<?php include("ads.php"); ?>
www.php.net/include
????: NamePros.com http://www.namepros.com/programming/393564-include-code-php.html

Next time, Google.
Daniel is offline  
Old 11-08-2007, 09:35 AM THREAD STARTER               #4 (permalink)
NamePros Regular
 
malcolm321's Avatar
Join Date: Jun 2006
Posts: 255
malcolm321 is an unknown quantity at this pointmalcolm321 is an unknown quantity at this point
 



thanks to both

Derek
malcolm321 is offline  
Closed Thread


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


Liquid Web Smart Servers  
All times are GMT -7. The time now is 01:31 PM.

Managed Web Hosting by Liquid Web
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