Results 1 to 2 of 2

Thread: include file help

  1. #1

    include file help

    is there a way to have the include file looking at the name of the html page and changing the extension to show the include.

    so:

    include="show page name (.ssi)"

    if the page name is text.html the file that will be the include will be text.ssi

    make sence?

  2. #2
    Administrator
    UK diades's Avatar
    Join Date
    Feb 2001
    Location
    Glasgow, Scotland
    Posts
    15,664
    Blog Entries
    6
    Hi,

    Sorry for the delay here, this must have been missed.

    I dare sat that you have the answer to this by now but, this would be a server-side action as ssi (includes) are processed on the server before being passed to the browser. the method would depend on which tech you have on the server (ASP, PHP etc) but will be fairly similar.

    I will move this to the Server-side forums so that the guys there can see it.

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. SSI: Placement of file to include
    By Lady_Aleena in forum Server-side Forum
    Replies: 2
    Last Post: 30th April 2005, 14:43
  2. HTML How to include a file as an ssi which contains java script
    By roi in forum Client-side forum
    Replies: 3
    Last Post: 22nd April 2004, 03:33
  3. global.asa vs include file
    By Vera L. C. Pincerato in forum Server-side Forum
    Replies: 6
    Last Post: 13th January 2002, 00:24
  4. Include file
    By Vera L. C. Pincerato in forum Server-side Forum
    Replies: 5
    Last Post: 24th July 2001, 21:42
  5. js include file
    By Lokiz in forum Client-side forum
    Replies: 3
    Last Post: 31st January 2001, 15:30

Bookmarks

Posting Permissions

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