Topic awaiting preservation: link/embed external html file (Page 1 of 1) |
|
---|---|
Bipolar (III) Inmate From: Australia |
posted 10-25-2003 06:27
Is it possible to link/embed a html file into a portion of you're code. |
Maniac (V) Mad Scientist From: :morF |
posted 10-25-2003 06:30
What your looking at here is a server side include, or SSI...and as such this thread belongs in the Server-side forums...sending it there now |
Maniac (V) Mad Scientist From: :morF |
posted 10-25-2003 06:43
And now that we're in the correct forum, I'd recommend you read this tute on SSI from the Gurusnetwork by our very own DL-44 |
Bipolar (III) Inmate From: Australia |
posted 10-25-2003 06:44
Hmm, im wondering since my servers are win2003 can you use SSI, i think it requires .htaccess and this is a linux server attribute if i remember correctly? |
Maniac (V) Mad Scientist From: Belgrade, Serbia |
posted 10-25-2003 09:49 |
Bipolar (III) Inmate From: Australia |
posted 10-25-2003 10:17
Hmm... oh well guess i do it manually.. I'd prefer not to use asp myself . |
Bipolar (III) Inmate From: Australia |
posted 10-25-2003 10:19
Wow just got an email from my host apparently it does support it... hmm im not sure why it wasnt working then =/ ill have to post some code.. |
Maniac (V) Inmate From: there...no..there..... |
posted 10-25-2003 17:25
H][RO, code: <div id="myBox">
|
Bipolar (III) Inmate From: Australia |
posted 10-26-2003 01:26
Yeh thanks Cprompt, i know its pretty easy to do with php, but i wanted a purely html solution for this one if possible, SSI looks to be the answer if I can get it working. Thanks though. |
Paranoid (IV) Inmate From: [s]underwater[/s] under-snow in Juneau |
posted 10-26-2003 02:25
for a clientside answer to your puzzle, try looking into iframes/ilayers. This works quite well for a template. |
Bipolar (III) Inmate From: Australia |
posted 10-26-2003 04:17
Hehe is that last line you're sig or where u refering to something?:P |
Paranoid (IV) Inmate From: [s]underwater[/s] under-snow in Juneau |
posted 10-26-2003 06:55
that would be my sig..... I realize that it isn't as graphicaly appealing as some, but it is very meaningful to me! |
Bipolar (III) Inmate From: belgium |
posted 11-08-2003 07:47
Cprompt using your example... can your file have an html.extension? Or does it have to be PHP? |
Maniac (V) Mad Scientist From: :morF |
posted 11-08-2003 08:35
the closest you can get is .phtml...a page that's a mixture of PHP and HTML can have this extension, otherwise your webserver may not run it through a PHP parser if you don't give it a valid PHP extension (ie: .php, .php3, .PHTML, etc |
Paranoid (IV) Inmate From: everywhere |
posted 11-08-2003 12:22 |
Maniac (V) Inmate From: there...no..there..... |
posted 11-11-2003 04:50
Milio: safe bet would be yes all the pages would be PHP. I have tried to have Apache parse it using html files but I guess I am not that well versed in it. Actually i'm not versed in it at all |
Maniac (V) Inmate From: under the bed |
posted 11-11-2003 18:24
Ok, let me try to clarify some things here, as this is getting a little swampy in here.... |