Re: Weird behavior of exec()

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Em 15/07/2010 18:19, Shawn McKenzie escreveu:
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


Bad habit. I know.

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux