PDA

View Full Version : Using SSI for PHP


spectrum3900
01-14-2009, 06:21 PM
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

Michael
01-15-2009, 11:28 PM
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

spectrum3900
01-22-2009, 08:51 PM
This is great - i will give it a try!