PDA

View Full Version : admin page



MACscr
03-30-07, 06:21 PM
Im making a custom admin page and I need to be able to parse data from viewinvoice.php. The problem is that im not really sure how to tell whmcs that im logged in as an admin. I have tried session_start(), but that doesnt seem to make a difference. Any help would be appreciated.

Roger
03-30-07, 10:40 PM
Hey MACscr...

Just a shot in the dark here... some systems check for the user # to ID an admin. I have no idea how WHMCS does it.

Dominic
03-31-07, 02:56 AM
Use the auto_append directive in a .htaccess file to print_r($_SESSION) in the admin area - might work :)