login box for website

Started on the old forum in July 2010 · view the original in the archive · old links redirect here

12 replies · 1,087 views · started 16 years ago · 1 min read

4 participants
brand Senior · 391 posts #1

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">

Password: <input type="password" name="password">

<input type="submit" value="Login"> </form>

HELP THEM WHO HELPS YOU

External image (may be gone)

i only work on wapdesire v_2 coding only

Dj-marc Developer · 164 posts #2

Try this bro

            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>";
brand Senior · 391 posts #3

Dj-marc wrote: Try this bro

            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

External image (may be gone)

i only work on wapdesire v_2 coding only

brand Senior · 391 posts #7

something else wrote: 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

External image (may be gone)

i only work on wapdesire v_2 coding only

subzero Super moderator Fellow · 3,954 posts #8

This is what you need.

<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> </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... _______…

brand Senior · 391 posts #9

subzero wrote: This is what you need.

<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> </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

External image (may be gone)

i only work on wapdesire v_2 coding only

subzero Super moderator Fellow · 3,954 posts #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... _______…

brand Senior · 391 posts #11

i just tryed and it dont work thanks for helping tho every one

HELP THEM WHO HELPS YOU

External image (may be gone)

i only work on wapdesire v_2 coding only

subzero Super moderator Fellow · 3,954 posts #12

Look how i set mine up

Change oz-au.net to your domain.

<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> </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... _______…

brand Senior · 391 posts #13

thanks sub that working now mate thanks very much for all ya help and time

HELP THEM WHO HELPS YOU

External image (may be gone)

i only work on wapdesire v_2 coding only

Sign in to reply.

Similar topics

Keyboard shortcuts

g f
Go to forums
g h
Go to your feed
g m
Go to messages
r
Reply (in a topic)
/
Search
j
Next post
k
Previous post
?
This list
Ctrl/⌘ + Enter
Send what you are writing
Ctrl/⌘ + B / I
Bold / italic while writing
Esc
Close