How to get a set of .ssi files to execute automatically upon access to my website?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • james schrag
    New Member
    • Jan 2011
    • 2

    How to get a set of .ssi files to execute automatically upon access to my website?

    I will attempt to explain my plight once again. I want a particular set of ssi files to execute automatically upon access to my website. I thought that possibly i could make this happen through a php loop, but I really have no idea how to make the php file execute automatically upon a visitor's access to my site. In addition, I'm not sure that I have the syntax correct within the php file to execute the ssi files, and I'm not even sure that ssi files can be initiated from a php "for loop." This is the help that i need.

    By ssi files, I mean files with the extension .ssi.
  • dlite922
    Recognized Expert Top Contributor
    • Dec 2007
    • 1586

    #2
    php can READ a file, regardless of extension. Just create a php file and access it from your browser. If your webserver is setup correctly that php file will "run".

    What does this "ssi" file contain? text? binary data? an image?

    PHP can read all of the above, but what to "do" with the data is up to you, however you can NOT run files on client PC. You must write code that can display in a browser, else they need to download the file to their PC and execute them.


    Dan

    Comment

    Working...