Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

HTML Forum


You are currently viewing our HTML Forum as a guest. Please register to participate.
Login



Post a Project »

Find a Professional HTML Freelancer!

Find a Freelancer to help you with your HTML projects

FREE Outsourcing eBook!

Reply
Does it matter if i have an index.php and index.htm in the same webfolder?
Old 02-15-2009, 04:47 PM Does it matter if i have an index.php and index.htm in the same webfolder?
Ultra Talker

Posts: 250
Trades: 0
i have a setup like that because some phpscript im usin needs to be in the same folder as my index.htm

Just wondered if there were any implications i might come across having a setup like that because its always going to be the index.htm that needs to be called not the index.php file.

J/W
MofoDog is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 02-15-2009, 05:51 PM Re: Does it matter if i have an index.php and index.htm in the same webfolder?
blue-dreamer's Avatar
King Spam Talker

Posts: 1,222
Location: Middle England
Trades: 0
No, you can have index.htm, index.html, index.shtml, index.php etc all in the same folder. One of the files has to be the first page that's called but you can control this with .htaccess...

DirectoryIndex index.htm, index.php

...so if index.htm is present that file will be used as the home page, if it's not there index.php will be used.
blue-dreamer is offline
Reply With Quote
View Public Profile
 
Old 02-15-2009, 08:34 PM Re: Does it matter if i have an index.php and index.htm in the same webfolder?
Ultra Talker

Posts: 250
Trades: 0
ahh right yeh thanks i understand
MofoDog is offline
Reply With Quote
View Public Profile
 
Old 02-16-2009, 01:51 PM Re: Does it matter if i have an index.php and index.htm in the same webfolder?
Novice Talker

Posts: 7
Trades: 0
tip: also....html and .htm are default on most servers
JoeHelper is offline
Reply With Quote
View Public Profile
 
Reply     « Reply to Does it matter if i have an index.php and index.htm in the same webfolder?
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.41432 seconds with 12 queries