Jump to content
MakeWebGames

[mccode] Session Logging Time


oxidati0n
 Share

Recommended Posts

For all those gamers out there,

This is a little feature you may or may not want but its a feature.

It'll work for any (dbs codes v1 or v2)

Find in "authenticate.php"

You're unable to view this code.

Viewing code within this forum requires registration, you can register here for free.

 

Add After

You're unable to view this code.

Viewing code within this forum requires registration, you can register here for free.

 

Then find in "index.php" where it says

You're unable to view this code.

Viewing code within this forum requires registration, you can register here for free.

 

After add

You're unable to view this code.

Viewing code within this forum requires registration, you can register here for free.

 

-If you want to modify the print date then it can be found at

http://us.php.net/date

Thanks,

oxidati0n.

Link to comment
Share on other sites

Re: Session Logging Time

 

This is good, but not something id use :\

Rather work with sesid's

sesid's is totally different to session logging time, session logging time is just a stat telling you when you logged in (sessids is to connect your session and all that (no point explaining))

This is just a feature that is used a lot so i thought i'd share since its not included with any of dabomstew's codes.

Link to comment
Share on other sites

Re: Session Logging Time

 

okay..

Still, Substracting from unix_timestamp() would be eaier if you would like to see how long theve been loggedin

time()=server time

unix_timestamp()= some other time (not really sure because ive never come past it) so i wouldnt use it

unix_timestamp() i've checked isn't a valid function so .. i dunno

time() is a valid function and is used

But you maybe right or wrong, or I'm wrong lol.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...