GHOST. help me please give me code wml. change password username

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    GHOST. help me please give me code wml. change password username

    please help me guys . give me code to change password in wml code

    #2
    this code will change password. ive just created it. and tested it.

    IM NOW THINKING OF ADDING THIS TO MY NEW PROJECT LOL

    PHP Code:
    <?php
    $Name 
    'Ghost'/** added for example only */
    $New_Pass 'SOME TEXT HERE'/** added for example only */

    $New_Pass crypt($New_Pass,'password');
    $Password_File file('pass.txt');/** password file loc */
    $Username_File file('user.txt');/** username file loc */
    for($k 0$k<count($Username_File); $k++)/** count username file */
    {
    if(
    rtrim($Username_File[$k]) == $Name)/** match username with name in file */
    {/** using [$k] we get location of password from seperate file and delete it. */
    file_put_contents('pass.txt'str_replace($Password_File[$k], $New_Pass."\r\n"file_get_contents('pass.txt')));
    }
    }
    ?>
    you would then of course have to create a form for user to input new password.
    and change the file locations in this code to match file locs in the script.
    and then call this code to execute the command.
    removing the example $Name and $New_Pass lines at top of course. they are only in this code for example

    you could also use this code with a slight modification to change the members username also.
    but not sure if thats a great idea. letting users have free range on changing there names.
    <?php
    include ('Ghost');
    if ($Post == true) {
    echo '

    sigpic
    alt='coding-talk.com!!' />';
    echo 'Sharing Is Caring!';
    } else {
    echo '

    alt='the username GHOST has been comprimised!' />';
    echo 'OMG SOMEBODY HELP ME!!';
    }
    ?>

    Comment


      #3
      thanks ghost, but can u post the code without example, so i can understand

      Added after 2 minutes:

      and this code can working in ur script mobilechat wml?
      Last edited by weet2012; 04.10.12, 21:52.

      Comment


        #4
        dude im not trying to be mean. but you need to do some things for yourself.
        yes this code will work in any markup language wml, html, xhtml etc,

        this is the raw code for what you want to do. its not an example, all you need to do is change the file locations.
        delete the 1st 2 lines. and create the wml form for it and point that form to the file with this code in.

        the reason i gave you the raw code is for you to learn. and also i dont know what script or version your using of my work.
        so its hard for me to get it exactly right for that precise version.

        1 last thing. asking for fully completed code all time will never help you learn.
        you learn by doing.
        <?php
        include ('Ghost');
        if ($Post == true) {
        echo '

        sigpic
        alt='coding-talk.com!!' />';
        echo 'Sharing Is Caring!';
        } else {
        echo '

        alt='the username GHOST has been comprimised!' />';
        echo 'OMG SOMEBODY HELP ME!!';
        }
        ?>

        Comment


          #5
          ok dude . thanks for ur help i will try this code.

          Comment


            #6
            if after some time of trying and your not able to still work it out.
            i will try to help. but in future i need to know more about the script.
            not just mobilechat wml but i need to know version number also.
            each version is modded differently that is why they have numbers.
            goodluck
            <?php
            include ('Ghost');
            if ($Post == true) {
            echo '

            sigpic
            alt='coding-talk.com!!' />';
            echo 'Sharing Is Caring!';
            } else {
            echo '

            alt='the username GHOST has been comprimised!' />';
            echo 'OMG SOMEBODY HELP ME!!';
            }
            ?>

            Comment


              #7
              and i'll wait ur new project of mobilechat wml. i think v4. lol.

              Added after 3 minutes:

              iam now using mobilechat wml v3
              Last edited by weet2012; 04.10.12, 22:16.

              Comment


                #8
                then you will need to change the variable $Name to $nimi in
                PHP Code:
                if(rtrim($Username_File[$k]) == $Name)
                //
                //
                // 
                <?php
                include ('Ghost');
                if ($Post == true) {
                echo '

                sigpic
                alt='coding-talk.com!!' />';
                echo 'Sharing Is Caring!';
                } else {
                echo '

                alt='the username GHOST has been comprimised!' />';
                echo 'OMG SOMEBODY HELP ME!!';
                }
                ?>

                Comment


                  #9
                  Decided to do it.

                  ok here is the fully working change/modify password script for mobilechat wml v3

                  README-FIRST.txt file included. PLEASE READ IT.

                  i have tested this on mobilechat wml v3 and its working 100%
                  Attached Files
                  <?php
                  include ('Ghost');
                  if ($Post == true) {
                  echo '

                  sigpic
                  alt='coding-talk.com!!' />';
                  echo 'Sharing Is Caring!';
                  } else {
                  echo '

                  alt='the username GHOST has been comprimised!' />';
                  echo 'OMG SOMEBODY HELP ME!!';
                  }
                  ?>

                  Comment


                    #10
                    thanks a lot dude. its working 100%

                    thanks a lot dude. its working 100%

                    Comment


                      #11
                      your welcome.
                      <?php
                      include ('Ghost');
                      if ($Post == true) {
                      echo '

                      sigpic
                      alt='coding-talk.com!!' />';
                      echo 'Sharing Is Caring!';
                      } else {
                      echo '

                      alt='the username GHOST has been comprimised!' />';
                      echo 'OMG SOMEBODY HELP ME!!';
                      }
                      ?>

                      Comment

                      Working...
                      X