gints Posted July 11, 2003 Report Share Posted July 11, 2003 Vai kaads nevareetu iedot scriptu kursh peec logina paraada lapas apmekleejumus u.t.t ?? ;) Link to comment Share on other sites More sharing options...
v3rb0 Posted July 11, 2003 Report Share Posted July 11, 2003 peec logina paraada lapas apmekleejumus u.t.t .. tas ir kā? Link to comment Share on other sites More sharing options...
gints Posted July 11, 2003 Author Report Share Posted July 11, 2003 Nu lai es vareetu redzeet savai lapai apmekleejumus, un ip. Link to comment Share on other sites More sharing options...
Benvenuto Posted July 12, 2003 Report Share Posted July 12, 2003 Nu lai es vareetu redzeet savai lapai apmekleejumus, un ip. kaapeec neveelies izmantot kaadu jau gatavu skaitiitaaju? piemeeram http://counter.hackers.lv ar daudz maz preciizu un detalizeetu statistiku? <_< Link to comment Share on other sites More sharing options...
CryRat Posted July 13, 2003 Report Share Posted July 13, 2003 Nu lai es vareetu redzeet savai lapai apmekleejumus, un ip. un kur problēma ? tas tak nav sarežģīti... 1. paņem IP getenv("REMOTE_ADDR") 2. pārbaudi vai tāds jau ir SELECT `ip` FROM `visitors` WHERE `ip`=$ip 3.1. ja ir tad pieskaiti hitu UPDATE `counter` SET `hits` = `hits`+1 3.2. ja nav tad pieskaiti hostu un hitu UPDATE `counter` SET `hosts` = `hosts`+1, `hits` = `hits`+1 4. parādi hostus un hitus SELECT `hosts`, `hits` FROM `counter` ideju gan jau saprati... Link to comment Share on other sites More sharing options...
jannis Posted July 13, 2003 Report Share Posted July 13, 2003 nejaushi uzgaaju lapu http://www.ndg.lv/ig/praktikums.php kas taadiem #$% vareetu nodereet Link to comment Share on other sites More sharing options...
gints Posted July 14, 2003 Author Report Share Posted July 14, 2003 Paldies !! :) Link to comment Share on other sites More sharing options...
Recommended Posts