Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- function Send($url,$postData = null)
- {
- global $XsrfToken;
- $ch = curl_init();
- curl_setopt($ch, CURLOPT_RETURNTRANSFER,1);
- curl_setopt($ch, CURLOPT_URL,$url);
- curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, false);
- if(isset($postData))
- {
- curl_setopt($ch, CURLOPT_POST, 1);
- curl_setopt($ch, CURLOPT_POSTFIELDS, $postData);
- }
- $html = curl_exec ($ch);
- curl_close($ch);
- return $html;
- }
- function GetPlaceInformation($id,$startIndex)
- {
- $start = $startIndex;
- $response = Send("http://www.roblox.com/games/getgameinstancesjson?placeId=$id&startindex=$start");
- return $response;
- }
- echo GetPlaceInformation($_REQUEST["id"],$_REQUEST["startIndex"]);
- ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement