what i want is to help my users get their private message alerts on their cell phones, is there anyway to do it without tieing up with the smm providers on the web ,like they tell to pay you few cents per sms ,is there anyway i can do it free, like cani become a provider just like them ,or make a way like, if a user agrees to pay for alerts ,than whenever an alert goes the amount gets deducted from the user's cell phone , i am a newbie ,so dont know much hoe things work in cellphones and web interface ,any help is appreciated
| |
|
Welcome to AstaHost - Dear Guest | |
Toggle shoutbox
Shoutbox
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
How Do I Send SMS To Mobiles Through My Site
#1
Posted 28 January 2007 - 08:10 AM
what i want is to help my users get their private message alerts on their cell phones, is there anyway to do it without tieing up with the smm providers on the web ,like they tell to pay you few cents per sms ,is there anyway i can do it free, like cani become a provider just like them ,or make a way like, if a user agrees to pay for alerts ,than whenever an alert goes the amount gets deducted from the user's cell phone , i am a newbie ,so dont know much hoe things work in cellphones and web interface ,any help is appreciated
#2
Posted 29 January 2007 - 01:17 AM
Yes, i'm pretty sure that it is possible, but as you, i am a newbie in this especific area of development -never work with itI want to send sms to my users through my website ,is there any way to do it with php or any other sofware,
what i want is to help my users get their private message alerts on their cell phones, is there anyway to do it without tieing up with the smm providers on the web ,like they tell to pay you few cents per sms ,is there anyway i can do it free, like cani become a provider just like them ,or make a way like, if a user agrees to pay for alerts ,than whenever an alert goes the amount gets deducted from the user's cell phone , i am a newbie ,so dont know much hoe things work in cellphones and web interface ,any help is appreciated
Best regards,
#7
Posted 14 March 2007 - 06:30 AM
Im kind of interested in this myself I know that you can rent a 5 digit cell phone number for calling or sms (dreaded premium messages). Even if you just had a cell phone with a nothing plan (can receive unlm sms on most providers) you could connect it and write a script that uploads the info to mySQL.
-Jordan
#8
Guest_FeedBacker_*
Posted 07 November 2007 - 09:41 AM
8438889944@vtext.com
and it will usually (not always if they have an alias) come from taht address as well. that's what I use.
#9
Guest_FeedBacker_*
Posted 20 February 2008 - 04:57 AM
How Do I Send SMS To Mobiles Through My Site
Replying to Jimmy89
Which code did you end up using...I am looking for something similar. Do you get to send unlimited SMS messages? and is it reliable?
#10
Guest_iGuest-narayan_*
Posted 14 July 2008 - 09:35 AM
#12
Guest_(G)devaraj_*
Posted 15 April 2009 - 04:39 AM
I changed from english to some other languages(tamil ,telugu,hindi).I want to send to mobile application as I typed.But I can able to send mobile application.One thing is ,the person(receiver) cant able to see the languages.He can see only some illegal characters.I changed him to the language which I have sent.Example I sent him msg to hindi.And I changed to hindi from his mobile.But the value is not coming.Only the illegal characters coming.Is there any format I should change before I send to sms in php.Pls help me anything I should encrypt or decode som ething..Pls help me
-reply by devaraj
#13
Guest_(G)Crazy_*
Posted 10 August 2009 - 08:38 AM
Hi friends,
I have some work for which I want to recieve sms through a number and then I want to convert them in a form which can be easily processed in any language for certain out comes. I have made everything but m unable to convert these texts in a processable form.Does any one knows anything about it?
/txtmngr/images/smileys/smiley5.Gif
If you know any scripts to put them in a sql database or convert them so that they can be used as text in some place please do give me the link...
/txtmngr/images/smileys/smiley1.Gif
-question by Crazy
#14
Guest_(G)amar_*
Posted 16 August 2009 - 04:29 AM
#15
Posted 05 April 2011 - 01:33 PM
Sending an SMS from your site will require you to sign up to Clickatell and purchase credits from them. The credits system is easy to understand, you are charged a certain amount of credits per SMS sent, currently purchasing 1-9999 credits will cost 1-1.5 credits per SMS depending on what network you are sending to which is around GBP0.027p per SMS. Once you have signed up for your account with them (it's free) then you will have 10 test SMS.
Next we will create the html form which will send our SMS and the secure login form to prevent those without the password from sending an SMS. The password to send an SMS will be the same as the password you use to login to Clickatell.
Here is the PHP and HTML code for you to copy and paste.
<?php
session_start();
$configusername = 'USERNAME';
$configpassword = 'PASSWORD';
$configapiid = 'API ID';
if (isset($_GET['logout'])){
unset($_SESSION['usesms']);
}
if (isset($_POST['name']) && isset($_POST['pass']) && ($_POST['name'] == $configusername) && ($_POST['pass'] == $configpassword)){
$_SESSION['usesms'] = true;
}
if (isset($_SESSION['usesms']) && ($_SESSION['usesms'] == true)){
?>
<form action="http://api.clickatell.com/http/sendmsg" method="post" name="sendsms">
<table width="600" border="0" align="center" cellpadding="5" cellspacing="0" bgcolor="#999999" style="border:1px solid #000000;">
<tr>
<td colspan="2" align="center" valign="middle"><strong>Send SMS</strong> </td>
</tr>
<tr>
<td align="right" valign="middle">Mobile Number</td>
<td align="left" valign="middle"><input name="to" type="text" /></td>
</tr>
<tr>
<td colspan="2" align="center" valign="middle"><textarea name="text" cols="60" rows="3" id="text" style="width: 100%;"></textarea></td>
</tr>
<tr>
<td colspan="2" align="center" valign="middle"><input name="sendtext" type="submit" id="sendtext" value="Send SMS" /> <input name="logout" type="button" id="logout" value="Logout" onClick="document.location='<?php echo "http://".$_SERVER['SERVER_NAME'].$_SERVER['REQUEST_URI']; ?>?logout=true';" />
<input name="user" type="hidden" value="<?php echo $configusername; ?>" />
<input name="password" type="hidden" value="<?php echo $configpassword; ?>" />
<input name="api_id" type="hidden" value="<?php echo $configapiid; ?>" /></td>
</tr>
</table>
</form>
<?php
}
else {
?>
<form action="" method="post" name="login">
<table width="600" border="0" align="center" cellpadding="5" cellspacing="0" bgcolor="#999999" style="border:1px solid #000000;">
<tr>
<td align="center" valign="middle"><strong>Login</strong> </td>
</tr>
<tr>
<td align="center" valign="middle">Username
<input name="name" type="text" /></td>
</tr>
<tr>
<td align="center" valign="middle">Password
<input name="pass" type="password" /></td>
</tr>
<tr>
<td align="center" valign="middle"><input name="login" type="submit" id="login" value="Login" /> </tr>
</table>
</form>
<?php
}
?> So first of all we start the session. This is essential because we will be storing a variable in the session which tells our page that we have logged in succesfully and are authorised to send SMS from this site.
Now we have three different variables that need setting, $configusername, $configpassword and $configapiid. Change the text between the two speechmarks ' ' to your Clickatell username and password. You can get the API key from the API settings page when logged in to your account on Clickatell. The username and password you enter here is also the username and password required to login to this script and send SMS.
Next up we have two IF statements. These test to see if the user has either tried to login or is logging out. If the logout variable has been set by clicking the logout button, this creates a $_GET variable which we test to see if it is set. If it is we unset() the $_SESSION variable that tells our script we are logged in. Unsetting this variable now means our script will read us as not logged in and take us to the login screen. The second IF statement checks that we have entered both a username and password in the login screen and submitted the form, and also verifies the username and password is the same as those entered in the $configusername and $configvariables defined on lines 3 and 4. If they do match, we create a variable in the session called $_SESSION['usesms'] and set the value to true. This now means with this session variable set, when ever we visit this page it will take us to the send sms page, at least until we either logout or the session variable expires.
Now we can start with our html. Before this we need to know which page we are going to display, is the user logged in or not? so the IF statement tests for the existence of $_SESSION['usesms'] and if it finds it, we can display the html for the send sms page, ELSE we display the login page. So the send sms form has an action which is set to http://api.clickatell.com/http/sendmsg, this is where Clickatell has told us to send all API requests. So the information we submit on this page will be sent to this address and processed by Clickatell.
The key form elements are list below and what information is contained within each one. These are some editable elements and others are hidden elements containing values with ESSENTIAL element names.
- "to" - This is the mobile number you are sending this message to. Don't forget to include the area code
- "text" - The message you are sending. If this is over 160 characters in length, it will send as multiple messages and cost more.
- "user" - Here we echo the $configusername variable with our Clickatell username.
- "password" - Here we echo the $configpassword variable with our Clickatell password
- "api_id" - And again, echo the $configapiid variable with our Clickatell API ID.
So that is how you can send SMS messages from a web page. Be careful not to let your username and password fall in to other peoples hands otherwise they could spend all your Clickatell credits.
Clickatell also provides you with incoming SMS messages as well, and I think they allow you to make a profit from them if you choose to charge for incoming messages. If incoming messages are enabled on your account, there is a way to extract the data and display them on your own web page as well, but since I have never meddled in that side of Clickatell I haven't written any scripts for this feature sorry.
#16
Guest_(G)george_*
Posted 31 August 2011 - 11:51 AM
You need to connect your application to SMS Gateway. Most SMS gateways provide external API which can be used to do that. They usually have documentation which you can use to find out how to integrate SMS notification in your PHP code. Unfortunately there are no reliable free sms service provides so you have to pay for this sms service. You can check http://www.Phpjabbers.Com/web-sms/ which seems to work a lot easy. Their integration code is pretty simple:You will need an authentication key, as well.
-reply by george
#17
Posted 20 March 2012 - 12:55 PM
i visited the php classes website and found a good php script that can send sms messages. Works great! there are also a few others that i havent tried but dont look half bad.
good luck
-jimmy
Hi,
Can you send me the php classes link that you downloaded for sms sending
#18
Guest_Shihabudheen_*
Posted 02 April 2012 - 09:19 AM
With verizon, you can send text messages to an email and process them accordingly using a php script. and sending them is just as easy. to send to the number (843)-888-9944 on verizon, the email address is
8438889944@vtext.com
and it will usually (not always if they have an alias) come from taht address as well. that's what I use.
Is this available at India?
Reply to this topic
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users











