View Single Post
Old 10-11-2005, 06:25 PM  
Jog
Member
 
Join Date: Jul 2003
Posts: 83
Default Env Variables not updated when executed php script from scheduler

With correct variables set in ioftp.env :

WINDIR=%[environment(WINDIR)]
SYSTEMROOT=%[environment(SYSTEMROOT)]

if i execute a php script as custom command all ioftpd env variables are updated on php env; if execute the same script from the scheduler all variables in $_SERVER and $_ENV except someone , are null.

When exec a php script containing a call to socket (fopen(),fsockopen(),etc) , from ioftpd scheduler, this not work and work perfect if i exec the same script with a custom command.
Jog is offline   Reply With Quote