HighDots Forums  

Re: How do I ... includes

alt.discuss.html alt.discuss.html


Discuss Re: How do I ... includes in the alt.discuss.html forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Steve Sundberg
 
Posts: n/a

Default Re: How do I ... includes - 03-12-2005 , 06:30 AM






On Fri, 11 Mar 2005 15:21:35 -0600, "Lee David"
<affordable_turnkey_solutions (AT) comcast (DOT) net> wrote:

Quote:
How do I include a block of code in all the pages without having to
duplicate it?
Javascript?




Reply With Quote
  #2  
Old   
Steve Sundberg
 
Posts: n/a

Default Re: How do I ... includes - 03-13-2005 , 01:04 PM






On Sat, 12 Mar 2005 08:38:54 -0600, "Lee David"
<affordable_turnkey_solutions (AT) comcast (DOT) net> wrote:

Quote:
Hadn't thought about that. One person recommended PHP as it is a unix
server, but I don't know PHP.

Thanks for the response.
PHP would be the easiest solution. You just need to use an "include()"
line, and import anything from other php scripts to whole html pages.
However, your server would need to have a PHP setup.




Reply With Quote
  #3  
Old   
Chris
 
Posts: n/a

Default Re: How do I ... includes - 03-21-2005 , 11:06 AM



Quote:
How do I include a block of code in all the pages without having to
duplicate it?

Javascript?
JavaScript is dependant on the user having a browser that supports js, and
has it turned on (not all of them do, and there are more and more companies
blocking JavaScript as a security measure).

Your best bet would be to use a server side include (php, asp, shtml -
google can point you in the right direction for each of these depending on
what your host provides, they all do pretty much the same thing).

HTH --CDD




Reply With Quote
Reply




Thread Tools
Display Modes

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



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.