Advertisement
shmaltorhbooks

Untitled

Jun 17th, 2013
38
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 0.17 KB | None | 0 0
  1. response = curl_exec($curl);
  2. curl_close($curl);
  3. $response = json_decode($response, true);
  4. if ($response['success']) {
  5.     header("Location: " . $response['url']);
  6. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement