[FX.php List] [OT] Server Plugin

Tom Sepper tsepper at directorschoice.travel
Tue May 8 13:20:49 MDT 2007


That's an interesting concept, so I wrote a quick test.


<?
include_once("FX/FX.php");
include_once("FX/server.php");
define("DEBUG",false);

$event = new FX($ipaddress, $port, $type);
$event->SetDBData($database, "2007_DB");
$event->SetDBUserPass ($username, $password);

$event->AddDBParam('-script','AUTOMATE_Test');

$eventData = $event->FMFindAll();

if ($eventData['foundCount'] > 0) {
        echo $eventData['foundCount'];
}

else {
        echo "None";
}
?>

When I manually execute the "AUTOMATE_Test" script, it's correctly
executed.

When I manually execute the php file, I get the correct found count but
the script is not executed.

Ideas?




-----Original Message-----
From: fx.php_list-bounces at mail.iviking.org
[mailto:fx.php_list-bounces at mail.iviking.org] On Behalf Of Derrick Fogle
Sent: Tuesday, May 08, 2007 1:37 PM
To: FX.php Discussion List
Subject: Re: [FX.php List] [OT] Server Plugin

Why not CRON jobs that execute php pages that trip your scripts?

On May 8, 2007, at 1:33 PM, Tom Sepper wrote:

> There's a bunch of smart people on this list, so I thought I'd check
> with everyone about this.
>
> I'm looking for a server-based plugin that can execute scripts on a  
> set
> schedule. Does anyone know of one? I've looked at Troi Activator,  
> but it
> appears that's a client plugin rather than a server plugin.
>
>
> ---
> Tom Sepper
> Director of Information Technology
> Director's Choice Tour & Travel
>
> P 806.762.6354
> F 806.763.7637
>
> tsepper at directorschoice.travel
> www.directorschoicetourandtravel.com
>
> _______________________________________________
> FX.php_List mailing list
> FX.php_List at mail.iviking.org
> http://www.iviking.org/mailman/listinfo/fx.php_list


Derrick Fogle
derrick at fogles.net



_______________________________________________
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