KillerBean Posted August 31, 2006 Report Share Posted August 31, 2006 ideja taada... ielogojoties tiek izveidota sesija ar nosaukumu X, kas satur username. kaa var atteelot visas sesijas X veertiibas... kjipa lai var paraadiit kas online?? Link to comment Share on other sites More sharing options...
v3rb0 Posted August 31, 2006 Report Share Posted August 31, 2006 ideja tāda.. pamēģini search pa forumu palietot. http://php.lv/f/index.php?act=Search&C...nline+lap%C4%81 Link to comment Share on other sites More sharing options...
KillerBean Posted August 31, 2006 Author Report Share Posted August 31, 2006 (edited) Nu oki. tad paarformuleeshu bish jautaajumu... uz siikaaku niansi.. ;) kaa var ieguut starpiibu starp: $a = date('d/m/Y (H:i.s)'); // 31/08/2006 (17:57.21) $b = date('d/m/Y (H:i.s)'); // 31/08/2006 (17:58.45) ?? vai njemot vnk $b - $a ieguus 1.24? Edited August 31, 2006 by KillerBean Link to comment Share on other sites More sharing options...
Grey_Wolf Posted August 31, 2006 Report Share Posted August 31, 2006 Ir funkcijas kas datumu parveersh atpalakl unix timestamp ar to arii peitiek ;) P.S. Pats sameklee kas to dara ;) Link to comment Share on other sites More sharing options...
blackhalt Posted August 31, 2006 Report Share Posted August 31, 2006 Laikam time() Tev jāņem: http://lv.php.net/manual/en/function.time.php Link to comment Share on other sites More sharing options...
Recommended Posts