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 2 of 2
  1. #1
    New Coder
    Join Date
    Jul 2003
    Posts
    12
    Thanks
    0
    Thanked 0 Times in 0 Posts

    SSI: How to include alla files in a folder

    Yea, how can i include all files in a directory with oly one #include tag? is it possible? Sorry if i posted in the wrong forum, admins please move it if it's wrong

  • #2
    Super Moderator
    Join Date
    May 2002
    Location
    Perth Australia
    Posts
    4,093
    Thanks
    11
    Thanked 101 Times in 99 Posts
    right forum , but the answer is still no , at least AFAIK you can't do multiple includes in a single #include

    You could simply include another SSI age that itself has several include statements in it
    ...
    <!--#include virtual="/includes.shtml" -->

    .........../includes.shtml..................
    <!--#include virtual="/includes/inc1.html" -->
    <!--#include virtual="/includes/inc2.html" -->
    <!--#include virtual="/includes/inc3.html" -->
    etc
    resistance is...

    MVC is the current buzz in web application architectures. It comes from event-driven desktop application design and doesn't fit into web application design very well. But luckily nobody really knows what MVC means, so we can call our presentation layer separation mechanism MVC and move on. (Rasmus Lerdorf)


  •  

    Posting Permissions

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