[Xitami] Php

Thomas J. Hruska xitami@lists.xitami.org
Tue, 24 Jul 2001 23:24:53 -0500


At 06:39 PM 7/24/01 -0700, you wrote:
>http://www.xitami.com/addons.htm
>
>Try the XiFusion plug in...never used it with PHP but it's supposed
>to help make that work too...just an idea..

XiFusion will work with that version of Xitami, but requires another
wrapper for it to work correctly.  I'm experimenting with that particular
version of Pro as well, so here is a Perl wrapper for you to use (Requires
Perl, PHP, and XiFusion):

#!c:/perl/bin/perl

$ENV{"PATH_TRANSLATED"} = $ENV{"DOCUMENT_ROOT"}.$ENV{"SCRIPT_NAME"};
# You might need to modify the following line:
system "c:\\xifusion\\xifusion.exe c:\\php4\\php.exe";


In the Filters section, use something like this:
  .php=c:\perl\bin\perl c:\progra~1\xitamipro\nvmlwrap.pl

I know it isn't pretty, but it works.

Hope that helps!


           Thomas J. Hruska -- shinelight@crosswinds.net
Shining Light Productions -- "Meeting the needs of fellow programmers"
                  http://www.shininglightpro.com/