p4F Posted September 23, 2007 Report Share Posted September 23, 2007 <? if ($_GET['panemt']) { mysql_query("INSERT INTO things (davana) VALUES ($davana)"); echo "Jus panjemat $THING"; } else { echo "Neizdevaas panjemt davanu "; } ?> kr4 kaa lai izdariit ka panemt varētu tikai vienu reizi? no 1 ip? Link to comment Share on other sites More sharing options...
Kavacky Posted September 23, 2007 Report Share Posted September 23, 2007 Saglabā datubāzē tās IP adreses, no kurām tiek paņemts. Pirms ņemšanas pārbaudi, vai tāda adrese jau nav saglabāta, ja ir, tad pasūti nah. Link to comment Share on other sites More sharing options...
zinatnieks Posted September 23, 2007 Report Share Posted September 23, 2007 Var vēl papildus cookie iemest uz datora ja tas pats lietotājs sadomā iet caur citu IP. Link to comment Share on other sites More sharing options...
Kavacky Posted September 23, 2007 Report Share Posted September 23, 2007 Ja lietotājs būs gana zinošs, lai ieietu ar citu IP, zinās arī, kā kukiju nodzēst. Link to comment Share on other sites More sharing options...
zinatnieks Posted September 23, 2007 Report Share Posted September 23, 2007 (edited) Bet ja nu nezin kā to cepumu iznīcināt? :) Edited September 23, 2007 by zinatnieks Link to comment Share on other sites More sharing options...
Kavacky Posted September 24, 2007 Report Share Posted September 24, 2007 Tad tu būsi tērējis liekas pūles, lai atsijātu 1 no 10000 cilvēkiem, kas tāpat rezultātu būtiski neietekmēs. Baigi vajag. Link to comment Share on other sites More sharing options...
Grey_Wolf Posted September 24, 2007 Report Share Posted September 24, 2007 (edited) ar tam IP un cepumiem ir kaa ir.... 1. ir ljoti daudz korporativo lietotaaju ar vienadu IP... 2. ir daudz pieslegumi ar dinamisku IP... 3. kautcik zinoshi useri tos cepumus laiku pa laikam iztiira.... (kautvai ar Win/ brauzera iebuvetajiem riikiem... Optimalais tomer ir kautvai primitiiva useru registracija.... Tad pilniiba atkriit sadas problemas.... --- P.S. starpcitu ir arii daudzi riiki kas ljau mainiit IP ... kautvai TOR tikls... praktiski katru reizi man buus cita IP taa kaa tas viss .... Edited September 24, 2007 by Grey_Wolf Link to comment Share on other sites More sharing options...
p4F Posted September 24, 2007 Author Report Share Posted September 24, 2007 http://paste.php.lv/6139 Kā lai šitam dot darboties? Link to comment Share on other sites More sharing options...
Recommended Posts