exec wont work if you need to use stdin and read from stdout. You can try php.net/pcntl but that is disabled by default, and probably wont be enabled oun your host. I don't even know if it existed in 4.0.6...
-- If there is no higher reason--and there is none--then my own reason must be the supreme judge of my life. Leo Nikolaevich Tolstoy -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php