chrometweaks.org

Where can I find good and reliable iPage web hosting?

Click Here To View All Answers...


Got a question... Where can I find good and reliable iPage web hosting? Looking forward for any comment. Second question.. I'm not sure if this is the right forum but I don't know if this is server side or client side scipting needed..

What I want is a menu file (e.g. menu.htm)to be called up from any page (e.g. default.htm)where I want it. When the default.htm page is loading it will have a snipet of code in it that tells the browser "download menu.htm and insert it's code here, then continue on with default.htm"..

In this way instead of changing 200 pages on a site, I only have to change one, menu.htm, if I want to change the menu presented on the page. I hope you're with me here, I don't know how better to explain it..

I know that it can be done as i've seen it on sites such as:.

Http://www.somethingawful.com.

And.

Http://www.herzeleid.com.

This, however, did not help me much because when I looked at the code I saw the menu already implemented into the source. This is the reason I think it may be server sided..

I used to run an asp page and for those familiar with asp you may know that inserting this:.

<!#include file="file.asp">.

Into a page such as default.asp will be read by the server and the server will insert the contents from file.asp where that bit of code is held..

Maybe I went a little to long and you've lost me but I don't even know if this has to be server side (doubt it, but not sure) or client side, what it's called and definetly no idea of how to explain it..

Any help will be greatly appreciated, ofcourse..

-DooGseY..

Comments (11)

Hmm... I need to find out myself. I don't know what is the answer. I'll do some poking around and get back to you if I discover an decent answer. You should email the people at iPage as they probably could help you..

Comment #1

Yes, but i'm not running an asp server anymore. I'm rnuning xitami and I don't know if it is compatable with shtml, certainly not asp..

Is there another way to do it and what code should I use?.

-DooGseY..

Comment #2

Just change the extension of the file you are uploading..

<!#include file="file.html">..

Comment #3

*sigh*.

No, this does not work on Xitami as it doesn't check the files for server side including before uploading/sending the file..

Is there another way to do it on the client side or just the way you explained 3 times now..

-DooGseY..

Comment #4

Well that is the only way. and according to Xitami you can run SSI by default it checks it..

Http://www.imatix.com/html/xitami/index6.htm#TOC64..

Comment #5

Thankyou very much for your help, I got it working, the problem I have now is I have multiple directories, when I do the include I need "file.htm" to be in every dir. My question is: Is there a way I can make it point to a root so I only need one file.htm ? .

I tried linking with a url but that doesn't work, and doing "../file.htm" crashed my web server. is there a way I can make it point to my root dir which holds the file?.

Thanks..

Comment #6

Well you tried all the ones I was going to say. you can try the whole path, /path/to/www/root/file.htm.

If that doesn't work I would get rid of that server and go with apache...

Comment #7

I've been searching for the solution to this problem for AGES now, and finally found it!.

I'm the biggest n00b to this sort of thing though, and don't ahve any idea how to get this working. None at all..

I would like it if someone could link me to a iPage website of some sort with information and tutorials about this..

Thankyou...

Comment #8

I'd recommend using php includes:.

<? include ('http://yoururl.com/includeddirectory/file.ext');.

?>.

That way you can include a file from anywhere using it's url instead of a path.but don't foreget to make your file with the extension .php..

Comment #9

Not wanting to sound like some dumb web-design philistine or anything, but why not use frames?.

Put the menu.html into the left frame and the main content into the right frame...

Comment #10

To link to it would I type in exactly: /path/to/www/root/file.htm or do I change the words so they are relative to me somehow...?.

If you just link like you said: (/path/to/www/root/file.htm).

No, Xitami doesn't work with this :/ If I do change to apache, are you positive the "/path/to/www/root/file.htm" will work?..

Comment #11

DooGseY: all servers will work with the absolute path. yes you would have to change it so it is relative to yours. you have to have a folder that is your main webfolder, that is root. even if it is on your c drive. mine is.

/program files/Apache/Apache group/htdocs/www/file.htm.

So see the path, www is the root folder adn everything is under that. mine doesn't work online, it is just a test machine...

Comment #12


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