Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.php > #7000

Re: Asynchronous execution of PHP file

From Salvatore <sal@yojimbo.hack.invalid>
Newsgroups comp.lang.php
Subject Re: Asynchronous execution of PHP file
Date 2012-09-10 13:57 +0000
Organization Yojimbo NNTP server
Message-ID <k2krkt$1cuj$1@yojimbo.hack> (permalink)
References <cd1ab090-566f-415a-8a2a-cfa8b5c19a06@googlegroups.com>

Show all headers | View raw


On 2012-09-10, Supriya <singla.supriya88@gmail.com> wrote:
> Hii All, 
> I m working on WAMP and need to execute a PHP file Asynchonously from another PHP file inside a loop. How to do it?
>  Please help.
>  Thanks

You'll need a Windows-specific way of executing a PHP file in the
background. Here's an example:

<?php
pclose(popen('start /B C:\\php\\php-win.exe C:\\Fullpath\\Script.php', 'r'));
?>

-- 
Blah blah bleh...
GCS/CM d(-)@>-- s+:- !a C++$ UBL++++$ L+$ W+++$ w M++ Y++ b++

Back to comp.lang.php | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

Asynchronous execution of PHP file Supriya <singla.supriya88@gmail.com> - 2012-09-10 02:53 -0700
  Re: Asynchronous execution of PHP file "Peter H. Coffin" <hellsop@ninehells.com> - 2012-09-10 08:32 -0500
  Re: Asynchronous execution of PHP file Salvatore <sal@yojimbo.hack.invalid> - 2012-09-10 13:57 +0000
  Re: Asynchronous execution of PHP file Goran <goran@nospam.com> - 2012-10-02 08:20 +0200

csiph-web