Re: PHP
Originally Posted by
PeteS
I'd suggest leaving the first page as it is so it will export as index.htm, then manually name the next page index.php.
Then once you're site is published manually delete the empty index.htm page from your web server.
I would have thought this is quite dangerous as you risk re-uploading the blank index.htm to your server if by any twist of fate you make an unintended edit to that page (page length, unintended text box, easily done when the mouse is clicking away). If your server's default page priority is index.htm(l) before index.php or index.shtml (which I believe is the common default config) you're going to be in trouble, especially if it is a site for somebody else.
I call my first page "site.htm". That way my assets folder is "site_htm_files" and then my second page on the site is "index.php".
As Drwyd asks, is there a reason this is not a good idea?
If someone tried to make me dig my own grave I would say No.
They're going to kill me anyway and I'd love to die the way I lived:
Avoiding Manual Labour.
Bookmarks