卷曲相当于php标题

时间:2013-11-19 04:26:27

标签: php curl

我正在努力将其转换为php_curl:

    <?php

    $auth_endpoint = "https://api.ffm.com/oauth/authorize?response_type=code";
    $client_id = "myidishere";
    $returnurl = "http://127.0.0.1:8998/returnurl.php";
    $auth_request = $auth_endpoint . "&client_id=" . urlencode($client_id). "&redirect_uri=" .  urlencode($returnurl);      
    header("Location:" . $auth_request);

?>

0 个答案:

没有答案