Web help...

Results 1 to 3 of 3
  1. #1
    Tantra/Web Development jbeitz107 is offline
    MemberRank
    Mar 2012 Join Date
    USALocation
    1,471Posts

    Web help...

    $fp = fopen("C:/kathana6/Share/Serv02/New/$UserID.txt","w");
    fwrite($fp,$UserID."\r\n");
    fwrite($fp,$Password."\r\n");
    fwrite($fp,"000000\r\n");
    fwrite($fp,$UserKey."\r\n");
    $password2=strtoupper(md5(trim($Password)));
    $initial=substr($UserID,0,1);
    $userlenght=strlen(trim($UserID));
    $accdir="C:\kathana6\DBSRV\Account";
    $f=fopen("./inc/sample.tad", "r");
    $acc = fread($f,7124);
    $demoid=substr($acc,0,$userlenght);
    $demopass=substr($acc,52,32);
    $acc = str_replace($demoid,$UserID,$acc);
    $acc = str_replace($demopass,$password2,$acc);
    // echo $accdir."\\".$initial."\\".$UserID;
    $f2=fopen($accdir."\\".$initial."\\".$UserID.".tad", "a");
    fwrite($f2,$acc);
    fclose($fp);
    fclose($f);

    this is my code and it is creating the .tad file in the right folder but, when i try to login with the second registered user it says "ID Does Not Exist" and the first registered user says "Please Connect Again" can someone help me with this?

    there show no errors on the website and I can log into the names that i registered with. thanks
    Last edited by jbeitz107; 30-10-12 at 07:21 PM.


  2. #2
    Member gundulapek is offline
    MemberRank
    Nov 2011 Join Date
    96Posts

    Re: Web help...

    edit your htl

  3. #3
    Tantra/Web Development jbeitz107 is offline
    MemberRank
    Mar 2012 Join Date
    USALocation
    1,471Posts

    Re: Web help...

    would you explain please.



Advertisement