brooksh Posted December 16, 2007 Share Posted December 16, 2007 Can anyone see what is wrong? or why it won't work. exec("/usr/bin/php ./create.php \"domain=domain.com\" \"username=username\" \"password=password\" \"package=basic\" /dev/null 2>&1 &"); I've also tried exec("/usr/bin/php /home/public_html/order/create.php \"domain=domain.com\" \"username=username\" \"password=password\" \"package=basic\" /dev/null 2>&1 &"); if I run it in shell it works just fine. I thought it used to work but it won't anymore. There is nothing wrong with create.php. Any help would be appreciated. Quote Link to comment Share on other sites More sharing options...
rab Posted December 16, 2007 Share Posted December 16, 2007 Don't redirect the output to /dev/null, echo it and see what it says. Quote Link to comment Share on other sites More sharing options...
brooksh Posted December 16, 2007 Author Share Posted December 16, 2007 How would I echo the output? Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.