I need to make this curl script work in php and read the json data .
Once the data is received need to do some calculations and put it in a file
-H "X-Requested-With: XMLHttpRequest" \
-b 'persistent=41718154_1337loungelive_53siumx7ry4tvrvcjlxhhz2mi; login=1337loungelive' \
"[url removed, login to view]"