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


Groups > comp.lang.php > #6996 > unrolled thread

Asynchronous execution of PHP file

Started bySupriya <singla.supriya88@gmail.com>
First post2012-09-10 02:53 -0700
Last post2012-10-02 08:20 +0200
Articles 4 — 4 participants

Back to article view | Back to comp.lang.php


Contents

  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

#6996 — Asynchronous execution of PHP file

FromSupriya <singla.supriya88@gmail.com>
Date2012-09-10 02:53 -0700
SubjectAsynchronous execution of PHP file
Message-ID<cd1ab090-566f-415a-8a2a-cfa8b5c19a06@googlegroups.com>
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

[toc] | [next] | [standalone]


#6999

From"Peter H. Coffin" <hellsop@ninehells.com>
Date2012-09-10 08:32 -0500
Message-ID<slrnk4rqum.h39.hellsop@nibelheim.ninehells.com>
In reply to#6996
On Mon, 10 Sep 2012 02:53:34 -0700 (PDT), Supriya 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

30 seconds with Google got
http://stackoverflow.com/questions/2458005/forking-in-php-on-windows

-- 
20. Despite its proven stress-relieving effect, I will not indulge in 
   maniacal laughter. When so occupied, it's too easy to miss 
   unexpected developments that a more attentive individual could 
   adjust to accordingly.  --Peter Anspach's Evil Overlord list

[toc] | [prev] | [next] | [standalone]


#7000

FromSalvatore <sal@yojimbo.hack.invalid>
Date2012-09-10 13:57 +0000
Message-ID<k2krkt$1cuj$1@yojimbo.hack>
In reply to#6996
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++

[toc] | [prev] | [next] | [standalone]


#7220

FromGoran <goran@nospam.com>
Date2012-10-02 08:20 +0200
Message-ID<k4e13q$qe3$1@news.metronet.hr>
In reply to#6996
On 10.9.2012 11:53, Supriya 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

Gearman would be the right way...

[toc] | [prev] | [standalone]


Back to top | Article view | comp.lang.php


csiph-web