(sorry I speak spanish but I dont want to use google translator at all : LOL)
Let me explain:
I'm thinking about OsTicket integration and offer an automatic login from cPanel accounts to OsTicket, even if the customer has no tickets available...
I managed to create a new icons category on cPanel (I edited the theme) and pass cPanel variables like username, domain, creation-date(timestamp) and contact-email throughout a hidden form... I put those variables in hidden input tags and a button pointing to www.mydomain.com/support/login.php(www.mydomain.com/support/login.php)
I created a ost_cpanel table with:
id, username, email, domain, creationdate
and manually filled it up with accounts data
Just wanted to validate those variables (I already acomplished) BUT I have no clue about creating session : I have duplicated login.php to logincpanel.php but doesnt work because it says something about headers, session already something-I-cant-remember and such...
So I edited the original login.php but I prefer ask all of you developers how to do it :) I'm doing it this way because I dont want Whmcs...
any help would be appreciated...