gratrichaut

Membres
  • Compteur de contenus

    1
  • Inscription

  • Dernière visite

Messages posté(e)s par gratrichaut

  1. Le 23/02/2014 à 12:04, BenHur a dit :

        $openid = new LightOpenID('www.votresite.com');
                if(!$openid->mode) {
                    if(isset($_GET['login'])) {
                        $openid->identity = 'https://steamcommunity.com/openid';
                        $openid->returnUrl = "http://www.urldevotrepagede retour";
                        header('Location: ' . $openid->authUrl());

                        exit();
                    }
                } elseif($openid->mode == 'cancel') {
                    echo 'User has canceled authentication!';
                } else {

                 if($openid->validate())
                 {

                   // Votre traitement

                 }