HTML code to link a site to a single page

Associate
Joined
18 Nov 2003
Posts
1,803
Hi guys i remember at school i had a code and you then insert the url of another site and when ever that page was accessed it displayed the linked page like a frame.

i cannot remember how i did it. I need it for my site

cheers
 
Hey guys need to ask something else.

whats the best way to make root/index.html show root/catalog/index.php with frames?

right now i have enterance page on index.html but i would preper to go direct to calalog/index.php..

e.g when i type www.dominname.co.uk it shows catalog/index.php

many thanks
 
You could PHP include the catalog/index.php file.

Ie. change index.html to index.php and use the following code in that file:
Code:
<?php
require("catalog/index.php");
?>

Jon
 
Back
Top Bottom