Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- $curl_handle=curl_init();
- curl_setopt($curl_handle, CURLOPT_URL,'http://steamcommunity.com/profiles/76561198337627631/inventory/json/730/2/');
- curl_setopt($curl_handle, CURLOPT_RETURNTRANSFER, 1);
- curl_setopt($curl_handle, CURLOPT_USERAGENT, 'MOZILLA YOOO');
- $page = curl_exec($curl_handle);
- curl_close($curl_handle);
- $f_handler = fopen('test.txt', 'w');
- fwrite($f_handler, $page);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement