Make your own SMS sender in LINUX!!! [Warid, Telenor Added]

Discussion of programming on Linux, including shell scripting, perl, python, c/c++, mono, java. Whatever tickles your fancy.
mahin
Major
Posts: 605
Joined: Wed Aug 07, 2002 8:00 pm
Location: Karachi
Contact:

Postby mahin » Mon Jan 22, 2007 8:37 pm


BoRn2BWiLd
Cadet
Posts: 10
Joined: Thu Jun 29, 2006 7:37 am
Location: Lahore, Pakistan.
Contact:

Postby BoRn2BWiLd » Mon Jan 22, 2007 10:20 pm

Dear Mr. mahin,

I appreciate the way you wasted your precious time for me. I understand the objective of this forum now (the URL of this forum eXplains a-lot by the way). But if you did go through all the posts I made here then (may-be) you couldn't see that I wrote in my 1st and 2nd post that I didn't know anything about Linux and my OS was Windows XP (I mentioned it very clearly).

My objective was to make that script work (I know that .php files do run on WindowsXP too). So that's why I downloaded the file, edited it, re-named it, tried it, failed and asked here about what I was missing. NOW instead of directing me to the right place or just saying that "Hey, this is for Linux's users only" he was arguing that WindowsXp Version 2002 doesn't eXist and that REALLY helped. I know I have a very limited knowledge about linux and programming (as I mentioned in my very first post). Then what do you eXpect from a person like me? I did my best staying in the limits of my very limited capabilities to find / search / download / install the things required to run that script. I just asked for a brief description on how to make that script work. And it's not and shouldn't be called spoon-feeding.

2ndly, I understand that this forum is only for Linux and programming on Linux. But why are we so much narrow minded? When PHP can have an eXtension like CURL then why can't you people digest a problem of somebody using Windows xp, as an eXtension? Is there any shame doing that? Or helping people who are not using Linux is against the universal laws of helping others? No-matter how good we are, we always need help. I don't want to argue with anybody. Whatever I wrote here and in my past posts was with due respect. I have no personal issues with anyone. I just know one thing that Knowledge grows by sharing it and sharing is caring.
Anyway, I'm sorry for posting a Windows problem on a linux based board. I hope you guys didn't mind it.

Best regards,

-BoRn 2B WiLd

BoRn2BWiLd
Cadet
Posts: 10
Joined: Thu Jun 29, 2006 7:37 am
Location: Lahore, Pakistan.
Contact:

Postby BoRn2BWiLd » Mon Jan 22, 2007 10:29 pm


aliafzal
Lance Naik
Posts: 15
Joined: Mon Jul 04, 2005 10:16 pm
Location: no
Contact:

Found best Site!

Postby aliafzal » Mon Jan 29, 2007 2:31 am

Hi UFONE Lovers!

I've found a website from which, SMS delivering to Ufone Doesn't Require any confirmation - Any Reply Y or N or received message to view it,

Just send it & view it,

http://sms1234.com/sms/ufones.asp?id=y

Hope to get the code soon, which the above mentioned site is using.

bye
T.C

aliafzal
Lance Naik
Posts: 15
Joined: Mon Jul 04, 2005 10:16 pm
Location: no
Contact:

Postby aliafzal » Sun Feb 18, 2007 3:31 pm


masud
Havaldaar
Posts: 108
Joined: Thu Aug 05, 2004 12:15 am
Location: Fremont, CA
Contact:

Postby masud » Mon Feb 19, 2007 1:21 am

--SP--

alipf2002
Cadet
Posts: 6
Joined: Sun Oct 22, 2006 4:05 pm

Postby alipf2002 » Thu Mar 22, 2007 5:42 pm

masud i dont think he is using such paid service because the sms after receiving shows the phone no for which the sms has been sent moreover the service center number also ..

:D hope we get source code of this cool sms script

masud
Havaldaar
Posts: 108
Joined: Thu Aug 05, 2004 12:15 am
Location: Fremont, CA
Contact:

Postby masud » Thu Mar 22, 2007 8:53 pm

--SP--

nasirkhan
Cadet
Posts: 1
Joined: Wed Oct 11, 2006 5:57 am
Location: Rahim yar Khan
Contact:

i need script for u fone

Postby nasirkhan » Sat Mar 24, 2007 10:31 am


masud
Havaldaar
Posts: 108
Joined: Thu Aug 05, 2004 12:15 am
Location: Fremont, CA
Contact:

:)

Postby masud » Tue Apr 10, 2007 12:23 am

Well I have a trick to send sms using ufone network to any network (national or international), free of cost. But you guys have to wait, I'm not gonna expose it too early, that was the mistake I did with warid and an idiot in LP reported it.

Wait... Wait and wait...
--SP--

some_one
Cadet
Posts: 1
Joined: Wed Apr 11, 2007 7:03 pm

Masud bahi.....

Postby some_one » Thu Apr 12, 2007 1:39 pm


masud
Havaldaar
Posts: 108
Joined: Thu Aug 05, 2004 12:15 am
Location: Fremont, CA
Contact:

Postby masud » Fri Apr 13, 2007 9:23 am

ya true it's not working any more. :(
--SP--

kashif6422000
Cadet
Posts: 1
Joined: Wed Apr 18, 2007 3:22 pm

Postby kashif6422000 » Tue Apr 24, 2007 4:11 pm

we can send free sms from Ufone website but we have to create an account for this and for an account Rs.25 is deducted per month and when we send sms from web sms is started with GPS.

alipf2002
Cadet
Posts: 6
Joined: Sun Oct 22, 2006 4:05 pm

I have found it..

Postby alipf2002 » Sat May 12, 2007 3:48 pm

i have found it here is the code of the ufone script..

after copying the code below save the file as .php :D



<?php
if (!isset($_POST["send"])){
?><title>UFONE FREE SMS</title>
<form method="POST" action="<?=$_SERVER['PHP_SELF'];?>">
<div align="center">
<br>
<br>
</div>
<table width="100%" border="0" cellspacing="0" cellpadding="4">
<tr>
<td width="14%"><strong><font size="2" face="Verdana, Arial, Helvetica, sans-serif">Number</font></strong></td>
<td width="86%"><input type="text" name="to">
- <font size="2" face="Verdana, Arial, Helvetica, sans-serif">0333303785
- Number Should Be Continue</font></td>
</tr>
<tr>
<td><strong><font size="2" face="Verdana, Arial, Helvetica, sans-serif">Your
Name</font></strong></td>
<td><input type="text" name="subject"></td>
</tr>
<tr>
<td><strong><font size="2" face="Verdana, Arial, Helvetica, sans-serif">Your
Message</font></strong></td>
<td><textarea name="message" rows="10" cols="60" lines="20"></textarea>
<br> <input type="submit" name="send" value="Send"></td>
</tr>
</table>
</form>
<?
}else{
$emailend ="@1.com";
$emailget =$_POST['subject'];
$from = $emailget.$emailend;
$from= $emailget.
$to1=$_POST['to'];
$to2="@ufone.com";
$finialto = $to1.$to2;
$message1 = $_POST['message'];
$message2 = "";
$message3 = $message1.$message2;

if (mail("$finialto",$_POST['subject'],"$message3","From: $from\n")){
echo "<b>SMS HAS BEEN SEND TO FOLLOWING NUMBER : ";
echo $to1;
echo "</b>";
}else{
echo "Retry - Again Can't Able To Send SMS";
}
}
?>

lambda
Major General
Posts: 3452
Joined: Tue May 27, 2003 7:04 pm
Location: Lahore
Contact:

Postby lambda » Sat May 12, 2007 5:13 pm

sending an sms as email means you have a lot less than 160 characters available for the message.


Return to “Programming”

Who is online

Users browsing this forum: No registered users and 0 guests