Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 5 of 5

Thread: code problem

  1. #1
    New to the CF scene
    Join Date
    Sep 2003
    Location
    Holland
    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts

    code problem

    Which language supports this code:
    <--#include file="inc/footer.shtm" -->

    Marcel Penders

  • #2
    Regular Coder
    Join Date
    Mar 2003
    Posts
    241
    Thanks
    0
    Thanked 0 Times in 0 Posts
    That is a SSI {Server Side Include}, and most of the webservers around support that.
    However, if you store your files on a free host, such as angelfire, they may have disabled that feature.

  • #3
    New to the CF scene
    Join Date
    Sep 2003
    Location
    Holland
    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Originally posted by phlegmatic
    That is a SSI {Server Side Include}, and most of the webservers around support that.
    However, if you store your files on a free host, such as angelfire, they may have disabled that feature.
    Thank you.
    I am using Yahoo and it seams they don't support SSI anymore.
    Is there another command that does the same like
    <!-- #include file="ïnc/footer.shtm" -->

    Marcel Penders

  • #4
    Regular Coder
    Join Date
    Mar 2003
    Posts
    241
    Thanks
    0
    Thanked 0 Times in 0 Posts
    No, not if you are on yahoo.

    What you can do is you could convert your content in your footer-file {if it is static} and make a javascript-file of it.
    Then you could include it on the pages by using
    <script type="text/javascript" src="inc/footer.js"></script>

  • #5
    New to the CF scene
    Join Date
    Sep 2003
    Location
    Holland
    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Originally posted by phlegmatic
    No, not if you are on yahoo.

    What you can do is you could convert your content in your footer-file {if it is static} and make a javascript-file of it.
    Then you could include it on the pages by using
    <script type="text/javascript" src="inc/footer.js"></script>
    Thank you, I try to work it out.
    Marcel


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •