chrometweaks.org

Is there a good free iPage web hosting company out there?

Click Here To View All Answers...


My 1st question is: Is there a good free iPage web hosting company out there? Looking forward for any response. Another question on my mind: Hi everyone,.

I've created a set of .shtml files that we use on our webpage. The problem I am having is that after using notepad to edit my index.shtml file, it will not load in IE after saving. It instead displays as the actual text source in the IE window..

I have tried disabling word wrap with no luck. I am thinking it may have something to do with carriage returns or something, because quite frankly I am stumped as to why after editing, the page refuses to properly load..

Here is the original file source which loads fine:.

<!#include file="head.shtml">.

<font face="Verdana" size="2">.

<font color="#6588D8" size="+1">.

<b>Latest News</b>.

</font>.

<br>.

<br>.

<! >.

<b>Chris S.</b> - Wednesday, February 19, 2003<br>.

<br>The <a href="http://********.website.com/~********/forums/">forums</a> are back up and running again..

<br>.

<br>.

<br>.

<br>.

<br>.

<! >.

<! >.

<!#include file="bottom.shtml">.

If I save the above as index.shtml using notepad it displays fine in IE..

Below is the same code that will not display properly:.

<!#include file="head.shtml">.

<font face="Verdana" size="2">.

<font color="#6588D8" size="+1">.

<b>Latest News</b>.

</font>.

<br>.

<br>.

<! >.

<b>Chris S.</b> - Wednesday, February 19, 2003<br>.

<br>This is the second of our news updates..

<br>.

<br>.

<br>.

<br>.

<br>.

<! >.

<! >.

<b>Chris S.</b> - Wednesday, February 24, 2003<br>.

<br>The <a href="http://********.website.com/~********/forums/">forums</a> are back up and running again..

<br>.

<br>.

<br>.

<br>.

<br>.

<! >.

<! >.

<!#include file="bottom.shtml">.

If I save the above as index.shtml it loads as a regular text file in IE for some reason. Am I overlooking something obvious?..

Comments (6)

Yup, but you might want to make sure and wait for another member to confirm this as I am not very confident. Better yet, why don't you ask the iPage guys because they can give you help better...

Comment #1

If you are viewing the page offline, that is probably the problem. An SSI file must be on a server that understands SSI instructions. Many people do not have this installed on their personal computers. Upload the file to your host server online (presuming they do support SSI) and view the page that way..

If you are viewing the file online, then your host may not support SSI..

Also, there should be a space before the ending comment areas....

From this....

<!#include file="head.shtml">.

To this....

<!#include file="head.shtml" >..

Comment #2

When you view the document using a web browser are you:.

- looking at the document file on your hard drive, or.

- looking at your file after it has been uploaded to your web site?..

Comment #3

Ok,.

This is what I'm doing. I'm saving the index.shtml file to a maintenance folder(locally on my winXP machine) where I keep all of my webfiles as I build/update my shtml. The first set of code I posted above works as index.shtml when I save it as index.shtml using notepad. I can right click on index.shtml, choose "open with" and then select "IE", and the page shows up just fine. The second set of code does not..

This.

Screenshot shows what the first set of code looks like as it is displayed in IE. Which is how it should look..

This.

Screenshot shows what the second set of code I posted above looks like in IE. Which plainly shows what I am describing..

One code will work, the other will not. And I'm unsure if it's the code, or notepad that may be messing me up. I dont know how to explain it any better than this...

Comment #4

When you save in notepad you save it ias .txt even though you changed the extension. so in all actuality it looks ike this index.shtml.txt and since windows knows this extension all you see is .shtml.

So go to windows explorer and click on tools and then folder options. then teh view tab you should see something that says "hide file extensinos for known type" make sure this is.

Uncheckd.

..

Then you will go bak into exporer and find the file in question. my bet is you will see the .txt. if not then you cannot run shtml files on your computer as you need a webserver to run those. sure you can open it up in IE and display it, but the includes are not happening..

Try that and let us know...

Comment #5

Scoutt,.

If you'll look back at kdjoergensen's post above, he suggests that I save as "filetype" rather than ".txt".

The box "hide file extensinos for known types" is unchecked, and the filename is .shtml, not .shtml.txt.

I'm not worried about the includes, but the code should at least format in the IE window as a webpage. The first set of code does, as per my screenshot...why doesnt the second?.

Can anyone else take that second code I posted and get it to display in IE as it shown in "correct.jpg" above?..

Comment #6

I know what KD said, notepad is the problem as it is saving it as txt. trust me. if you run the same code from the code that works and the only thing you did was save it by using notepad then it is a text file. IE will parse html.

If.

The file ends in a html extension and seeing as it displayed the contents just as it sits then it is a text file. trust me, you opened a text file..

Even if it was a shtml extension it would still parse the html inside that file. but seeing as it didn't the file can only be .txt..

Comment #7


This question was taken from a support group/message board and re-posted here so others can learn from it.