Results 1 to 2 of 2

Thread: load content from external file

  1. #1
    Join Date
    Jul 2006
    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Lightbulb load content from external file

    hey guys,
    I was just wondering if there is any way to let the document load the content from an external file (Txt file)?

    for example: The design is set. just the content need to be loaded from a text file. So that the next time the wont be any need to go through the HTML codes to change the content of the document...

    im not quite sure if should post this thread here or in other section of this forum.

    thanks in advance

  2. #2
    Join Date
    Aug 2004
    Posts
    10,143
    Thanks
    3
    Thanked 1,008 Times in 993 Posts
    Blog Entries
    16

    Default

    The best way to do this is on the server side. There are numerous solutions depending on the type of your page (ie: php, asp, ssi etc). For example, for .shtml (ssi) pages, you can use server side includes.

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
  •