Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function getRS($roblox, $robloxpw){
- $login_user = 'username=' . $roblox . '&password=' . $robloxpw;
- $get_cookies = curl_init('https://www.roblox.com/newlogin');
- curl_setopt($get_cookies, CURLOPT_POST, 1);
- curl_setopt($get_cookies, CURLOPT_POSTFIELDS, $login_user);
- curl_setopt_array($get_cookies,
- array(
- CURLOPT_RETURNTRANSFER => true,
- CURLOPT_HEADER => true
- )
- );
- $t = curl_exec($get_cookies);
- $exp = explode('.ROBLOSECURITY=', $t);
- $expl = explode(';', $exp[1]);
- return '.ROBLOSECURITY='.$expl[0].';';
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement