On Wed, 17 Sep 2003 21:39:24 +0200, [email]Martin.Hamplstud.uni-erlangen.de[/email] (Martin
Environment differences probably; CLASSPATH and PATH being two environment>I couldn't compile php with java support on Mac OS X so I thought I'd
>call my java program with shell_exec(). It does work for simple programs
>("hello world") but if the program gets more complex php just gets back
>an empty string (although on the command line the java program prints
>out what I want).
>Any ideas why this happens?
variables that spring to mind.
Try running it using exec() instead and capture the return code; this might
also give a clue.
Andy Hassall (andyandyh.co.uk) icq(5747695) ([url]http://www.andyh.co.uk[/url])
Space: disk usage ysis tool ([url]http://www.andyhsoftware.co.uk/space[/url])