Skip to:
Content
Pages
Categories
Search
Top
Bottom

Check ID card registration


  • pmanuel
    Participant

    @pmanuel

    if(isset($_GET['check'])) {
    $perso_id = $_POST['ida']." ".$_POST['idb']." ".$_POST['idc']." ".$_POST['idd'];
    //Oder:
    //$perso_id = "1234567891D 2345678 9012345 6"
    if(perso_checksum($perso_id)) {
    echo "Personalausweisnummer korrekt!";
    if(!perso_gueltig($perso_id)) {
    echo "<br> <b>Perso ist abgelaufen!</b>";
    }
    echo "<br><br> Daten der Ausweisnummer: <pre>";
    $data = perso_info($perso_id);
    print_r($data);
    echo "</pre>";
    //Zugriff z.B. so:
    //Alter: $data->alter;
    //Geburtsmonat: $data->geb->monat;
    //Ablauftag: $data->ablauf->tag;
    } else {
    echo "Personalausweisnummer falsch!<br><br>";
    }
    }

    how can i integrate this into the buddypress registration

  • You must be logged in to reply to this topic.
Skip to toolbar