AntiXakep Posted December 19, 2003 Report Share Posted December 19, 2003 :blink: :blink: Man tads jautajums ! Kadu aizsardzibu vel varat ieteikt? Man ir bus ta ! /* ar sho es apgriezishu garos vardus */ $text = wordwrap($text, 20, "<br />"); /* ar sho es iznemshu lauka no texta html tegus */ $text = strip_tags($text, '<a><b><i><u>'); /* ar sho es izneshu atstarpes liekas atstarpes */ $text=trim($text); /* ar sho es textarea nospiestos enter parveidohu par tegu <br> */ $text=ereg_replace("\n","<br>",$text) /* ar sho es apgriezishu garo textu */ $text=substr($text,0, 4000) vairak ficu nezinu ar ko varetu aisargat lapu no laundariem kuri raksta visadus sudus mana textarea! Vel varetu bad words filtru uztaisit bet tas ta nakotne :blink: ! Iesakiet man vel kaut ar ko aistaveties ! :blink: P.S. me nezina visas funkcijas P.S.S me loti dievina sho smailiku :blink: :blink: Link to comment Share on other sites More sharing options...
mmk Posted December 19, 2003 Report Share Posted December 19, 2003 htmlspecialchars() ar ENT_QUOTES addslashes() nl2br () Ar shitaam f-jaam dazhas taveejaas kljuust liekas! :blink: Link to comment Share on other sites More sharing options...
jb4 Posted December 19, 2003 Report Share Posted December 19, 2003 Vislabākā aizsardzība ir uzbrukums. Link to comment Share on other sites More sharing options...
AntiXakep Posted December 20, 2003 Author Report Share Posted December 20, 2003 :blink: man tagad bus apmekletajiem jauzbruk !? Ka ar tavu lapu jb4? Var kaut kur lapu novilkt ar rakstiem? ! Link to comment Share on other sites More sharing options...
Benvenuto Posted December 23, 2003 Report Share Posted December 23, 2003 es piemeeram esmu uzlicis taa lai javascript paarsauc par javaskript. tas veel klaat pie tava jau esoshaa filtra. Link to comment Share on other sites More sharing options...
jb4 Posted December 23, 2003 Report Share Posted December 23, 2003 Link to comment Share on other sites More sharing options...
AntiXakep Posted December 24, 2003 Author Report Share Posted December 24, 2003 :) Link to comment Share on other sites More sharing options...
DelNet Posted December 24, 2003 Report Share Posted December 24, 2003 He, he tagad mekle ka aizsargaaties :) Padzirdeju ka Tu ar vel vienu esot Krabiz blogu izdraa**shi. :) Parunajos ar pashu Krabiz kunku, nonacu pie secinajuma, ka vinjam blogs nekad nebus droshs, iestasti jamajam kas ir php.ini.... Jams pat nezinaja via vinjam globalji ieslegti vai nee... PRIEKS, KUR TU RODIES!!! p.s. Priecigus svetkus visiem! Link to comment Share on other sites More sharing options...
mors Posted December 24, 2003 Report Share Posted December 24, 2003 var nodereet arii 'aizsardziiba' pret F5 + veel postu skaita ierobezjoshana, teiksim no vienas IP adreses diennaktii ne vairaak kaa 10 komenti. Link to comment Share on other sites More sharing options...
Kaklz Posted December 26, 2003 Report Share Posted December 26, 2003 (edited) var nodereet arii 'aizsardziiba' pret F5 + veel postu skaita ierobezjoshana, teiksim no vienas IP adreses diennaktii ne vairaak kaa 10 komenti. cilveekus tracina ierobezhojumi. Jo vairaak gribeesi apmekleetaajus ierobezhot, jo riebiigaaki vinji buus ;) P.S. ja vispaar buus :lol: Edited December 26, 2003 by Kaklz Link to comment Share on other sites More sharing options...
mors Posted December 26, 2003 Report Share Posted December 26, 2003 cilveekus tracina ierobezhojumi. Jo vairaak gribeesi apmekleetaajus ierobezhot, jo riebiigaaki vinji buus nu nav jau tas tiem apmekleetajiem jaabaazj degunaa ka pazinjojums, ka ir tie ierobezjojumi, ja negrib vinjus 'tracinaat', bet F5 taapat kaads gribes izmeegjinat, domaju vienkarshak to priecinju aizliegt nekaa peec tam savaakt aiz 'labaa' lietotaaja, kursh gribeja bik paspeeleeties ... Link to comment Share on other sites More sharing options...
hu_ha Posted December 26, 2003 Report Share Posted December 26, 2003 nu veel jau ir tas variants, ka vari saspaidiit nenormaali daudz enter taustinjus un pashaa galaa pievienot tikai kaadu burtu - tas viss izskataas diezgan perversi :P bet vislabaakaa aizsardziiba laikam jau ir nenjemt to visu galvaa - sataisi taa lai nevar nekaadus vizuaalos gljukus uztaisiit un tad ja kaads kaut ko sabojaa, tad tikai nobano un izdzees postu, tas laikam ir vislabaakais - viss notiek klusi un mieriigi :) Link to comment Share on other sites More sharing options...
Recommended Posts