login box for website

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

    login box for website

    hi there friends i am trying to put a login box so my clients can login to there cpanel accounts from my web site but every time i put in a username and password it takes me to another login page please help

    <form method="post" action="http://server ip address">
    Username: <input type="text" name="username"><br>
    Password: <input type="password" name="password"><br>
    <input type="submit" value="Login">
    </form>
    HELP THEM WHO HELPS YOU



    i only work on wapdesire v_2 coding only

    #2
    Try this bro

    PHP Code:
                echo "<form action=\"login.php\" method=\"get\">";
                echo 
    "<b>User ID:</b><input name=\"loguid\" format=\"*x\" maxlength=\"30\"/><br/>";
                echo 
    "</b>Password:</b> <input type=\"password\" name=\"logpwd\"  maxlength=\"30\"/><br/>";
                echo 
    "<input type=\"submit\" value=\"Login To Site!\"/>";
                echo 
    "</form>"

    WapCHAT Forum Currenltly changing over to xhtml

    My Dowloads Site

    Comment


      #3
      Originally posted by Dj-marc View Post
      Try this bro

      PHP Code:
                  echo "<form action=\"login.php\" method=\"get\">";
                  echo 
      "<b>User ID:</b><input name=\"loguid\" format=\"*x\" maxlength=\"30\"/><br/>";
                  echo 
      "</b>Password:</b> <input type=\"password\" name=\"logpwd\"  maxlength=\"30\"/><br/>";
                  echo 
      "<input type=\"submit\" value=\"Login To Site!\"/>";
                  echo 
      "</form>"

      i dont use echo or main i am using html only
      HELP THEM WHO HELPS YOU



      i only work on wapdesire v_2 coding only

      Comment


        #4
        try this
        PHP Code:
                    <form action="login.php" method="get\">
                    <b>User ID:</b><input name="
        loguid" format="*x" maxlength="30"/><br/> 
                    </b>Password:</b> <input type="
        password" name="logpwd"  maxlength="30"/> 
                    <input type="
        submit" value="Login To Site!"/>
                    </form> 

        WapCHAT Forum Currenltly changing over to xhtml

        My Dowloads Site

        Comment


          #5
          whats the login.php for
          HELP THEM WHO HELPS YOU



          i only work on wapdesire v_2 coding only

          Comment


            #6
            thats the address of where your next page is

            Comment


              #7
              Originally posted by something else View Post
              thats the address of where your next page is

              i want it to go to my server ip address so ppl can login to there cpanel so for eg 123.123.123.123:2082
              HELP THEM WHO HELPS YOU



              i only work on wapdesire v_2 coding only

              Comment


                #8
                This is what you need.

                Code:
                <form action="/login/" method="post" target="_top">
                    <input type="hidden" name="login_theme" value="cpanel" />
                    <table width="200" class="login" cellpadding="0" cellspacing="0">
                        <tr>
                            <td align="left"><b>Login</b></td>
                            <td>&nbsp;</td>
                        </tr>
                        <tr>
                            <td>Username</td>
                            <td><input id="user" type="text" name="user" size="16" tabindex="1" /></td>
                        </tr>
                        <tr class="row2">
                            <td>Password</td>
                            <td><input id="pass" type="password" name="pass" size="16" tabindex="2" /></td>
                        </tr>
                        <tr>
                            <td colspan="2" style="text-align: center"><input type="submit" value="Login" class="input-button" tabindex="3" /></td>
                        </tr>
                    </table>
                    <input type="hidden" name="goto_uri" value="/" />
                </form>
                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


                  #9
                  Originally posted by subzero View Post
                  This is what you need.

                  Code:
                  <form action="/login/" method="post" target="_top">
                      <input type="hidden" name="login_theme" value="cpanel" />
                      <table width="200" class="login" cellpadding="0" cellspacing="0">
                          <tr>
                              <td align="left"><b>Login</b></td>
                              <td>&nbsp;</td>
                          </tr>
                          <tr>
                              <td>Username</td>
                              <td><input id="user" type="text" name="user" size="16" tabindex="1" /></td>
                          </tr>
                          <tr class="row2">
                              <td>Password</td>
                              <td><input id="pass" type="password" name="pass" size="16" tabindex="2" /></td>
                          </tr>
                          <tr>
                              <td colspan="2" style="text-align: center"><input type="submit" value="Login" class="input-button" tabindex="3" /></td>
                          </tr>
                      </table>
                      <input type="hidden" name="goto_uri" value="/" />
                  </form>
                  will that pick up the cpanel with out my server ip address in it sub
                  HELP THEM WHO HELPS YOU



                  i only work on wapdesire v_2 coding only

                  Comment


                    #10
                    try it bro u mite be amaze at things that it can do
                    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


                      #11
                      i just tryed and it dont work thanks for helping tho every one
                      HELP THEM WHO HELPS YOU



                      i only work on wapdesire v_2 coding only

                      Comment


                        #12
                        Look how i set mine up


                        Change oz-au.net to your domain.

                        Code:
                        <form action="http://oz-au.net:2082/login/" method="post" target="_top">
                            <input type="hidden" name="login_theme" value="cpanel" />
                            <table width="200" class="login" cellpadding="0" cellspacing="0">
                                <tr>
                                    <td align="left"><b>Login</b></td>
                                    <td>&nbsp;</td>
                                </tr>
                                <tr>
                                    <td>Username</td>
                                    <td><input id="user" type="text" name="user" size="16" tabindex="1" /></td>
                                </tr>
                                <tr class="row2">
                                    <td>Password</td>
                                    <td><input id="pass" type="password" name="pass" size="16" tabindex="2" /></td>
                                </tr>
                                <tr>
                                    <td colspan="2" style="text-align: center"><input type="submit" value="Login" class="input-button" tabindex="3" /></td>
                                </tr>
                            </table>
                            <input type="hidden" name="goto_uri" value="/" />
                        </form>
                        Enjoy...
                        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


                          #13
                          thanks sub that working now mate thanks very much for all ya help and time
                          HELP THEM WHO HELPS YOU



                          i only work on wapdesire v_2 coding only

                          Comment

                          Working...
                          X