IRCForumları - IRC ve mIRC Kullanıcılarının Buluşma Noktası
  sohbet

 Kayıt ol  Topluluk
Yeni Konu aç Cevapla
 
LinkBack Seçenekler Stil
Alt 07 Kasım 2014, 06:26   #1
Çevrimdışı
Kullanıcıların profil bilgileri misafirlere kapatılmıştır.
IF Ticaret Sayısı: (0)
IF Ticaret Yüzdesi:(%)
php ile sms mesaj göndermek




PHP Kod:   Kodu kopyalamak için üzerine çift tıklayın!
//https://
Bu forumdaki linkleri ve resimleri görebilmek için en az 25 mesajınız olması gerekir.
style="color: #0000BB"><?php
// Include the class
require 'class.swd_SMS.php';

// Create the object. (Parameters are optional if they're set in the class already)
$SMS = new swd_SMS('username''password');

// Send SMS. First parameter is the cell phone number with country code. (Without leading 00)
$SMS->send('34123456789''The message goes here');

// Let's send another just for fun
$SMS->send('34987654321''The message goes here');

// All sent messages are stored in an array.
echo '<pre>' print_r($SMS->sent_messagestrue) . '</pre>';


// Each sent message has a unique message ID, which is in the array above as well. With this we can see the message status any time. Like this:

$status $SMS->fetch_msg_status('MT0052355965-1');

echo 
'<pre>' print_r($statustrue) . '</pre>';
?>




/////////////// here goes 'class.swd_SMS.php'



class swd_SMS
{

/**
* =========================================================================
* SMS Class
* =========================================================================
*
* [MENTION=21475]AuthoR[/MENTION]: Balaji J H
* @requirements: PHP 5
*
* =========================================================================
* This program is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License as published by the
* Free Software Foundation; either version 2 of the License, or (at your
* option) any later version
* =========================================================================
*/


/**
* Your TM4B username. If you don't have one yet, register here for free:
* [url]https://
Bu forumdaki linkleri ve resimleri görebilmek için en az 25 mesajınız olması gerekir.
type="text/javascript" src="https://code.jquery.com/jquery-1.12.0.min.js"> Alıntıdır

__________________
Bu kez pek bir afili yalnızlık, ağlatan bir kadın kadar düşman. Ağzı bozuk üstelik bırakmıyor acıtmadan.
 
Alıntı ile Cevapla

IRCForumlari.NET Reklamlar
sohbet odaları reklam ver Benimmekan Mobil Sohbet
Cevapla

Etiketler
göndermek, ile, mesaj, php, sms


Konuyu Toplam 1 Üye okuyor. (0 Kayıtlı üye ve 1 Misafir)
 

Yetkileriniz
Konu Acma Yetkiniz Yok
Cevap Yazma Yetkiniz Yok
Eklenti Yükleme Yetkiniz Yok
Mesajınızı Değiştirme Yetkiniz Yok

BB code is Açık
Smileler Açık
[IMG] Kodları Açık
HTML-Kodu Kapalı
Trackbacks are Kapalı
Pingbacks are Açık
Refbacks are Açık


Benzer Konular
Konu Konuyu Başlatan Forum Cevaplar Son Mesaj
IRC'de kanala giren kullanıcıya otomatik olarak mesaj göndermek yunusca16 mIRC Scripting Sorunları 2 05 Aralık 2013 16:38
Facebook'ta mesaj göndermek artık paralı! Zen Facebook Haberleri 0 26 Mart 2013 21:44
frame den değişken göndermek can-inlife PHP 1 27 Kasım 2008 00:39
Bütün üyelere mesaj göndermek için. SoS PHP 0 25 Aralık 2005 16:16