Register page PHP

Results 1 to 4 of 4
  1. #1
    Account Upgraded | Title Enabled! yokohiro is offline
    MemberRank
    Jan 2007 Join Date
    NarniaLocation
    727Posts

    Register page PHP

    simple page for register

    Infos:

    - Login and Password fields
    - Existing login verification in the database.

    https://mega.nz/#!wlcBySoK!5983vCGh1...5_6wzMMGQc6QCE

    v2-register.rar


  2. #2
    Member kisswdev is offline
    MemberRank
    May 2017 Join Date
    RomaniaLocation
    64Posts

    Re: Register page PHP

    thnaks man

  3. #3
    Enthusiast ivanwinhk is offline
    MemberRank
    Jun 2019 Join Date
    43Posts

    Re: Register page PHP

    Thx alot!
    I just add a value to auto match about idnum in tb_user
    heres the fix part

    if ($error!=1){
    $id_last = pg_query ("select id from accounts order by id desc");
    $id_result = pg_fetch_array ($id_last);
    $id_last = $id_result["id"] +1 ;
    $id_get = $id_result["id"] +1 ;
    //echo "$id_last";
    $sql = pg_query("insert into accounts (id,username,password) values ('$id_last','$login','$login')");
    $connn = pg_connect("host=youriphere dbname=ffmember user=postgres password=yourdbpassword port=5432");
    $id_result = pg_fetch_array ($id_last);
    $sql2 = pg_query ("insert into tb_user (mid,password,pwd,idnum) values ('$login','$login','$passcript',$id_get)");

  4. #4
    Apprentice mekomeko is offline
    MemberRank
    Oct 2021 Join Date
    20Posts

    Re: Register page PHP

    I'm sorry to ask you this, but would it help me to pin it to my database? I do not understand very well but, it is what I was looking for to invite my friends to play on my server. thanks for your wonderful work



Advertisement