Server Administration
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Codewalkers ForumsOther TechnologiesServer Administration

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Codewalkers Forums Sponsor:
  #1  
Old October 26th, 2007, 07:21 AM
sssh sssh is offline
Registered User
Codewalkers Newbie (0 - 499 posts)
 
Join Date: Oct 2007
Posts: 1 sssh User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 42 m 37 sec
Reputation Power: 0
Index.php and index.htm

Can someone please help! I have been searching the net for about 4 days now non-stop. What I would like to know is on my server I have a index.php file but no index.htm file. I want to edit my site and when I import the home page to a web edititor I get the page index.htm come up. I can modify this but have tried to upload it to my server over 50 times now and no luck. Do I put it in the public_html file on my server. I have tried this and left the index.php there as well but still the same. I have even tried removing the index.php and uploading the index.htm file only that doesnt work. Could someone please help me with this. I think I have gained a few grey hairs in all this. Any help would be most appreciated.

Thankyou!

Reply With Quote
  #2  
Old October 26th, 2007, 07:23 AM
DavidMR's Avatar
DavidMR DavidMR is offline
Contributing User
Codewalkers Beginner (1000 - 1499 posts)
 
Join Date: Apr 2007
Location: Galway
Posts: 1,025 DavidMR User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 2 Weeks 5 Days 12 h 53 m 12 sec
Reputation Power: 4
this isnt a php coding question....
__________________
When I die, I want to go peacefully like my Grandfather did, in his sleep -- not screaming, like the passengers in his car.

Reply With Quote
  #3  
Old October 26th, 2007, 07:38 AM
lig's Avatar
lig lig is offline
"Forum Nazi"
Codewalkers Demi-God (4500 - 4999 posts)
 
Join Date: Apr 2007
Location: Jacksonville, Fl
Posts: 4,753 lig User rank is Private First Class (20 - 50 Reputation Level)lig User rank is Private First Class (20 - 50 Reputation Level) 
Time spent in forums: 4 Days 8 h 15 m 54 sec
Reputation Power: 7
the files themselves will not upload? Or they won't render?
__________________
life is a game.... Have fun
-----------------------------
http://www.phpwomen.org
strength in unity

PHPCommunity IRC
#phpc on freenode

Reply With Quote
  #4  
Old March 14th, 2009, 09:00 AM
centrifuge centrifuge is offline
Registered User
Codewalkers Newbie (0 - 499 posts)
 
Join Date: Mar 2009
Posts: 11 centrifuge User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 5 h 34 m 4 sec
Reputation Power: 0
Quote:
Originally Posted by DavidMR
this isnt a php coding question....
Looks like php coding question, to me.


sssh...

Replacing the 'index.php' file, with 'index.htm' or anything else, may mess your site up, in a number of ways.

To edit a 'php' file, you need to download it, using an FTP client, and open it, in a text editor; not a word processor. When saving, ensure the extension is 'php'; 'index.php.txt' won't work. An incorrect extension can be remedied, on the server, by "renaming" the file. Also, it's a good idea to rename the existing file, on the server, to 'whatever.php_old', before uploading an edited file, in case your edits don't work and you can't remember how to undo them.

There's a possibility whatever you want to edit is coded, in the 'index.php' file and you may be able to do whatever it is you're trying to do just by downloading and editing the 'index.php' file.

It's more likely, though, that the content you see, when you access 'index.php' is obtained from other files or a database and your edits would have to be made in the source. Without knowing what you have, on your site, and what you want to edit, it's not possible to help you, beyond the general information.

Reply With Quote
  #5  
Old March 14th, 2009, 11:04 PM
IAmALlama IAmALlama is offline
Me
Click here for more information. Click here for more information
Click here for more information
 
Join Date: Apr 2007
Location: Seattle, WA
Posts: 1,937 IAmALlama User rank is Private First Class (20 - 50 Reputation Level)IAmALlama User rank is Private First Class (20 - 50 Reputation Level) 
Time spent in forums: 1 Week 5 Days 1 h 54 m 18 sec
Reputation Power: 4
first, old thread.

second, not a php coding problem, a server setup problem or more likely a "i don't know how to download a php file through ftp" problem, so maybe it should be in the php installation because it kind of goes with setup. A coding problem would be more like "what does this function do" or "how do I do this in code".

Reply With Quote
  #6  
Old April 20th, 2009, 03:54 AM
gggg90 gggg90 is offline
Registered User
Codewalkers Newbie (0 - 499 posts)
 
Join Date: Apr 2009
Posts: 10 gggg90 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 3 h 2 m 51 sec
Reputation Power: 0
I think you can setup somewhere in the webpanel what's gonna be rendered, .htm or .php

Reply With Quote
Reply

Viewing: Codewalkers ForumsOther TechnologiesServer Administration > Index.php and index.htm


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump




 Free IT White Papers!
 
How to Present Effectively Online
This white paper offers practical and actionable advice on the key steps that any presenter should consider as they plan and execute a Webinar or online meeting.

Request Your Free Technology Downloads!
 
Open Source Security Myths
Open Source Software (OSS) is computer software whose source code is available to the general public with relaxed or non-existent intellectual property restrictions (or arrangement such as the public domain), and is usually developed with the input of many contributors.

Request Your Free Technology Downloads!
 
Power and Cooling Capacity Management for Data Centers
This paper describes the principles for achieving power and cooling capacity management.

Request Your Free Technology Downloads!
 
Scalable, Fault-Tolerant NAS for Oracle - The Next Generation
For several years NAS has been evolving as a storage alternative for Oracle databases, and for good reason: NAS is quite often the simplest, most cost-effective storage approach for Oracle. Learn about the benefits that HP's approach to scalable NAS brings to Oracle environments in this comprehensive white paper.

Request Your Free Technology Downloads!
 
Understanding Web Application Security Challenges
This white paper discusses many common threats and preventive measures for Web application security, and explains what you can do to help protect your organization.

Request Your Free Technology Downloads!
 

Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 




© 2003-2009 by Developer Shed. All rights reserved. DS Cluster 2 Hosted by Hostway
For more Enterprise Application Development news, visit eWeek