Charls Posted May 3, 2010 Report Share Posted May 3, 2010 (edited) Tātad, jau kādu laiku cenšos dabūt esteria SMS risinājumu skriptu gatavu, un neesu neko panācis. Esteria piedāvā tikai paraugus, un no php es saprotu tik daudz, ka to var apzīmēt ar šādu simbolu - 0 Nu nauda man nav, bet cerams, ka kādam būs kāds brīvs brīdis lai uzstaisītu man šo skriptu. Paraugs: <?php if (!in_array($_SERVER['REMOTE_ADDR'], array("217.199.115.18", "80.255.224.34")) exit("Don't cheat"); if ($_GET["charged"]){ preg_match("/somecode(\d+)\s*(.*)/i", $_GET["text"], $matches); $sql = "MAKE SOME SQL QUERY"; mysql_query($sql); }else{ preg_match("/somecode(\d+)\s*(.*)/i", $_GET["text"], $matches); switch ($matches[1]){ case 1: // contra1 TEXT $price = 1.15; // Ls 1.15 $answer = "Paldies, ka noziedoji LVL 1.15"; break; case 2: $price = 0.35; // Ls 0.35 $answer = "Paldies, ka noziedoji LVL 0.35"; break; case 3: $price = 0.95; // Ls 0.95 $answer = "Paldies, ka noziedoji LVL 0.95"; break; default: $price = 0.10; $answer = "Paldies, ka noziedoji LVL 0.10"; } header("x-esteria-price: ".$price); echo $answer; exit(); } ?> Edited May 3, 2010 by Charls Quote Link to comment Share on other sites More sharing options...
briedis Posted May 3, 2010 Report Share Posted May 3, 2010 Nu, to make money, you have to spend it :) Tā kā, moš paprasi mammai, omītei, vai vienkārši lasi pudeles, nopelni kādu čiriku, un varbūt kāds uztaisīs un varēsi raust lielo piķi ar sms pakalpojumiem... Skatos, esi jau php forumā praktiski 2 gadus, pa to laiku daudz var iemācīties :) Quote Link to comment Share on other sites More sharing options...
Charls Posted May 3, 2010 Author Report Share Posted May 3, 2010 Nu pretī varu piedāvāt http://letasgultas.lv/ skriptu. Tas skaitas kā kautkāds Interneta veikals. Ir arī admina panelis. Quote Link to comment Share on other sites More sharing options...
krisis32 Posted May 5, 2010 Report Share Posted May 5, 2010 Man arī noderētu! Quote Link to comment Share on other sites More sharing options...
Grey_Wolf Posted May 5, 2010 Report Share Posted May 5, 2010 (edited) Nu pretī varu piedāvāt http://letasgultas.lv/ skriptu. Tas skaitas kā kautkāds Interneta veikals. Ir arī admina panelis. 99% ka nesi pat reali pirkstu pielicis, koda programmesana, domaju Programmesanu, nevis koda izmantosanu. Taa kaa Shii ir reala necienja pret ctu programmetaju darbu !!! Jo ja butu uzkodejis(kaut nelielu dalju), no I-veikla, tad sadu primitivu (ko prasi) skriptu uzcept, butu kadas stundas jautajums... Edited May 5, 2010 by Grey_Wolf Quote Link to comment Share on other sites More sharing options...
mach1ne^ Posted May 25, 2010 Report Share Posted May 25, 2010 Neesi Tu neko ne pircis, ne Tev kāds ir devis, tā kā beidz te batonus bāzt ausīs. :D Quote Link to comment Share on other sites More sharing options...
anonīms Posted May 26, 2010 Report Share Posted May 26, 2010 A tu pakalpojumu vispār esi pieslēdzis vai vnk esi paņēmis php paraugu? :DDDDD Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.