Jump to content

Recommended Posts

Posted

Beggars can't be choosers. You could always take it and rewrite it for your purposes to make it look and function better. Or take the registration system out of the Mangos one and change 3 or 4 lines to make it work for Skyfire. It's actually really easy.

Posted

Well youre right ! im an begger. but no im not good on php/html coding. the only thing im good on is requesting files installing em and offer to help by saying suqqestions.. so no i cant byt thanks for the tip anyways.. btw WebWoW dont function with the admin account login.. it says wrong pass

  • 2 weeks later...
Posted

If I post this wrong section - delete it. just helping the beggers :-) (where's your sign!!)

something simple quick and dirty!! did it in `10min - hey what do you want for free!!!

HTML

<html>
    <head>
    </head>
    <body>
        <center>
            <form method="post">
            <p>Account Password Generator <br/>
            for use with Mangos Private Server Engine</p>
            <?php echo $error_msg."<p/>";?>
            <table>
                <tr>
                    <td align="right">Account Name:</td><td><input type="text" name="username"></td></tr><tr>
                    <td align="right">Password:</td><td><input type="password" name="password"></td></tr><tr>
                    <td colspan="2" align="right"><input type="submit" name="submit" value="Register"></td>
                </tr>
            </table>
            </form>
    </body>
</html>


PHP section

<?php
    $error_msg = "";                            //CREATE A DUMMY ERROR MSG
    if(isset($_REQUEST['submit'])){             //CHECK IF SUBMIT BUTTON WAS PRESSED
        $un = $_REQUEST['username'];            //GET USERNAME
        $pw = $_REQUEST['password'];            //GET PW
        if($un == "" || $pw == ""){             //MAKE SURE THEY ARE NOT NULL
            $error_msg = " Please make "
            ."Sure all feilds are complete";    //CREATE AN ERROR MESSAGES
        }else{                                  //OTHERWISE THINGS ARE GOOD
           $newName = sha1(strtoupper($un).
                ":".strtoupper($pw));            //CREATE THE PW.  <-- fix this line if encypt has changed
            echo "<center>ACCOUNT INFO:<P/>";   //SHOW IT.
            echo "ID: ".strtoupper($un).
                "  PW: ".strtoupper($newName);
            die();
        }
    }

If nothing has changed in the encryption this should work for a simple plugin for any website.

If not, fix the part highlighted in red.

I think there are other post like this just search around.

mods: I know this should go in a different area, just replying

  • 2 months later...
  • 1 month later...
Posted

i alredy have site but it is for wow 3.3.5a so can i use same php for reg on cata server or need to write new one i think it should work fine

  • 1 month later...
Posted

If I post this wrong section - delete it. just helping the beggers :-) (where's your sign!!)

something simple quick and dirty!! did it in `10min - hey what do you want for free!!!

HTML

<html>
    <head>
    </head>
    <body>
        <center>
            <form method="post">
            <p>Account Password Generator <br/>
            for use with Mangos Private Server Engine</p>
            <?php echo $error_msg."<p/>";?>
            <table>
                <tr>
                    <td align="right">Account Name:</td><td><input type="text" name="username"></td></tr><tr>
                    <td align="right">Password:</td><td><input type="password" name="password"></td></tr><tr>
                    <td colspan="2" align="right"><input type="submit" name="submit" value="Register"></td>
                </tr>
            </table>
            </form>
    </body>
</html>
 
 

PHP section

<?php
    $error_msg = "";                            //CREATE A DUMMY ERROR MSG
    if(isset($_REQUEST['submit'])){         	//CHECK IF SUBMIT BUTTON WAS PRESSED
        $un = $_REQUEST['username'];            //GET USERNAME
        $pw = $_REQUEST['password'];            //GET PW
        if($un == "" || $pw == ""){         	//MAKE SURE THEY ARE NOT NULL
            $error_msg = " Please make "
            ."Sure all feilds are complete";    //CREATE AN ERROR MESSAGES
        }else{                                  //OTHERWISE THINGS ARE GOOD
       	$newName = sha1(strtoupper($un).
                ":".strtoupper($pw));            //CREATE THE PW.  <-- fix this line if encypt has changed
            echo "<center>ACCOUNT INFO:<P/>";   //SHOW IT.
            echo "ID: ".strtoupper($un).
                "  PW: ".strtoupper($newName);
            die();
        }
    }
 

If nothing has changed in the encryption this should work for a simple plugin for any website.

If not, fix the part highlighted in red.

I think there are other post like this just search around.

mods: I know this should go in a different area, just replying

thx. quick and painless.

  • 5 months later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.