Witaj Gościu! ( Zaloguj | Rejestruj )

Forum PHP.pl

> [inne][PHP]Bibloteka rfGG.class kilka numerów?
edwarpan
post 7.05.2010, 22:01:19
Post #1





Grupa: Zarejestrowani
Postów: 66
Pomógł: 0
Dołączył: 28.04.2010

Ostrzeżenie: (0%)
-----


Witam, jak zrobić, aby bot wysyłał do kilku numerów gg?
Tu biblioteka - http://lgpl.nastal.pl/rfGG.class.zip
Przy oddzieleniu przecinkiem wysyła się tylko do 1. numeru.

Sam skrypt wykonujący to wygląda tak:
  1. <?php
  2.  
  3. include('rfGG.class.php');
  4.  
  5. $GG = new rfGG(rfGG::VER_77); // brak paramteru oznacza VER_80
  6. if ($GG->connect('13xx','frxx')) {
  7. if (!$GG->sendMessage('3680942',"wiadomosc?!")) {
  8. die($GG->getError());
  9. }
  10. if (!$GG->changeStatus(rfGG::STATUS_BUSY_DESCR,'Opis!')) {
  11. die($GG->getError());
  12. }
  13. $GG->ping();
  14. $GG->disconnect('niedostepny!');
  15. print_r($message = $GG->getMessages());
  16. //$messages = $GG->getMessageOne();
  17. }
  18. ?>
Go to the top of the page
+Quote Post

Posty w temacie


Reply to this topicStart new topic
1 Użytkowników czyta ten temat (1 Gości i 0 Anonimowych użytkowników)
0 Zarejestrowanych:

 



RSS Wersja Lo-Fi Aktualny czas: 14.08.2025 - 12:17