Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

Passing variables from a form.

Discussion in 'General Discussion' started by DazT, Mar 19, 2004.

  1. DazT

    DazT Registered

    Joined:
    Mar 19, 2004
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    151
    Is it possible to pass login details from a form on a website to cPanel so that it logs into cPanel (if the user types the correct username/password of course) without going through the cPanel login form?

    I would be extremely grateful of any help you could give me on this..

    Thanks in advance,
    Daryl.
     
  2. elleryjh

    elleryjh Well-Known Member

    Joined:
    Apr 12, 2003
    Messages:
    479
    Likes Received:
    0
    Trophy Points:
    166
    <form action="http://yourdomain.com:2082/login/" method=POST>
    Username: <input type=text name=user size=16><BR>
    Password: <input type=password name=pass size=16><BR>
    <input type=submit value="Login"></form>



    If it doesn't work, make sure cpanel is updated.
     
  3. DazT

    DazT Registered

    Joined:
    Mar 19, 2004
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    151
    o great thanks very much! thats excellent thank you. ive been trying to figure out a way for ages so now thanks to your help i can get on with finishing my site.

    Cheers :)

    Daz
     
Loading...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice