SitePoint Sponsor

User Tag List

Results 1 to 5 of 5
  1. #1
    SitePoint Member
    Join Date
    May 2000
    Location
    Doylestown, PA USA
    Posts
    15
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Our company has put out a web product that customers will be able to use on their own servers.. but there are a couple pre-defined spaces that I need to place some text that will update on all their sites whenever I change it (they will pull this text from our server.)
    Can this be done with the same code used to display banners? What is the code?

    Any help would be greatly appreciated..

    Regards,
    Charlie



  2. #2
    SitePoint Author Kevin Yank's Avatar
    Join Date
    Apr 2000
    Location
    Melbourne, Australia
    Posts
    2,571
    Mentioned
    2 Post(s)
    Tagged
    0 Thread(s)
    How is your Web product set up? Depending on whether you're using ASP, PHP, or some other solution on your server, the code required will be different.


    ------------------
    -Kevin Yank.
    http://www.SitePoint.com/
    Helping Small Business Grow Online!

  3. #3
    SitePoint Member
    Join Date
    May 2000
    Location
    Doylestown, PA USA
    Posts
    15
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    The pages I need to insert the code are ASP.

    Charlie

  4. #4
    SitePoint Wizard
    Join Date
    Jul 1999
    Location
    Chicago
    Posts
    2,629
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Assuming SSI is configured, just use the following directive.

    <!--#include virtual="/path/to/file.txt" -->

    Then all pages where that bit 'o code is included will include it, and you can edit it from a central location.

    ------------------
    Who the heck is Gen. Failure and why does he want to read my hard drive?
    Soon to come: Aspology.com

  5. #5
    SitePoint Member
    Join Date
    May 2000
    Location
    Doylestown, PA USA
    Posts
    15
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I was hoping it was going to be that easy. Thanks a million!


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
  •