On Wed, 24 Apr 2002, Maxim Maletsky (PHPBeginner.com) wrote:
> You can use PHP-GTK in the background. Just call it with cron.
> Alternatively, you can set PHP to keep executing on the user exit. What
> was that function called? on_*_shutdown()?
>
> Could be dangerous though, what if it goes to lo
: Wednesday, April 24, 2002 5:33 PM
To: [EMAIL PROTECTED]
Subject: [PHP] Background Processing
Hi people!!
I'm trying to find a way to handle this but I don't come up with
anything.
I need to execute a query to a DB using PHP. The thing is that the query
takes 0.5 hours to execute a
:)
Try this http://www.naken.cc/mikehup.php
Otto
> - Original Message -
> From: "Richard Perez" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Wednesday, April 24, 2002 4:32 PM
> Subject: [PHP] Background Processing
>
>
> >
- Original Message -
From: "Richard Perez" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, April 24, 2002 4:32 PM
Subject: [PHP] Background Processing
> Hi people!!
>
> I'm trying to find a way to handle this but I don't come up wit
Hi people!!
I'm trying to find a way to handle this but I don't come up with anything.
I need to execute a query to a DB using PHP. The thing is that the query
takes 0.5 hours to execute and I can't wait that time with the browser
opened in that page.
What I want to do is to execute a PHP code
Disclaimer:
The following post contains C code for *nix!
Viewer discretion recommended!
Hi,
I'm back, I couldn't resist you mentioning C, so as
you did, big fault, the code that follows is probably
much better than exec, as an stderr terminal will
still be attached, but anyway:
exec("your
> Now the problem is that the C program will be running
> for longs periods like maybe half or even an hour. So
> i would basically want to just execute the program and
> return control to the script immediately so that the c
> program continues it's work.
>
> it's easy with forking. but i dont se
Hi Natasha,
Well the probably easiest shitty way to do it is:
exec("theprogram 1> /some/file 2>&1 &");
would exec()ute theprogram and will put it's output in
/some/file and stderr's output also in the /some/file,
and & at last signifies the backgroundness of the
program.
however as you mention
hey,
i wanted to know if there's a fork function in php,
cause i don't see it in the manual.
I basically wanna call a C program from PHP.
Now the problem is that the C program will be running
for longs periods like maybe half or even an hour. So
i would basically want to just execute the progra
9 matches
Mail list logo