[eluser]Réjôme[/eluser]
Hello everyone,
I run into a bit tricky problem :
Let's say there are 2 PHP servers, each one running it's own CI.
One is the Front Office server, open for everyone on the web.
The other is the Back Office server, accepting only Front Office calls (ip filter).
The two servers share a database.
The Front Office feeds the database with user inputs, the Back Office processes the data and takes care of slow treatments.
What I want to do is to trigger Back Office scripts execution asynchronously.
Actually, the Front Office doesn't need to know the result of the Back Office processes. It only has to wake him up.
For portability reasons, I'd like to avoid the usage of cURL or PEAR (or anything that needs special software configuration)
I thought about building a CI Library that could implement fonctions to do it using sockets... Could it be possible and how ?
Thanks for your help !