Re: [PHP] Running a script without flowing

2001-03-30 Thread Mukul Sabharwal
hey, exec("foo > /some/file 2>&1 &"); or register_shut_down("whatever"); incase it's a C program that does the math, you could make it a daemon like thing: and do that math in the main :-) #include #include #include #include #include #include #include // copyright 2001, mukul sabharwal

[PHP] Running a script without flowing

2001-03-29 Thread Jonathan Chum
I'm not sure of the exact term, but what I want todo is run a function in a loop so that it doesn't wait for the function to finish and goes ahead and executes the next in loop. For example: 5; $i++) { run_this(); } ?> run_this may contain some long mathematical computations that takes a whi