[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

[PHP] Running a script with Crontab

2001-09-29 Thread Carlos Fernando Scheidecker Antunes
Hello All, I wrote an script to do database maintenance and I forgot how to run a script on the command line without opening it with a web browser. My idea is to add a crontab daily entry to run this script. Can anyone enlight me on this thank you very much, C.F. Scheidecker Antunes. Linux

[PHP] Running a script with Crontab

2001-09-30 Thread ani
This is what I do, maybe is gonna help you bash file structure: #!/bin/bash ## ## mysql maintenance ## /usr/bin/mysql -u username --password=yourpassword

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

Re: [PHP] Running a script with Crontab

2001-09-30 Thread Jeffrey Paul
At 01:25 PM 9/30/2001, [EMAIL PROTECTED] wrote: >This is what I do, maybe is gonna help you > >bash file structure: > > #!/bin/bash > ## > ## mysql maintenance > ## > /usr/bin/mysql -u username --password=yourpassword < use yourdatabase; > YOUR SQL query HERE; >

Re: [PHP] Running a script to check something before submitting a form. Can this be done?

2002-05-31 Thread Jim lucas
ECTED]> Sent: Friday, May 31, 2002 1:46 PM Subject: [PHP] Running a script to check something before submitting a form. Can this be done? Hi, I think I need to use PHP here which is why I'm posting to this ng. I have a form that upon the user pressing submit, calls a PHP form hand

Re: [PHP] Running a script to check something before submitting a form. Can this be done?

2002-05-31 Thread Kevin Stone
000); $file = str_replace("", $error, $file); echo $file; And that's about as sophisticated as you would ever need to get in this case. -Kevin - Original Message - From: "Jim lucas" <[EMAIL PROTECTED]> To: "Don" <[EMAIL PROTECTED]>;