Index.html as opposed to Index.php ?
Posted: Mon Jun 02, 2003 9:53 am
Hi this may seam like a lame question but my ISP insist that the first page to launch my site is named either Index.htm or Index.html.
I have also dicovered that to run any code within htm(l) documents I have to rename my .htm(l) files with the .php extension. However, my index page has some 'includes' for the header and footer within the page that refuse to parse because the extension is .html.
I have thought of a fudge by creating a two frames Index.html with the top frame compleately set to 0 and the bottom frame filling the whole screen I then tell it to load my 'welcome'.php file into this frame.
My question is, how can I get around this without using the fudge described above? I.e. not to use any frames
Any help would be appreciated
I have also dicovered that to run any code within htm(l) documents I have to rename my .htm(l) files with the .php extension. However, my index page has some 'includes' for the header and footer within the page that refuse to parse because the extension is .html.
I have thought of a fudge by creating a two frames Index.html with the top frame compleately set to 0 and the bottom frame filling the whole screen I then tell it to load my 'welcome'.php file into this frame.
My question is, how can I get around this without using the fudge described above? I.e. not to use any frames
Any help would be appreciated