Announcement

Collapse
No announcement yet.

Includes

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Includes

    How can i maka an include with html???

  • #2
    You can't--with html. However, if you use any other language (php, ssi, asp, etc), you can.

    For php, the code is:
    <? include("/path/to/file"); ?>

    for ssi the code is:
    <!-- #include virtual="/path/to/site" -->

    I do not know the asp code.

    Comment


    • #3
      asp is simular.

      <!--#include file="whatever you wish"-->
      Than the bottom incluldes as well for your request.

      <%= Request.ServerVariables("ALL_HTTP") %>
      <%= Request.ServerVariables("REQUEST_METHOD") %>

      Comment


      • #4
        If you are currently happy with your host then find out what features they support before deciding what type of include to use. I strongly suggest using PHP, although if you do not feel comfortable programming then SSI is very easy to pick up and supported by most standard hosting accounts.

        Comment


        • #5
          I believe Perl is just:
          PHP Code:
          require "file.pl"
          You probably didn't need to know that, but I might as well tell you anyway

          Comment


          • #6
            Hee hee isn't James a sweetie?

            Comment

            widgetinstance 262 (Related Topics) skipped due to lack of content & hide_module_if_empty option.
            Working...
            X