oxidati0n Posted April 12, 2007 Posted April 12, 2007 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. Quote
hamster01 Posted April 12, 2007 Posted April 12, 2007 Re: Session Logging Time This is good, but not something id use :\ Rather work with sesid's Quote
Decepti0n Posted April 12, 2007 Posted April 12, 2007 Re: Session Logging Time Nice idea, might use it for statistics logging Quote
hamster01 Posted April 12, 2007 Posted April 12, 2007 Re: Session Logging Time Try this: You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. I think Quote
oxidati0n Posted April 12, 2007 Author Posted April 12, 2007 Re: Session Logging Time Nice idea, might use it for statistics logging Thanks. Quote
oxidati0n Posted April 14, 2007 Author Posted April 14, 2007 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. Quote
hamster01 Posted April 14, 2007 Posted April 14, 2007 Re: Session Logging Time okay.. Still, Substracting from unix_timestamp() would be eaier if you would like to see how long theve been loggedin Quote
oxidati0n Posted April 14, 2007 Author Posted April 14, 2007 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. Quote
hamster01 Posted April 14, 2007 Posted April 14, 2007 Re: Session Logging Time http://dev.mysql.com/doc/refman/5.0/en/ ... tions.html Quote
Decepti0n Posted April 14, 2007 Posted April 14, 2007 Re: Session Logging Time Use time() since you're dealing with php in this case :\ Quote
oxidati0n Posted April 14, 2007 Author Posted April 14, 2007 Re: Session Logging Time http://dev.mysql.com/doc/refman/5.0/en/ ... tions.html ah lol unix_timestamp() is a mysql function not a php well there you go, I'm right and your right! :) Everyones Happy lol Quote
hamster01 Posted April 14, 2007 Posted April 14, 2007 Re: Session Logging Time I know.. Always.. Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.