iall Posted December 23, 2006 Report Share Posted December 23, 2006 Luuks kods: // check for dissallowed usernames for ($i = 0; $i <= $count_disallowed_usernames - 1; $i++) { $check_username = substr_count ($registration_username, $disallowed_usernames[$i]); if ($registration_username == $check_username) { echo "Ooops!!: Lietotaajvaards kuru Tu ievadiiji ir aiziegts. Luudzu <a href='java script:history.back();'>atgriezies</a> un izveelies citu lietotaajvaardu."; unset ($_POST["submit"]); die (); } } Vienalga lai kaadu lietotaajvaardu es ievadiitu ,man vinjsh met laukaa ,ka lietotaajvaards nepareizs..!! Kas pa vainu..?;( Paldies..:) Link to comment Share on other sites More sharing options...
bubu Posted December 23, 2006 Report Share Posted December 23, 2006 Vai tu zini, ko dara substr_count funkcija? Link to comment Share on other sites More sharing options...
iall Posted December 23, 2006 Author Report Share Posted December 23, 2006 Nevajag taisīt muļķīgas QUOTEs Esm jauns shajaa jomaa ,bez apvainoshanas luduzu..:) Nezinu ko vinja dara..palasiishu.. Link to comment Share on other sites More sharing options...
Stopp Posted December 23, 2006 Report Share Posted December 23, 2006 Tev met ārā šo te? Ooops!!: Lietotaajvaards kuru Tu ievadiiji ir aiziegts. Luudzu <a href='java script:history.back();'>atgriezies</a> un izveelies citu lietotaajvaardu Neticu. Link to comment Share on other sites More sharing options...
iall Posted December 23, 2006 Author Report Share Posted December 23, 2006 Tev met ārā šo te? Neticu. Nu ka es Tev saku..pa visiem 100 percent (%) :DDD Pavisam nopietn..:) Link to comment Share on other sites More sharing options...
Stopp Posted December 23, 2006 Report Share Posted December 23, 2006 (edited) substr_count atgriež skaitli. Visdrīzāk vaina ir kaut kur citur, t.i. tu esi iedevis nepareizo koda daļu. edit: Bet arī šī daļa ir kaut kas dīvains. edit2: un necitē bez vajadzības, lūdzu. Edited December 23, 2006 by Stopp Link to comment Share on other sites More sharing options...
iall Posted December 23, 2006 Author Report Share Posted December 23, 2006 Piedodiet ,vairs neciteeshu..:) Pac visu sachikinaaju un iet..:) :DDD Link to comment Share on other sites More sharing options...
bubu Posted December 23, 2006 Report Share Posted December 23, 2006 A kāpēc tad tu lieto funkcijas, par kurām nezini ko tās dara? Tam nav nekāda sakara ar to vai esi jauns šajā jomā vai neesi. Jālasa manuālis pirms kautko dari. Link to comment Share on other sites More sharing options...
Recommended Posts