On 07/15/2010 10:51 AM, Leonardo wrote: > Hi everybody. I need to use exec() to run a background php script, but > it's not working properly. Take a look at this sample: > > a.php > <? > > echo ' File A (1) '; > > exec('php b.php > output.txt &'); > > echo ' File A (2) '; > > ?> > > b.php > <? > > echo 'File B'; > > ?> > Try not use the short open tag. Use <?php -- Thanks! -Shawn http://www.spidean.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php