1) I guess an asynchronous ajax request is what you are looking for. But
it won't work on command line.
I have a php page that updates data from one database to another when it is
My query is, how can I trigger the execution of this update page from
update page to finish?
Basically, I think the update page needs to use:
set_time_limit(0); // I don't think the script will take more than 1 min.
At the other end I found this:
2) On that page a user suggested using *pclose(popen(‘/usr/bin/php
/path/to/something.php > /dev/null &’, ‘r’)*
* *However, I need this to be usable on windows servers also.
3) Finally, would pcntl_exec, pcntl_fork, exec or something be useful for
Which of the above 3 options is the better one?
Other suggestions are welcome :)
Thanks and Regards,
could help you, but I never tried that.
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php