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.

Developing for Whm/Cpanel

Discussion in 'cPanel Developers' started by PuReWebDev, Jul 17, 2005.

  1. PuReWebDev

    PuReWebDev Well-Known Member

    Joined:
    May 18, 2004
    Messages:
    47
    Likes Received:
    0
    Trophy Points:
    6
    Location:
    Orlando, FL.
    Hello all. I'm interested in creating custom apps for my hosting clients, I didn't come acrossed a whole lot in the way of documentation for whm/cpanel's variables. Specifically, session info. I'm wanting to use the existing cpanel authentication session to include into the scripts I'm going to create. I've thought about simply checking for the referring page to see if it was a cpanel page, the logic being that if it was a cpanel page then the user must have already logged in and could get access to the script I'm creating, however, this is a work around, and since I'm starting development, I'd really like to do it right from the start.

    Thanks for any useful replies, links, documentation, examples.


    PuReWebDev
     
  2. fitzy

    fitzy Registered

    Joined:
    Jan 31, 2005
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    1
    I am also writting a script, you can get which user they are buy using this varible:
    $_SERVER['REMOTE_USER']

    That is a PHP one, if that exists, then they are logged in.
     
Loading...

Share This Page