|
|||||||
| Programming, Coding, (Web)Design Discuss all your programming or design needs with likeminded people. |
![]() |
|
|
Thread Tools |
|
|
#1 |
|
Yarr... I be blind!
Join Date: May 2002
Location: Calgary, Canada
Posts: 3,190
Rep Power: 74 ![]() ![]() ![]() ![]() ![]() ![]() ![]() |
OK with php you can go:
<? Include "templates/header.htm"; ?> but what if I have a host who doesn't support PHP? Is there a way to do that same fuction without php?
__________________
|
|
|
|
|
|
#2 |
|
A Legend in Underwear
Join Date: May 2002
Location: Unknown
Posts: 5,255
Rep Power: 70 ![]() |
If the server can use Server Side Includes then you can use
Code:
<!--#include virtual="http://foo.bar.com/this.html"--> You could use DTHML and javascript, but that would be kludgy and may not work on some browsers
__________________
Gentoo Linux - Developer (baselayout) Read my blog "I contend that we are both atheists. I just believe in one fewer god than you do. When you understand why you dismiss all the other possible gods, you will understand why I dismiss yours." Stephen Roberts |
|
|
|
|
|
#3 |
|
BSD SMASH!
Join Date: May 2002
Location: A rabbit hole. . .
Posts: 1,170
Rep Power: 0 ![]() |
What he said. I was going to suggest PHP, but you seem to have that covered.
__________________
quad (FreeBSD/amd64 8-CURRENT): Intel Q6600 - Asus P5E-VM HDMI - 2x2 GB Kingston PC6400 DDR2 Ram - Seagate 320GB 7200RPM HD - 2xSeagate 1TB 7200RPM HD in RAID 1 via ZFS - Lite-On 20x DVD Multi Recorder - Coolermaster Centurion 5 router (FreeBSD/amd64 8-CURRENT): Intel E4500 - Intel D945GCNL - 2 GB PC6400 Mushkin Ram - Lite-On 48x24x48x16 - Seagate 320GB 7200RPM HD - Silverstone SST-SG02-F wanderer (FreeBSD/i386 7-CURRENT): Lenovo Thinkpad T61p mini (OS X 10.5): Intel Core 2 Duo @ 1.8Ghz, 4 GB Mushkin PC5400 Ram - Headroom MicroDAC Portable sound: Rockboxed iPod Video -> Westone UM2's Not-So-Portable Sound: Headroon MicroDAC -> Singlepower PPX3-SLAM -> Grado RS-1's or Beyerdynamic DT-880's Very-Not-Portable-Sound: Squeezebox v3 -> Denon AVR-1507 -> B&W 683's & Sunfire HRS-10 |
|
|
|
|
|
#4 | |
|
A Legend in Underwear
Join Date: May 2002
Location: Unknown
Posts: 5,255
Rep Power: 70 ![]() |
Quote:
__________________
Gentoo Linux - Developer (baselayout) Read my blog "I contend that we are both atheists. I just believe in one fewer god than you do. When you understand why you dismiss all the other possible gods, you will understand why I dismiss yours." Stephen Roberts |
|
|
|
|
|
|
|
|
Yarr... I be blind!
Join Date: May 2002
Location: Calgary, Canada
Posts: 3,190
Rep Power: 74 ![]() ![]() ![]() ![]() ![]() ![]() ![]() |
Yeah I know, but <? is fine for me
and if it was like that on this server, DP uses <? for like every PHP tag in it So that would make DH really messed.I guess I could use <?php though.
__________________
|
|
|
|
|
|
|
|
Yarr... I be blind!
Join Date: May 2002
Location: Calgary, Canada
Posts: 3,190
Rep Power: 74 ![]() ![]() ![]() ![]() ![]() ![]() ![]() |
Well the server does support SSI so I am happy, thanks Uber.
__________________
|
|
|
|
|
|
#7 | |
|
A Legend in Underwear
Join Date: May 2002
Location: Unknown
Posts: 5,255
Rep Power: 70 ![]() |
Quote:
__________________
Gentoo Linux - Developer (baselayout) Read my blog "I contend that we are both atheists. I just believe in one fewer god than you do. When you understand why you dismiss all the other possible gods, you will understand why I dismiss yours." Stephen Roberts |
|
|
|
|
|
|
|
|
Yarr... I be blind!
Join Date: May 2002
Location: Calgary, Canada
Posts: 3,190
Rep Power: 74 ![]() ![]() ![]() ![]() ![]() ![]() ![]() |
How much is it?
__________________
|
|
|
|
![]() |
| Bookmarks |
| Thread Tools | |
|
|