I have a PHP script running and supposedly I’d like to trigger Node.js firing an event to the client side when certain PHP logic has been fulfilled, how should I do it? The Node.js part is still yet to be set up, but will probably be on a different server other than the PHP/Apache one, and being put behind an Nginx which functions as a reverse proxy.
Share
Try:
Review:
http://php.net/manual/en/function.curl-setopt.php