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!

Developing for Whm/Cpanel

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

  1. PuReWebDev

    PuReWebDev Well-Known Member

    May 18, 2004
    Likes Received:
    Trophy Points:
    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.

  2. fitzy

    fitzy Registered

    Jan 31, 2005
    Likes Received:
    Trophy Points:
    I am also writting a script, you can get which user they are buy using this varible:

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

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