I'm using the PHP auth code found here [url]http://bungienetplatform.wikia.com/wiki/Authentication?action=edit§ion=12[/url]. I'm using my xbox live account details and when it gets to this line: [quote]preg_match('/id\="i0327" value\="(.*?)"\//', $auth_result, $ppft);[/quote], if I try to var_dump $ppft, it's an empty array, causing it to not flow in to the [quote]if (count($ppft) == 2) {[/quote] block. If I print out $auth_result, I get [quote]Object moved to here.[/quote] where here is a link containing this url: [url]https://login.live.com/oauth20_authorize.srf?client_id=000000004013231D&scope=Xboxlive.signin%20Xboxlive.offline_access&response_type=code&redirect_uri=https://www.bungie.net/en/User/SignIn/Xuid&display=touch&locale=en[/url]
By [quote]$ppft[/quote] being an empty array, it never finishes the third party auth. Any ideas on how to fix this?
Thanks
I moderatori possono proibire a questo utente di inviare messaggi (saltando la coda delle segnalazioni) selezionando una punizione adeguata.
Ban di 7 giorni
Ban di 7 giorni
Ban di 30 giorni
Ban permanente
Questo sito utilizza cookie per fornire un migliore servizio agli utenti. Cliccando su "Accetto", accetti le politiche esposte su Politica sui cookie e Politica sulla privacy.
Accetto
Questo sito utilizza cookie per fornire un migliore servizio agli utenti. Continuando a navigare su questo sito, accetti le politiche esposte su Politica sui cookie e Politica sulla privacy.
Di recente, le nostre politiche sono cambiate. Continuando a navigare su questo sito, accetti le ultime politiche esposte su Politica sui cookie e Politica sulla privacy.