Results 1 to 3 of 3

Thread: Question to SSI users

  1. #1
    Join Date
    Feb 2003
    Russia, Petrozavodsk

    Question to SSI users

    I want to change value of "virtual" dinamic. For example, I want to
    make virtual as variable:

    <!--#set var="leftmenu" value="http://localhost/ssi/head.shtml" -->
    <!--#include virtual="$leftmenu" -->

    Yes, I know this sintax is wrong but I hope you can correct
    it or consider another way.
    Thank you.

  2. #2
    Join Date
    Nov 2002
    Baltimore, Maryland
    Actually, you syntax looks fine. It should work except that SSI cannot make an HTTP request. And since you are trying to load a file on the same server you need provide the local path and not a URL.
    “The power of the Web is in its universality. Access by everyone regardless of disability is an essential aspect.”
    —Tim Berners-Lee, W3C Director and inventor of the World Wide Web

  3. #3
    Join Date
    Feb 2003
    Russia, Petrozavodsk
    Thank you, Charles! You protected my code and it began to work in this morning. May be I was mistaken yesterday when considered all syntax variants.
    Unfortunately, I wanted to use http links so much!
    Thank again!

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

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

Recent Articles