KpC Posted July 17, 2008 Report Share Posted July 17, 2008 Es nezinu kapec bet kad no manis kads noperk kadu lietu no SMS Shopa tad to kodu var izmantot vairakas reizes.. Ka var izdarit lai kad noperk kodu var vienu reizi lejupieladet kadu failu bet otreiz lai vairs tas kods neder.. PLZ HELP! Link to comment Share on other sites More sharing options...
RaaapuLis Posted July 17, 2008 Report Share Posted July 17, 2008 hmm... es tagad prātā iedomājos to tavu kodu un inu kur problēma... iedod pašu kodu tak. Link to comment Share on other sites More sharing options...
KpC Posted July 17, 2008 Author Report Share Posted July 17, 2008 kodu nedoshu Gribi vnk dabut visus failus Link to comment Share on other sites More sharing options...
RaaapuLis Posted July 17, 2008 Report Share Posted July 17, 2008 (edited) nu tad neceri ka kāds tev palīdzēs. Padomā ar galvu... kā mēs varam zināt kas tev tur kodā notiek, ja neesam nemaz redzējuši tavu kodu p.s. es neprasu tev visus failus Edited July 17, 2008 by RaaapuLis Link to comment Share on other sites More sharing options...
KpC Posted July 17, 2008 Author Report Share Posted July 17, 2008 (edited) 631791 sitaads kods... Kodu genereeja: <? $kods= 'Kods '; $simbols= ': '; //šis ģenerē kodu $r1=rand(0,9); $r2=rand(0,9); $r3=rand(0,9); $r4=rand(0,9); $r5=rand(0,9); $r6=rand(0,9); $randcode="$r1$r2$r3$r4$r5$r6"; //šis nosūtas sms sūtītājam echo $kods,$simbols,$randcode; //piekonektejas mysql $con = mysql_connect("localhost","root","parole"); if (!$con) { die('Could not connect: ' . mysql_error()); } //izvelas datubazi, kur saglabasies kods mysql_select_db("bans", $con); //ievada datubaze kodu mysql_query("INSERT INTO code (code) VALUES ('$randcode')"); mysql_close($con); ?> Edited July 17, 2008 by KpC Link to comment Share on other sites More sharing options...
RaaapuLis Posted July 17, 2008 Report Share Posted July 17, 2008 a kpc datubaze bans? Link to comment Share on other sites More sharing options...
KpC Posted July 17, 2008 Author Report Share Posted July 17, 2008 a kadu tad likt? Es liku bans tapec ka man SMS UNBAN un SMS ACC ir ari bans Kas tur jaraksta? Kodu man phpmyadminaa saglabaa test datubaazee Link to comment Share on other sites More sharing options...
RaaapuLis Posted July 17, 2008 Report Share Posted July 17, 2008 (edited) kur tu to kodu izrāvi? Edited July 17, 2008 by RaaapuLis Link to comment Share on other sites More sharing options...
X ID Posted July 17, 2008 Report Share Posted July 17, 2008 Kāda starpība, kāds ir datubāzes nosaukums? Un nafig tik tizli tiek ģenerēts kods? Un mums nevajag redzēt to vietu, kur tiek ģenerēts kods, bet vietu, kur kods tiek salīdzināts ar datubāzē esošajiem. Patiesībā mums neko nevajag - tev vajag. Pieliec izmantotaja kodam kādu identifikatoru, kas norāda, ka kods jau ir izmantots un tad pārbaudi, vai kods ir datubāzē un vai ir jau izmantots. P.S. PHP $randcode=rand(100000,999999); Link to comment Share on other sites More sharing options...
RaaapuLis Posted July 17, 2008 Report Share Posted July 17, 2008 X ID kā identifikātorus var pielikt? nesaki tur visu klāt, nedaudz paskaidro man.. es vel nesaprotu jūs tik labi Link to comment Share on other sites More sharing options...
wap1337 Posted July 17, 2008 Report Share Posted July 17, 2008 nu ja pieliec if exist tiripiri no galvas nezinu , un tad viņš salīdzinās vai DB tāds ir ievadīts , un ja nebūš turpināsim , ja būs else = kods jau ir izmantots! Link to comment Share on other sites More sharing options...
RaaapuLis Posted July 17, 2008 Report Share Posted July 17, 2008 paldies wap, tagad sapratu, pamēgināšu tagad kaut ko izveidot Link to comment Share on other sites More sharing options...
JAKuT Posted July 17, 2008 Report Share Posted July 17, 2008 KpC iedo skype savejo... es tev veel vienu kludu, tava majas lapa pateiksu Skype, buus vieglak to pateikt. Link to comment Share on other sites More sharing options...
wap1337 Posted July 17, 2008 Report Share Posted July 17, 2008 un vēl tev visur ir PAY SIS , tātād ja viņs sūtu piem valodu , a tad atceras tomēr ka viņu var dabū php-fusion.co.uk lapā , viņš izdomā tomēr pirkt smsshopu , jo visiem ir vienāds īsziņas sūtīšanas kods! Link to comment Share on other sites More sharing options...
KpC Posted July 17, 2008 Author Report Share Posted July 17, 2008 tapat cena visiem failiem vienaada Link to comment Share on other sites More sharing options...
RaaapuLis Posted July 17, 2008 Report Share Posted July 17, 2008 kād ivispār tev ir faili tam sms šopam? kur tu dabūji kaut kur nopirki no neta, atradi, vai pats uztaisiji? Link to comment Share on other sites More sharing options...
KpC Posted July 17, 2008 Author Report Share Posted July 17, 2008 no draugiem dabuju Link to comment Share on other sites More sharing options...
sLIDe Posted July 17, 2008 Report Share Posted July 17, 2008 (edited) Kurs tev atlava lietot manu skriptu? Es pats to taisiju un liku tos stulbos komentarus. EDIT. Kurš tev iedeva? No playline.lv? Edited July 17, 2008 by sLIDe Link to comment Share on other sites More sharing options...
KpC Posted July 17, 2008 Author Report Share Posted July 17, 2008 ja dabuju vienu skriptu no playline.lv... Serveru pievienosanu bet parejos zagu un un dabuju no citiem draugiem... Link to comment Share on other sites More sharing options...
JuiCe Posted July 17, 2008 Report Share Posted July 17, 2008 Serveru pievienosanu bet parejos zagu un un dabuju no citiem draugiem... Ieliec sms shop scriptu ! Link to comment Share on other sites More sharing options...
KpC Posted July 17, 2008 Author Report Share Posted July 17, 2008 ielikshu Link to comment Share on other sites More sharing options...
RaaapuLis Posted July 17, 2008 Report Share Posted July 17, 2008 nu tad... Link to comment Share on other sites More sharing options...
sLIDe Posted July 17, 2008 Report Share Posted July 17, 2008 Neliec. Link to comment Share on other sites More sharing options...
wap1337 Posted July 17, 2008 Report Share Posted July 17, 2008 Ieliec gribu pastīties kas un kā! Link to comment Share on other sites More sharing options...
sLIDe Posted July 17, 2008 Report Share Posted July 17, 2008 Pasaki ko gribi redzēt, ielikšu koda daļu Link to comment Share on other sites More sharing options...
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now