HTTP 301 response on authorization request?

  • HTTP 301 response on authorization request?

    I have this simple PHP code and am trying to just get my site to redirect to the authorization page...but I am consistently receiving an HTTP 301 response. This is the PHP code:

    $request_url = "";;
    $ch = curl_init($request_url);

    curl_setopt($ch, CURLOPT_HEADER, 0);



    • tburny a dit :...
    • Forum Moderator
    • 28 mai 2012, 10h28m
    Do you mean a 301 redirect?
    header ("HTTP/1.1 301 Moved Permanently");
    header ("Location:";);
    ?> Combine your favourite radio stations! | My Blog | scala-lastfmapi | Cache2k - A high performance Java in-memory cache
    P.S.: Do not click here
    throw new PokemonException(); //Gotta catch 'em all
    My forum post reflects my personal opinion :)
  • [spam]


    Modifié par bengt_bangt le 12 juin 2012, 13h31m
Les utilisateurs anonymes ne peuvent pas poster de messages. Merci de vous connecter ou de créer un compte pour pouvoir intervenir dans les forums.