DragonPrime - LoGD Resource Community
Welcome Guest
  • Good morning, Guest.
    Please log in, or register.
  • March 22, 2019, 07:00:30 AM
Home Forums News Downloads Login Register Advanced Search
* * *
DragonPrime Menu
Login
 
 
Resource Pages
Search

Pages: [1]   Go Down
  Print  
Author Topic: List of $session commands?  (Read 2528 times)
0 Members and 1 Guest are viewing this topic.
Derek
Member
Captain of the Guard
***
Offline Offline

Posts: 122


"I think I just thunk"


View Profile WWW
« on: November 21, 2005, 03:32:50 PM »

Anyone know where I can find a list of all the $session parts? (You know, the parts like: $session['user']['gems'] and $session['user']['weapon'], but I would like a list) Anyone know where I can find one? Maybe in one of the core files?
Logged

Check out My Modules

Check us out! 1 hour days, heavily modded, friendly admins!
robert
Old Dog
Mod God
*****
Offline Offline

Posts: 1047


LoGD Buff!


View Profile WWW
« Reply #1 on: November 21, 2005, 03:40:54 PM »

Anyone know where I can find a list of all the $session parts? (You know, the parts like: $session['user']['gems'] and $session['user']['weapon'], but I would like a list) Anyone know where I can find one? Maybe in one of the core files?

The most common ones used are for fields found in the accounts table.
Logged

Sichae
iMod God
SVN Users
Mod God
*
Offline Offline

Posts: 3458


If ya didn't get it by now... you're hopeless...


View Profile WWW
« Reply #2 on: November 21, 2005, 07:50:20 PM »

Run the SQL:
Code:
DESCRIBE accounts
That will give you a list of most, if not all, $session['user'] variables.

If you want to know all of the $session variables, try using this line of PHP:
Code:
debug($session)
« Last Edit: November 21, 2005, 07:51:43 PM by Sichae » Logged

If you didn't understand anything in the above post, don't try to attempt anything suggested.

Pages: [1]   Go Up
  Print  
 
Jump to:  


*
DragonPrime Notices
Play LoGD on Dragonprime

Support Us
No funds raised yet this year
Your help is greatly appreciated!
Recent Topics
DragonPrime LoGD
Who's Online
34 Guests, 0 Users
Home Forums News Downloads Login Register Advanced Search