Forum Moderators: coopster

Message Too Old, No Replies

FROM php to html

Change php index page to index.htm?

         

ddesign

5:43 am on Dec 17, 2003 (gmt 0)

10+ Year Member



[Thanks so much, I got it figured out - duh. I really need to stop working all day and all night with no food ;-) Thanks again for your response.]

I need to save a redesigned index.html page from another web to the new server. In the new server the index page is in .php. [I realize this is probably better, but I haven't gotten into PHP yet.] How do I save it so it's the site's index page? Do I open the new index.html file and save it as index.php, overwriting the old index.php? I know this must be simple, but I've just gotten through working with a couple of complex PERL forms and after some late nights, headaches, a couple tears of frustration and stress {b/c of the perl} all this code and filenames are starting to run together! Thanks so much.

[edited by: ddesign at 7:13 am (utc) on Dec. 17, 2003]

NickCoons

7:05 am on Dec 17, 2003 (gmt 0)

10+ Year Member



If you have a file that you've created called index.html, and you rename it to index.php (assuming the server is setup correctly), it should function the same as if it was on a plain HTML-serving server and called index.html <-- If that's what you're asking :-).

DanA

10:17 am on Dec 17, 2003 (gmt 0)

10+ Year Member



If your other pages linked to index.html, don't forget to modify the links into index.php.