Charls Posted May 29, 2008 Report Share Posted May 29, 2008 Vai kads ludzu nevaretu uzstaisit man scriptu prieks fortumo "Individuālais īsziņu pakalpojums" sadalas? kurs butu loti vienkars! nosutot sms atpakal atnak zinja "test test test" un to scriptu iepostot seit, vai man pa PM atsutit! busu loti pateicigs! Link to comment Share on other sites More sharing options...
777 Posted May 29, 2008 Report Share Posted May 29, 2008 (edited) kuram tad darit nav ko, lai teret laiku un rakstit tev skriptu ... tikai par naudu, ja kads to daris ... bet vispar pamekle foruma bija daudz to SMS Scripts ... Pie tam kategorija sis postam ir PHP nevis XHTML HTML Edited May 29, 2008 by 777 Link to comment Share on other sites More sharing options...
Charls Posted May 29, 2008 Author Report Share Posted May 29, 2008 a vari pateikt kur tiesi ir tie sms scripti? _ es varu iedot paraugu tam sms scriptam <?php // check that the request comes from Fortumo server if(!in_array($_SERVER['REMOTE_ADDR'], array('81.20.151.38', '81.20.148.122'))) { die("Error: Unknown IP"); } // check the signature $secret = ''; // insert your secret between '' if(!empty($secret) && !check_signature($_GET, $secret)) { die("Error: Invalid signature"); } $sender = $_GET['sender']; $message = $_GET['message']; // do something with $sender and $message $reply = "Paldies $sender Par to ka nosutiji $message"; // print out the reply echo($reply); function check_signature($params_array, $secret) { ksort($params_array); $str = ''; foreach ($params_array as $k=>$v) { if($k != 'sig') { $str .= "$k=$v"; } } $str .= $secret; $signature = md5($str); return ($params_array['sig'] == $signature); } ?> Link to comment Share on other sites More sharing options...
mounkuls Posted May 29, 2008 Report Share Posted May 29, 2008 tas ir tas, ko fortumo piedava paši. Nezinu kāpēc GET viņiem likās labāk, kā POST daži no parametriem, bet nu.... Par to naudas būšanu Tev memelo, uztaisīt skriptu tāpat vien var mīļotajai metenenei vai šefam pieregulēt aizdedzi, rēķinoties ar novērtējumu. Link to comment Share on other sites More sharing options...
Charls Posted May 30, 2008 Author Report Share Posted May 30, 2008 a kads nevaretu uzstaisit? jo tas ko fortumo piedava ir japarveido ;( savadak vinjs neiet! help plzzzz Link to comment Share on other sites More sharing options...
andrisp Posted May 30, 2008 Report Share Posted May 30, 2008 Ar galvu pret sienu... :) Link to comment Share on other sites More sharing options...
foxsk8 Posted May 30, 2008 Report Share Posted May 30, 2008 Nu nekas labs ar to fortumo nav. Pats viņu tikai tīri testam lietoju. Bet nu tā Video iespēja par SMS gan ir izcila, man jau ir idejas, kā to varētu pielietot un pelnīt pieklājīgu summu. Link to comment Share on other sites More sharing options...
Charls Posted May 30, 2008 Author Report Share Posted May 30, 2008 labi :D mainu noteikumu :) ja kads uzstaisi ejosu scriptu prieks manim es vinjam iedosu ejosu scriptu prieks kada BT kurs strada taa - aiz sms koda ir speletaja ID un nosutot sms automatiski iedodas piemeram 15GB :) tadu iedosu pa pm tam kas man iedos to scriptu kuru vajag man (kurs ir daudz vienkarsaks) es prasu sadu - nosutot sms atpakal atnak zinja - "test test test" ko sakat pa sadu piedavajumu? :) Link to comment Share on other sites More sharing options...
foxsk8 Posted May 31, 2008 Report Share Posted May 31, 2008 Nevienam nevajag to tavu trakera soursi, bet gan reālu skanošo par to. Link to comment Share on other sites More sharing options...
p4F Posted May 31, 2008 Report Share Posted May 31, 2008 es tev par 20 varu iedot skriptu :) Link to comment Share on other sites More sharing options...
ecoc Posted June 1, 2008 Report Share Posted June 1, 2008 (edited) Tēma 100 reižu ir apspriesta forumā izmanto meklētāju. Kā arī neviens tev scriptu netaisīs pa velti , un nepareiza sadaļa ! Tas bus tā kā tu gribi , tikai jaizveido daži faili php un jāiekopē kods. Ja gribi ,lai ziedotāji parādas tajā pašā lapa iekopē apakšā <b>Paldies ziedotajiem</b><br> <br> <?php require "ziedotaji.php"; ?> <? //noradam failu kur saglabasies ziedotaji $uberfails = "ziedotaji.php"; //te mes noradam tekstu un failu, attiecigi atveram ierakstam un aizveram failu $teksts= $_GET['message']; $fails = fopen("$uberfails", "a"); fwrite($fails,$teksts); fclose($fails); echo ('Teksts kas atnāks atpakaļ sms sūtītājam!') ?> <table width='300'> <tr><td><b>Noziedo</b></tr> <tr><td><b>Nosuti sms ar tekstu: <font color=red>TXT PAKALPOJUMA_NOSAUKUMS NIKS</font></b></td></tr> <tr><td><b>LMT:</b> 29300242<br><b>TELE2:</b> 26000242<br><b>BITE:</b> 29024242<br></td></tr> <tr><td><b><center><font color=green>SMS cena - Minētā CENA Ls</font></center></b></td></tr> </table> Edited June 1, 2008 by ecoc Link to comment Share on other sites More sharing options...
Recommended Posts