<?php $cingular = '@cingularME.com'; $verizon = '@vtext.com'; $nextel = '@messaging.nextel.com'; $tmobile = '@tommail.com'; $att = '@mmode.com'; ?>
gdzie znajdę takie dane dla polskich operatorów?
cały kod:
<? /*zmienne konfiguracyjne */ // serwer jabber na którym mamy zarejestrowane konto $jabber = new Jabber(); $server = 'serwer'; $username = ' '; $password = ' '; $cingular = '@cingularME.com'; $verizon = '@vtext.com'; $nextel = '@messaging.nextel.com'; $tmobile = '@tommail.com'; $att = '@mmode.com'; function send($to, $msg) { } function Handler_message_normal($message) { $body = $jabber->GetInfoFormMessageBody($message); { $tokenparts = $bodyparts[1]; $num = $tokens[0]; $sub = $tokens[1]; $bod = $tokens[2]; sms($num, $sub, $bod); } } function sms($number, $subject, $body) { switch($cell[$number]) { case "cingular": $suffix = $cingular; break; } $adress = $number.$suffix; } function Handler_message_chat($message) { Handler_message_normal($message); } $jabber->server = $server; $jabber->port = "5222"; $jabber->username = $username; $jabber->password = $password; $jabber->resource = "smsclient.php"; $jabber->enlabe_logging = FALSE; $jabber->SubscriptionAcceptRequest($personal); while(true) { $jabber->SendPresence(NULL, NULL, "online"); $jabber->CruiseControl(15*60); } $jabber->Disconnect(); ?>
normalnie formularz do tego napisać?
nikt nie wie gdzie mogę znaleźć informacje o operatorach oraz co dalej?

ponawiam zapytanie bo jeszcze nie rozwiązałem tego problemu
