Thanks Symeon, that looks very similar to what I'm doing - and what works
flawlessly on Linux/Apache, Windows/Apache, and Windows/IIS!!!  The darn
thing just won't work on AIX.

On Tue, Jul 28, 2009 at 2:07 AM, Symeon Breen <syme...@gmail.com> wrote:

> This is a snip from my php handler for a unidata program
>
> $udtCmd="LANG=en_US.UTF-8;export LANG; cd
> /usr/ud/accounts/$account;/usr/ud71/bin/udt RUN $BP flyGen $noads $style
> $uid $keywords -G";
> $result = array();
> $i=1;
> $done=0;
> $time_start = microtime(true);
> exec( $udtCmd, &$result);
> $time_end = microtime(true);
> foreach ( $result as $v )
> {
> ....
>
>
>
> Notice i do set an env var in the same command as the udt command and i put
> the full path in as well. This works fine.
>
>
> Rgds
> Symeon.
>
_______________________________________________
U2-Users mailing list
U2-Users@listserver.u2ug.org
http://listserver.u2ug.org/mailman/listinfo/u2-users

Reply via email to