bubu Posted January 11, 2008 Report Share Posted January 11, 2008 if ($kautkas == true) { // šis izpildīsies, ja $kautkas ir vienāds ar true // ... } else { // šis izpildīsies, ja $kautkas NAV vienāds ar true // ... } Link to comment Share on other sites More sharing options...
Mikijs Posted January 11, 2008 Report Share Posted January 11, 2008 a ka tu dabusi sms nr? man arii ir problema bet ne ar speli cs.. Redz es gribu lai sutot sms uz <numurs> ar tekstu piem <ok MANSID> (ok 512) tad pievienotos datubazei projekts_statistika zem iedalas ok id numurs 512.. ? ka dabut to sms numuru ? Link to comment Share on other sites More sharing options...
Aleksejs Posted January 11, 2008 Report Share Posted January 11, 2008 Ja nav vajadzīgs pelnīt uz SMS 1) Nopērkam GSM telefonu, kuru var pieslēgt serverim caur COM/USB whatever 2) Nopērkam dajebkādu ZeltaZivtiņu/utt 3) Publicējam telefona numuru 4) Uzrakstam skriptu (izmantojam gatavu programmu tjipa asterisk), kas apstrādās ienākušās īsziņas. 5) Uztaisam skriptu, kas ģenerē apstiprinājuma kodus. Ja kods tiek saņemts atpakaļ caur SMS - tad tiek uzskatīts, ka kods ir apstiprināts. Viss! Link to comment Share on other sites More sharing options...
goma smile Posted January 11, 2008 Author Report Share Posted January 11, 2008 vo es atradu man vaig ta lai beigas sanak tads pats ka te ;) http://cs.wos.lv/index.php?q=service_mvawos Link to comment Share on other sites More sharing options...
Aleksejs Posted January 11, 2008 Report Share Posted January 11, 2008 goma smile, flag tebe v ruki! Uz priekšu! Taisi! ;) Link to comment Share on other sites More sharing options...
andrisp Posted January 11, 2008 Report Share Posted January 11, 2008 goma_smile - tev vispār ir nr. uz kuru apmeklētāji var sūtīt kodu ? Link to comment Share on other sites More sharing options...
goma smile Posted January 11, 2008 Author Report Share Posted January 11, 2008 (edited) Ja protams ir ja nebutu es neprasit :D Sūti TXT GMA uz nummuriem: 29024242 (Bite) 29300242 (LMT) 26000242 (Tele2) Maksa par SMS 0.35 LVL. Edited January 11, 2008 by goma smile Link to comment Share on other sites More sharing options...
Aleksejs Posted January 11, 2008 Report Share Posted January 11, 2008 Un kur ir problēma? Kurā tieši vietā? Kura konkrēti lieta nav skaidra? Link to comment Share on other sites More sharing options...
goma smile Posted January 11, 2008 Author Report Share Posted January 11, 2008 ka var izdarit ka registret niku vares tad ja ierakstisi kodu kas piemeram ir 909090 Link to comment Share on other sites More sharing options...
bubu Posted January 11, 2008 Report Share Posted January 11, 2008 Es tak tev augšā jau uzrakstītu. Tie ir php pamati - elementāru ifu uzrakstīt: if ($ievadītais_kods == "909090") { // Ja kods ir 909090, tad šis izpildās => tātad te liec savu reģistrāciju // ... } else { // Šis izpildīsies, ja kods NAV 909090 => tātad te liec kautkādu kļūdas paziņojuma parādīšanu lietotājam // ... } Link to comment Share on other sites More sharing options...
goma smile Posted January 11, 2008 Author Report Share Posted January 11, 2008 ka es teicu es neesu profisionalis un man nesanak :( Link to comment Share on other sites More sharing options...
bubu Posted January 11, 2008 Report Share Posted January 11, 2008 Kā mums zināt, kas un kāpēc tev nesanāk? Izlasi šo - varbūt palīdzēs - http://catb.org/~esr/faqs/smart-questions.html Un nav jābūt profesionālim, lai programmētu. Jebkurš no mums sāka kā vai vēl jorpojām ir ne-profesionālis. Galvenais ir skaidri izteikties. Link to comment Share on other sites More sharing options...
goma smile Posted January 12, 2008 Author Report Share Posted January 12, 2008 es visadi meiginaju bet nesanak :( Link to comment Share on other sites More sharing options...
goma smile Posted January 12, 2008 Author Report Share Posted January 12, 2008 labi a var vismaz ta kad pec 30 dienam tas niks izdzesisies ? Link to comment Share on other sites More sharing options...
Aleksejs Posted January 12, 2008 Report Share Posted January 12, 2008 Jā, protams, ka var! Link to comment Share on other sites More sharing options...
Recommended Posts