I'm using simplexml in my code and it worked well since yesterday, now i have this message: failed to open stream: HTTP request failed! HTTP/1.1 409 Too many requests
That is not a problem in your code, but on the server which you're calling. You seem to have exceeded one of its limits for the number of API/HTTP requests.