File get contents PHP
===

I have a small script where I am gathering the HTML of a URL. This works fine and it brings back the HTML. The problem is, this url is rendering some DIVs after the page has loaded so I can see those DIVs when I open it in browser but not when I use curl or file get contents. What would be the solution for this?