equal
deleted
inserted
replaced
30 $_SESSION['TWITTER_REQUEST_TOKEN'] = null; |
30 $_SESSION['TWITTER_REQUEST_TOKEN'] = null; |
31 |
31 |
32 /** |
32 /** |
33 * With Access Token in hand, let's try accessing the client again |
33 * With Access Token in hand, let's try accessing the client again |
34 */ |
34 */ |
35 header('Location: ' . ( isset($_SESSION['TWITTER_REDIRECT_URL']) ? $_SESSION['TWITTER_REDIRECT_URL'] : ( URL_ROOT . "$rep/client.php" ) ) ); |
35 echo "Would redirect to " . ( isset($_SESSION['TWITTER_REDIRECT_URL']) ? $_SESSION['TWITTER_REDIRECT_URL'] : ( URL_ROOT . "$rep/client.php" ) ); |
|
36 //header('Location: ' . ( isset($_SESSION['TWITTER_REDIRECT_URL']) ? $_SESSION['TWITTER_REDIRECT_URL'] : ( URL_ROOT . "$rep/client.php" ) ) ); |
36 } else { |
37 } else { |
37 /** |
38 /** |
38 * Mistaken request? Some malfeasant trying something? |
39 * Mistaken request? Some malfeasant trying something? |
39 */ |
40 */ |
40 echo "<h2>$_GET</h2><pre>"; |
41 echo "<h2>$_GET</h2><pre>"; |