When you run php code that uses curl from the command line, curl requests are not returned (just empty, there are no errors). As I understand it, this is due to the fact that the command line is not endowed with browser properties and requests have nowhere to return. But on the other hand, if I, for example, use VBA (XMLHTTPObject) in excel for the same purpose, then requests are returned, i.e. It does not affect here - the request has left the browser or not ...
What solution then should be? How to run such a script in the background?