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


Groups > comp.lang.php > #7000

Re: Asynchronous execution of PHP file

Path csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!news.glorb.com!news.enother.com!newsfeed.hal-mli.net!feeder1.hal-mli.net!yojimbo.hack!news.tokachu.com!.POSTED!not-for-mail
From Salvatore <sal@yojimbo.hack.invalid>
Newsgroups comp.lang.php
Subject Re: Asynchronous execution of PHP file
Date Mon, 10 Sep 2012 13:57:49 +0000 (UTC)
Organization Yojimbo NNTP server
Lines 16
Message-ID <k2krkt$1cuj$1@yojimbo.hack> (permalink)
References <cd1ab090-566f-415a-8a2a-cfa8b5c19a06@googlegroups.com>
Mime-Version 1.0
Content-Type text/plain; charset=us-ascii
Content-Transfer-Encoding 7bit
X-Trace yojimbo.hack "kq(Iga%czn"
X-Complaints-To usenet(at)tokachu(dot)com
User-Agent slrn/0.9.9p1 (FreeBSD)
X-Watermark "Q(<g$Wn^Dp{;JCA$ES8QNl#A6gpm^k%q4`?sn;w)ge#O)Y7*b;#j^(9^40P`"
X-Reader-User hidden; display="24EEr1QzLVIfRpxx65/wVSkg68k"
Xref csiph.com comp.lang.php:7000

Show key headers only | 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