The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

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:
    1
    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:
    16
    <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:
    1
    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...
Similar Threads - Passing variables form
  1. Atrix
    Replies:
    1
    Views:
    275

Share This Page