PassMark Logo
Home » Forum

Announcement

Collapse
No announcement yet.

Using SSI for PHP

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Using SSI for PHP

    Hello,
    I am using the demo version and i am figuring out if include files will work when i make php files.

    I had errors though!

    I cannot even use .shtml and use includes.

    If i use the full version will i be able to use includes?

    CODE EXAMPLE:
    <?PHP include('/folder/file.php'); ?>

    Thank you for your time!
    Jerome
    Last edited by spectrum3900; Jan-14-2009, 06:25 PM. Reason: update

  • #2
    PHP code is not supported by default in FlyingAnt.

    If all you need is to include files the Apache style SSI's are supported and can be used in this format

    <!--#include virtual="/Index.html" -->

    If you have a need for PHP other then just including files then we have a document detailing how to do this.

    http://www.wrensoft.com/ftp/UsingPHPwithFlyingAnt.pdf

    Comment


    • #3
      Thank you

      This is great - i will give it a try!

      Comment

      Working...
      X