multithreading - Starting a task to continue after a PHP script finishes -
i have php script run ajax. @ end of script, server makes http request different server log successful completion of script. problem is, sec server takes while respond, , happen after ajax client finishes request.
is there php library or similar this? best bet log completion file on first server, have cron script making http requests sec server based on contents of file?
u can utilize file_get_contents phone call remote server php, or utilize more complex, more feature rich curl wrapper library php has.
php multithreading logging cron
No comments:
Post a Comment