This is a discussion on "Updating Links" within the PHP Forum section. This forum, and the thread "Updating Links are both part of the Program Your Website category.
|
|
|
|
|
![]() |
||
Updating Links
|
||
| Notices |
![]() |
|
|
LinkBack | Thread Tools |
|
|||
|
Updating Links
Hi, this is in response to my orginal post in the HTML forums
http://www.webforumz.com/html-forum/10559-updating-links.htm So for a simple example Let's say the index.php looks like: <html> <?PHP include("includes/header.php"); ?> </html> And header.php looked like: <a href="page1.htm">Page 1</a><br> <a href="page2.htm'>Page 2</a> A browser would then display index.php as <html> <a href="page1.htm">Page 1</a><br> <a href="page2.htm'>Page 2</a> </html> Is that all what is needed? Also, how does the hosting know to use index.php instead of .htm? |
|
|
|
|||
|
Re: Updating Links
Some hosts will require a page named index.htm so it is sometimes necessary to create the page and simply redirect it to index.php.
|
![]() |
| Tags |
| includes tag, php |
| Thread Tools | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Easy way of updating a sites internal links. | dcjetski | Web Page Design | 5 | May 27th, 2008 08:44 |
| Msie doesn't make my links links.. | delusion | Web Page Design | 7 | Nov 7th, 2007 08:05 |
| PR4 links for sale...links in an excellent position | agent14 | Link Building and Link Sales | 1 | Mar 5th, 2007 21:33 |
| Updating Links | mrbernz | Web Page Design | 7 | Dec 2nd, 2006 22:36 |
| Blured Links (image links) | bruno89 | Web Page Design | 2 | Jul 25th, 2006 14:48 |