PDA

View Full Version : Env Variables not updated when executed php script from scheduler


Jog
10-11-2005, 06:25 PM
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.