[FX.php List] Required files?

Steve Hannah shannah at sfu.ca
Thu Nov 17 13:08:55 MST 2005

On 17-Nov-05, at 12:02 PM, Elleni B Fellows wrote:

>  Will, FXForge know about the FX class being located "centrally" or  
> does it expect the FX folder is in the site folder?

Any files in the server's library folder will be treated as if they  
are in the same folder as your executing script.  For example,  
suppose the path to your library folder is /phplib/ .  If you place  
your FX files so that the directory structure is as follows:


And you have a script located somewhere on your webserver like

Then you could include FX.php in myscript.php with the following line:

require_once 'FX.php';

> Sorry for being so confused, but I don't know anything about php. I  
> did lots of CDML, but this is not quite clear in my head.
> Thanks,
> Elleni
> Chris Hansen wrote:
>> Elleni,
>> There are really only three files required for FX.php:
>> 1) FX.php
>> 2) FX_Constants.php
>> 3) FX_Error.php
> Steve Hannah wrote:
>> Hi Elleni,
>> There is generally library folder that is separate from your  
>> webserver's document root where you can place PHP libraries such  
>> as FX.php.   Any libraries that are kept in this folder are  
>> available to be used by any php script on your webserver.  This  
>> directory will be included as part of the include path.
> _______________________________________________
> FX.php_List mailing list
> FX.php_List at mail.iviking.org
> http://www.iviking.org/mailman/listinfo/fx.php_list

More information about the FX.php_List mailing list