The Arcive of vBulletin Modifications Site. |
|
|
#1
|
|||
|
|||
|
I am looking at my table (session), and checking out the data, for the session hash column I see strange numbers like these "79857fe54ba6af79e61cb23ff6af5ce6". Can anyone help me into figuring out what the exactly means? Is there a function I can run or something?
|
|
#2
|
||||
|
||||
|
that's just the session ids which are used instead of cookies for users browsing your forums
|
|
#3
|
|||
|
|||
|
How about lastactivity?
|
|
#4
|
||||
|
||||
|
It's a Unix Timestamp (seconds from Epoch).
|
|
#5
|
||||
|
||||
|
|
|
#6
|
|||
|
|||
|
Thanks. I see that this variable: $_SERVER['REQUEST_TIME'] will get me a Unix Time stamp. How can I translate that time stamp into something readable?
|
|
#7
|
||||
|
||||
|
|
|
#8
|
|||
|
|||
|
I tried that, but I don't know how to use the date() function to translate $_SERVER['REQUEST_TIME'] which produces a value of "1182368246" sometimes.
|
|
#9
|
||||
|
||||
|
Look at the link I posted:
string date ( string $format [, int $timestamp] ) Which would be similar to: PHP Code:
|
|
#10
|
||||
|
||||
|
Quote:
|
![]() |
|
|