Delete My Account Script

Collapse
This topic is closed.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Delete My Account Script

    how I can add at my wapdesire script option 4 my users if they wont delete your nickname from community ???

    pls help...
    if like my post click:

    http://coding-talk.com/images/totall...ost_thanks.gif

    #2
    Code:
    mysql_query("DELETE FROM ibwf_users WHERE id='".$uid."'");
    Try that in a php copy a part of the script it self and edit it


    Place exit();

    at end of body or card
    Visit: Chat4u.mobi - The New Lay Of being a site of your dreams!
    Visit: WapMasterz Coming Back Soon!
    _______
    SCRIPTS FOR SALE BY SUBZERO
    Chat4u Script : coding-talk.com/f28/chat4u-mobi-script-only-150-a-17677/ - > Best Script for your site no other can be hacked by sql or uploaders.
    FileShare Script : coding-talk.com/f28/file-wap-share-6596/ -> Uploader you will never regret buying yeah it mite be old now but it still seems to own others...
    _______
    Info & Tips
    php.net
    w3schools.com

    Comment


      #3
      Hey sub cn u explain tht exit();
      sigpiceeeeerrr....

      Comment


        #4
        like in

        echo "</card>";
        exit();

        or html

        echo "</body";
        exit();


        its to close the door way thou of deleting more then them selfs
        Visit: Chat4u.mobi - The New Lay Of being a site of your dreams!
        Visit: WapMasterz Coming Back Soon!
        _______
        SCRIPTS FOR SALE BY SUBZERO
        Chat4u Script : coding-talk.com/f28/chat4u-mobi-script-only-150-a-17677/ - > Best Script for your site no other can be hacked by sql or uploaders.
        FileShare Script : coding-talk.com/f28/file-wap-share-6596/ -> Uploader you will never regret buying yeah it mite be old now but it still seems to own others...
        _______
        Info & Tips
        php.net
        w3schools.com

        Comment


          #5
          example ..

          put in cpanel ..

          echo "<a href=\"index.php?action=delacc&amp;sid=$sid\">Canc elation Account</a>
          ";

          //

          Code:
          else if($action=="delacc")
          {
              addonline(getuid_sid($sid),"Account Cancel","");
              echo "<card id=\"main\" title=\"Account Cancel\">";
              
              echo "<p align=\"center\">";
              echo "[b]Cancelation Account[/b]";
              echo "</p>";
          echo "<p align=\"center\">";
          echo "[b]Are sure to cancel your account ?.[/b]";
          echo "
          ";
          echo "<a href=\"index.php?action=main&amp;sid=$sid\">Not Sure,Dont delete</a>";
          echo "
          ";
          echo "<a href=\"genproc.php?action=delacc&amp;sid=$sid\">Sure, Delete now</a>";
          echo "
          ";
          echo "</p>";
          echo "<p align=\"center\">";
          echo "<a href=\"index.php?action=main&amp;sid=$sid\"><img src=\"../images/home.gif\" alt=\"*\"/>";
          echo "Home</a>";
          echo "</p>";
          echo "</card>";
          }

          // here is the genproc.php

          Code:
          else if($action=="delacc")
          {
            addonline(getuid_sid($sid),"Deleting Account","");
            echo "<card id=\"main\" title=\"Deleting Account\">";
            echo "<p align=\"center\">";
          
            $res = mysql_query("DELETE FROM ibwf_buddies WHERE tid=&#39;".$uid."&#39; OR uid=&#39;".$uid."&#39;");
            $res = mysql_query("DELETE FROM ibwf_gbook WHERE gbowner=&#39;".$uid."&#39; OR gbsigner=&#39;".$uid."&#39;");
            $res = mysql_query("DELETE FROM ibwf_ignore WHERE name=&#39;".$uid."&#39; OR target=&#39;".$uid."&#39;");
            $res = mysql_query("DELETE FROM ibwf_mangr WHERE uid=&#39;".$uid."&#39;");
            $res = mysql_query("DELETE FROM ibwf_modr WHERE name=&#39;".$uid."&#39;");
            $res = mysql_query("DELETE FROM ibwf_penalties WHERE uid=&#39;".$uid."&#39; OR exid=&#39;".$uid."&#39;");
            $res = mysql_query("DELETE FROM ibwf_posts WHERE uid=&#39;".$uid."&#39;");
            $res = mysql_query("DELETE FROM ibwf_private WHERE byuid=&#39;".$uid."&#39; OR touid=&#39;".$uid."&#39;");
            $res = mysql_query("DELETE FROM ibwf_popups WHERE byuid=&#39;".$uid."&#39; OR touid=&#39;".$uid."&#39;");
            $res = mysql_query("DELETE FROM ibwf_shouts WHERE shouter=&#39;".$uid."&#39;");
            $res = mysql_query("DELETE FROM ibwf_topics WHERE authorid=&#39;".$uid."&#39;");
            $res = mysql_query("DELETE FROM ibwf_brate WHERE uid=&#39;".$uid."&#39;");
            $res = mysql_query("DELETE FROM ibwf_games WHERE uid=&#39;".$uid."&#39;");
            $res = mysql_query("DELETE FROM ibwf_presults WHERE uid=&#39;".$uid."&#39;");
            $res = mysql_query("DELETE FROM ibwf_vault WHERE uid=&#39;".$uid."&#39;");
            $res = mysql_query("DELETE FROM ibwf_blogs WHERE bowner=&#39;".$uid."&#39;");
            $res = mysql_query("DELETE FROM ibwf_chat WHERE chatter=&#39;".$uid."&#39;");
            $res = mysql_query("DELETE FROM ibwf_chat WHERE who=&#39;".$uid."&#39;");
            $res = mysql_query("DELETE FROM ibwf_chonline WHERE uid=&#39;".$uid."&#39;");
            $res = mysql_query("DELETE FROM ibwf_online WHERE userid=&#39;".$uid."&#39;");
            $res = mysql_query("DELETE FROM ibwf_ses WHERE uid=&#39;".$uid."&#39;");
            $res = mysql_query("DELETE FROM ibwf_xinfo WHERE uid=&#39;".$uid."&#39;");
            deleteMClubs($uid);
            $res = mysql_query("DELETE FROM ibwf_users WHERE id=&#39;".$uid."&#39;");
            if($res)
            {
            echo "<img src=\"../images/ok.gif\" alt=\"O\"/>Your id was successfully delete";
            }else{
            echo "<img src=\"../images/notok.gif\" alt=\"X\"/>Error deleting ID";
            }
          
            echo "
          <a href=\"index.php\"><img src=\"../images/home.gif\" alt=\"\"/>Home</a>";
            echo "</p></card>";
          exit();
          }
          try use this code. if not working, sorry ~ ..

          im not try to my site ..

          Comment


            #6
            you do not need
            Code:
            exit();
            if u put the page like
            Code:
            else if($action=="deletemyaccount") {}

            Comment


              #7
              and 4 xhtml version any1 have the code??
              if like my post click:

              http://coding-talk.com/images/totall...ost_thanks.gif

              Comment


                #8
                the code is no different for xhtml version. its just mysql queries, text n anchors :|... do u know php........:|????

                Comment


                  #9
                  thanks wizard for help me convert ..

                  ehehehe ..

                  Comment


                    #10
                    huh??? wut do u mean?

                    Comment


                      #11
                      Code:
                      else if($action=="delacc")
                      {
                        addonline(getuid_sid($sid),"cancellazione","");
                        echo "<card id=\"main\" title=\"cancellazione\">";
                        echo "<p align=\"center\">";
                      
                        $res = mysql_query("DELETE FROM ibwf_buddies WHERE tid=&#39;".$uid."&#39; OR uid=&#39;".$uid."&#39;");
                        $res = mysql_query("DELETE FROM ibwf_gbook WHERE gbowner=&#39;".$uid."&#39; OR gbsigner=&#39;".$uid."&#39;");
                        $res = mysql_query("DELETE FROM ibwf_ignore WHERE name=&#39;".$uid."&#39; OR target=&#39;".$uid."&#39;");
                        $res = mysql_query("DELETE FROM ibwf_mangr WHERE uid=&#39;".$uid."&#39;");
                        $res = mysql_query("DELETE FROM ibwf_modr WHERE name=&#39;".$uid."&#39;");
                        $res = mysql_query("DELETE FROM ibwf_penalties WHERE uid=&#39;".$uid."&#39; OR exid=&#39;".$uid."&#39;");
                        $res = mysql_query("DELETE FROM ibwf_posts WHERE uid=&#39;".$uid."&#39;");
                        $res = mysql_query("DELETE FROM ibwf_private WHERE byuid=&#39;".$uid."&#39; OR touid=&#39;".$uid."&#39;");
                        $res = mysql_query("DELETE FROM ibwf_popups WHERE byuid=&#39;".$uid."&#39; OR touid=&#39;".$uid."&#39;");
                        $res = mysql_query("DELETE FROM ibwf_shouts WHERE shouter=&#39;".$uid."&#39;");
                        $res = mysql_query("DELETE FROM ibwf_topics WHERE authorid=&#39;".$uid."&#39;");
                        $res = mysql_query("DELETE FROM ibwf_brate WHERE uid=&#39;".$uid."&#39;");
                        $res = mysql_query("DELETE FROM ibwf_games WHERE uid=&#39;".$uid."&#39;");
                        $res = mysql_query("DELETE FROM ibwf_presults WHERE uid=&#39;".$uid."&#39;");
                        $res = mysql_query("DELETE FROM ibwf_vault WHERE uid=&#39;".$uid."&#39;");
                        $res = mysql_query("DELETE FROM ibwf_blogs WHERE bowner=&#39;".$uid."&#39;");
                        $res = mysql_query("DELETE FROM ibwf_chat WHERE chatter=&#39;".$uid."&#39;");
                        $res = mysql_query("DELETE FROM ibwf_chat WHERE who=&#39;".$uid."&#39;");
                        $res = mysql_query("DELETE FROM ibwf_chonline WHERE uid=&#39;".$uid."&#39;");
                        $res = mysql_query("DELETE FROM ibwf_online WHERE userid=&#39;".$uid."&#39;");
                        $res = mysql_query("DELETE FROM ibwf_ses WHERE uid=&#39;".$uid."&#39;");
                        $res = mysql_query("DELETE FROM ibwf_xinfo WHERE uid=&#39;".$uid."&#39;");
                        deleteMClubs($uid);
                        $res = mysql_query("DELETE FROM ibwf_users WHERE id=&#39;".$uid."&#39;");
                        if($res)
                        {
                        echo "<img src=\"../images/ok.gif\" alt=\"O\"/>Ti sei cancellato con successo :( ";
                        }else{
                        echo "<img src=\"../images/notok.gif\" alt=\"X\"/>Errore di cancellazione";
                        }
                      
                        echo "
                      <a href=\"index.php\"><img src=\"../images/home.gif\" alt=\"\"/>Home</a>";
                        echo "</p></card>";
                      }
                      where is my error???
                      if like my post click:

                      http://coding-talk.com/images/totall...ost_thanks.gif

                      Comment


                        #12
                        Yes subzero i knw whr 2 place it exit(); but i really dnt understand function of exit(); ....
                        sigpiceeeeerrr....

                        Comment


                          #13
                          av got this workin on my site a few months ago but not same script

                          where is my error??[/b]
                          FOR ONCE TRY READING THE BLUDY THING!
                          Want something coded email me at sales@webnwaphost.com for a prices.




                          Comment


                            #14
                            exit() output&#39;s and terminates the script

                            Comment


                              #15
                              Im apsolutely nt interested in this delete account script cuz its easy 2 make 1,but im realy interested in this exit(); function... I saw it at many scripts, especialy email form script nd i would like 2 knw purpouse of it nd especialy how it works
                              sigpiceeeeerrr....

                              Comment

                              Working...
                              X