Community Forums
Connect with us on LinkedIn
Community Notice
+ Reply to Thread
Results 1 to 2 of 2
  1. #1
    Member PuReWebDev's Avatar
    Join Date
    May 2004
    Location
    Orlando, FL.
    Posts
    47

    Default Developing for Whm/Cpanel

    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. #2
    Registered User
    Join Date
    Feb 2005
    Posts
    1

    Default

    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.

Similar Threads & Tags
Similar threads

  1. New Video: Developing cPanel Applications
    By cPanelDavidG in forum cPanel Announcements
    Replies: 0
    Last Post: 12-23-2010, 10:31 AM
  2. some questions related to fantastico alternative i am developing
    By arvindikchari in forum cPanel Developers
    Replies: 2
    Last Post: 07-08-2009, 01:34 PM
  3. I need help developing password protected directories!
    By irrumate in forum cPanel Developers
    Replies: 3
    Last Post: 01-26-2008, 05:37 PM
  4. Developing ON cPanel server with Zend Framework
    By jap in forum cPanel Developers
    Replies: 2
    Last Post: 05-17-2007, 06:51 PM
  5. curiosity : who is developing cpanel
    By Radio_Head in forum cPanel and WHM Discussions
    Replies: 2
    Last Post: 07-04-2002, 02:16 PM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube