Webmaster Forum

Go Back   Webmaster Forum > Web Development > Coding Forum

Coding Forum Problems with your code? Discuss coding issues, including JavaScript, PHP & MySQL, HTML & CSS, Flash & ActionScript, and more.


Reply
 
Thread Tools Display Modes
Share |
  #1  
Old 09-16-2007, 10:02 PM
sinster sinster is offline
Member
 
Join Date: 07-31-07
Posts: 49
iTrader: 0 / 0%
External links

Ok, I'm having a ridiculously tough time with this. I want a way to be able to store my websites links in an external file so that I can just "read" the file from the website to display the links, and in case I ever want to change a link I don't have to edit all of my pages.

I'm not exactly new to HTML, but outside of the basics I just get confused. I was looking up XML and trying to read the tutorials, but I couldn't even get the most simple of them to work. Doh.gif Not really sure if I want to go into frames either. Can anyone recommend another way to do this?
 
Reply With Quote

Advertisement

Advertisement

  #2  
Old 09-16-2007, 11:59 PM
HostGuy HostGuy is offline
Junior Member
 
Join Date: 09-16-07
Location: Toronto, Canada
Posts: 22
iTrader: 0 / 0%
You can accomplish this with server side includes. php for example

The pages that you want the links to show up should have a php extension.
In a new file, call it links.inc.php - add in your link code
And in the file you want the links to show, add the following code
Quote:
<? include("links.inc.php"); ?>
 
Reply With Quote
  #3  
Old 09-18-2007, 02:55 AM
sinster sinster is offline
Member
 
Join Date: 07-31-07
Posts: 49
iTrader: 0 / 0%
ok Let me try this...
 
Reply With Quote
Go Back   Webmaster Forum > Web Development > Coding Forum

Reply


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

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Links to external websites jeggs Coding Forum 2 09-28-2006 07:12 AM
External links and PR loss I, Brian Google Forum 5 12-01-2003 09:27 AM


V7N Network
Get exposure! V7N I Love Photography V7N SEO Blog V7N Directory


All times are GMT -7. The time now is 10:26 AM.
Powered by vBulletin
Copyright 2000-2014 Jelsoft Enterprises Limited.
Copyright © 2003 - 2018 VIX-WomensForum LLC