Re: Run a php script as a separate thread/process

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

 



On Tuesday 11 October 2005 14:12, Tommy Jensehaugen wrote:
> Hi,
> Anyone knows how to start a php script as a separate thread/process from
> another php script?

Yes, you can check: http://bg.php.net/manual/en/ref.exec.php for details.

>
> example.php:
>
> <?php
> some logic
>
>
> execute('separate_script.php');
> more logic
>
>
> ?>
>
> The reason why I want to do this is because separate_script.php has to be
> fully executed even if the request for example.php is stopped in the middle
> of "more logic".
> I am using PHP Version 4.3.11.
>
> Thank you very much for your help..
>
> Cheers,
> Tommy

-- 

Cyberly yours,
Petar Nedyalkov
Devoted Orbitel Fan :-)

PGP ID: 7AE45436
PGP Public Key: http://bu.orbitel.bg/pgp/bu.asc
PGP Fingerprint: 7923 8D52 B145 02E8 6F63 8BDA 2D3F 7C0B 7AE4 5436

Attachment: pgpPRhk6O9JTm.pgp
Description: PGP signature


[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