<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>WEB-NES-BAY &#187; sms</title>
	<atom:link href="http://webnesbay.com/tag/sms/feed/" rel="self" type="application/rss+xml" />
	<link>http://webnesbay.com</link>
	<description>Learn Tips and tricks on Linux, Hacking, linux, PHP, Perl, Web, Hardware</description>
	<lastBuildDate>Sun, 11 Apr 2010 05:12:40 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Check your mobile quality using IM number</title>
		<link>http://webnesbay.com/check-your-mobile-quality-using-im-number/</link>
		<comments>http://webnesbay.com/check-your-mobile-quality-using-im-number/#comments</comments>
		<pubDate>Fri, 17 Jul 2009 10:43:35 +0000</pubDate>
		<dc:creator>WEBNESBAY</dc:creator>
				<category><![CDATA[Mobile]]></category>
		<category><![CDATA[News]]></category>
		<category><![CDATA[IM Number]]></category>
		<category><![CDATA[mobile manufacturer]]></category>
		<category><![CDATA[Mobile Quality]]></category>
		<category><![CDATA[original mobile]]></category>
		<category><![CDATA[sms]]></category>

		<guid isPermaLink="false">http://webnesbay.com/?p=431</guid>
		<description><![CDATA[Would you like to know your mobile is original or not?!!
press *#06# on ur mobile
After you enter the code you will see a new code contain 15 digits:
43 4 5 6 6 1 0 6 7 8 9 4 3 5
IF the digit number Seven &#38; Eight is 02 or 20 that mean it was Assembly on
Emirates which is very Bad quality
IF the digit number Seven &#38; Eight is 08 or 80 that mean it¢s manufactured
in Germany which is not [...]


Related posts:<ol><li><a href='http://webnesbay.com/nvidia-launches-five-new-mobile-gpus/' rel='bookmark' title='Permanent Link: NVIDIA Launches Five New Mobile GPUs'>NVIDIA Launches Five New Mobile GPUs</a></li>
<li><a href='http://webnesbay.com/secrets-of-sony-ericsson-mobile-phone/' rel='bookmark' title='Permanent Link: Secrets of Sony Ericsson mobile phone'>Secrets of Sony Ericsson mobile phone</a></li>
<li><a href='http://webnesbay.com/convert-movies-in-mobile-3gp-to-avi-in-ubuntu/' rel='bookmark' title='Permanent Link: Convert movies in mobile (3gp) to AVI in Ubuntu'>Convert movies in mobile (3gp) to AVI in Ubuntu</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>Would you like to know your mobile is original or not?!!<br />
press *#06# on ur mobile<br />
After you enter the code you will see a new code contain 15 digits:</p>
<p>43 4 5 6 6 1 0 6 7 8 9 4 3 5</p>
<p>IF the digit number Seven &amp; Eight is 02 or 20 that mean it was Assembly on<br />
Emirates which is very Bad quality</p>
<p>IF the digit number Seven &amp; Eight is 08 or 80 that mean it¢s manufactured<br />
in Germany which is not bad</p>
<p>IF the digit number Seven &amp; Eight is 01 or 10 that mean it¢s manufactured in<br />
Finland which is Good</p>
<p>IF the digit number Seven &amp; Eight is 00 that mean it was manufactured in<br />
original factory which is the best Mobile Quality [Like N-Series] &#8230;</p>
<p>IF the digit number Seven &amp; Eight is 13 that mean it was Assembly on<br />
Azerbaijan which is very Bad quality and very dangerous for health!!!</p>


<p>Related posts:<ol><li><a href='http://webnesbay.com/nvidia-launches-five-new-mobile-gpus/' rel='bookmark' title='Permanent Link: NVIDIA Launches Five New Mobile GPUs'>NVIDIA Launches Five New Mobile GPUs</a></li>
<li><a href='http://webnesbay.com/secrets-of-sony-ericsson-mobile-phone/' rel='bookmark' title='Permanent Link: Secrets of Sony Ericsson mobile phone'>Secrets of Sony Ericsson mobile phone</a></li>
<li><a href='http://webnesbay.com/convert-movies-in-mobile-3gp-to-avi-in-ubuntu/' rel='bookmark' title='Permanent Link: Convert movies in mobile (3gp) to AVI in Ubuntu'>Convert movies in mobile (3gp) to AVI in Ubuntu</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://webnesbay.com/check-your-mobile-quality-using-im-number/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Shut down your computer using your mobile phone</title>
		<link>http://webnesbay.com/shut-down-your-computer-using-your-mobile-phone/</link>
		<comments>http://webnesbay.com/shut-down-your-computer-using-your-mobile-phone/#comments</comments>
		<pubDate>Fri, 17 Jul 2009 10:37:30 +0000</pubDate>
		<dc:creator>WEBNESBAY</dc:creator>
				<category><![CDATA[Hacking]]></category>
		<category><![CDATA[hack batch file]]></category>
		<category><![CDATA[hibernate]]></category>
		<category><![CDATA[Microsoft Outlook]]></category>
		<category><![CDATA[mobile hack]]></category>
		<category><![CDATA[mobile phone hack]]></category>
		<category><![CDATA[shutdown computer]]></category>
		<category><![CDATA[sms]]></category>

		<guid isPermaLink="false">http://webnesbay.com/?p=426</guid>
		<description><![CDATA[This method is useful for shutting down his/her computer just by sending an e-mail
To accomplish this you need to have Microsoft Outlook (from MS Office) and it should be installed on your PC
So, this is how you do this:
1. First, you need the batch files to perform the Shutdown, Hibernate etc. You can write them down yourselves or can download them from here
2. Extract them to your C:\ drive so the path to the shutdown batch file is C:\sms_functions\shutdown.bat (Important [...]


Related posts:<ol><li><a href='http://webnesbay.com/how-to-hack-bluetooth-mobile-phone/' rel='bookmark' title='Permanent Link: How to hack bluetooth mobile phone'>How to hack bluetooth mobile phone</a></li>
<li><a href='http://webnesbay.com/secrets-of-sony-ericsson-mobile-phone/' rel='bookmark' title='Permanent Link: Secrets of Sony Ericsson mobile phone'>Secrets of Sony Ericsson mobile phone</a></li>
<li><a href='http://webnesbay.com/hacking-computer-inside-lan-network/' rel='bookmark' title='Permanent Link: Hacking computer inside LAN Network'>Hacking computer inside LAN Network</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>This method is useful for shutting down his/her computer just by sending an e-mail</p>
<p>To accomplish this you need to have Microsoft Outlook (from MS Office) and it should be installed on your PC<br />
So, this is how you do this:</p>
<p>1. First, you need the batch files to perform the Shutdown, Hibernate etc. You can write them down yourselves or can download them from <a href="http://www.timmatheson.com/downloads/howtos/sms_shutdown/sms_functions.zip">here</a></p>
<p>2. Extract them to your C:\ drive so the path to the shutdown batch file is C:\sms_functions\shutdown.bat (Important the path must be exact) or you can modify the rule once you import it to point to the new destination.</p>
<p>3. Open up Microsoft Outlook. Make sure that you have already configured it for your email. Now we will need to make it so that Outlook checks your inbox about every minute (1 minute for testing time can be increased if a delayed shutdown is desired). You can do this by going to Tools: Options.</p>
<p>4. Then click the Mail Setup tab, and afterwards, the Send/Receive button.</p>
<p>5. Make sure that the Schedule an automatic send/receive every&#8230; box is checked, and set the number of minutes to 1.</p>
<p>6. Now go to Tools: Rules and Alerts&#8230; Next click the options button in the upper right hand corner and press the Import Rules button.</p>
<p>7. Now select the shutdown.rwz file that was found in the zip file named sms_functions that you downloaded.</p>
<p>8. Now, when you send a message from your phone to your e-mail address with the subject smsshutdown%%, your computer will shutdown.</p>
<p>You can also make your own rule, so that you can use your own batch file, and may specify the phrase you want to trigger the action.</p>
<p>Comment on this if it works <img src='http://webnesbay.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p><em><span style="color: #888888;">NOTE: This tutorial is NOT written by me, this is collected from Internet</span></em></p>


<p>Related posts:<ol><li><a href='http://webnesbay.com/how-to-hack-bluetooth-mobile-phone/' rel='bookmark' title='Permanent Link: How to hack bluetooth mobile phone'>How to hack bluetooth mobile phone</a></li>
<li><a href='http://webnesbay.com/secrets-of-sony-ericsson-mobile-phone/' rel='bookmark' title='Permanent Link: Secrets of Sony Ericsson mobile phone'>Secrets of Sony Ericsson mobile phone</a></li>
<li><a href='http://webnesbay.com/hacking-computer-inside-lan-network/' rel='bookmark' title='Permanent Link: Hacking computer inside LAN Network'>Hacking computer inside LAN Network</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://webnesbay.com/shut-down-your-computer-using-your-mobile-phone/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Sending SMS Through HTTP Using PHP</title>
		<link>http://webnesbay.com/sending-sms-through-http-using-php/</link>
		<comments>http://webnesbay.com/sending-sms-through-http-using-php/#comments</comments>
		<pubDate>Mon, 29 Jun 2009 07:10:28 +0000</pubDate>
		<dc:creator>WEBNESBAY</dc:creator>
				<category><![CDATA[PHP]]></category>
		<category><![CDATA[http]]></category>
		<category><![CDATA[sms]]></category>

		<guid isPermaLink="false">http://webnesbay.com/?p=183</guid>
		<description><![CDATA[
Why you would want to send SMS Through HTTP?
The more and more you see and read about how other websites are using SMS, the more and more you begin to wonder why you&#8217;re not. So I&#8217;ll show you how (in PHP, because it&#8217;s the only language i know!). Although it is possible to send SMS via e-mail, which I might cover another time.
This tutorial focuses on the use of HTTP methods &#8220;get&#8221; &#38; &#8220;post&#8221;. For those of us that may not [...]


Related posts:<ol><li><a href='http://webnesbay.com/perl-sockets-and-tcpip-networking/' rel='bookmark' title='Permanent Link: Sockets and TCP/IP Networking using PERL'>Sockets and TCP/IP Networking using PERL</a></li>
<li><a href='http://webnesbay.com/send-sms-using-perl/' rel='bookmark' title='Permanent Link: Send sms using perl'>Send sms using perl</a></li>
<li><a href='http://webnesbay.com/sending-data-via-xmlhttprequest-post-in-php/' rel='bookmark' title='Permanent Link: Sending data via XMLHttpRequest POST in PHP'>Sending data via XMLHttpRequest POST in PHP</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p><span style="font-family: Arial; font-size: 13px; text-align: left;"></p>
<h2 style="font-family: Georgia; margin-top: 40px; margin-bottom: 10px; font-size: 1.4em;">Why you would want to send SMS Through HTTP?</h2>
<p style="color: #333333;">The more and more you see and read about how other websites are using SMS, the more and more you begin to wonder why you&#8217;re not. So I&#8217;ll show you how (in PHP, because it&#8217;s the only language i know!). Although it is possible to send SMS via e-mail, which I might cover another time.</p>
<p style="color: #333333;">This tutorial focuses on the use of HTTP methods &#8220;get&#8221; &amp; &#8220;post&#8221;. For those of us that may not know this, using HTTP basically means the use of forms, except that these will be submitted automatically as opposed to manually.</p>
<p style="color: #333333;">Although this tutorial can be used for any gateway that provides access via HTTP, this tutorial is based on the TM4B Bulk SMS Gateway because:</p>
<ul style="list-style-type: none; list-style-image: url(http://www.theukwebdesigncompany.com/images/dotted-arrow.gif);">
<li>They are the only gateway I know that have a &#8217;simulation&#8217; mode for tweaking your scripts.</li>
<li>They don&#8217;t have any set-up fees and their prices are low.</li>
<li>They are reliable and I use them.</li>
</ul>
<h2 style="font-family: Georgia; margin-top: 40px; margin-bottom: 10px; font-size: 1.4em;">Step 0 Understanding the requirements of the gateway.</h2>
<p style="color: #333333;">Any SMS gateway will provide details about how you can connect up to them. In the case of TM4B, these are provided on their SMS API page. They basically require us to provide six mandatory pieces of data:</p>
<ol>
<li>username &#8211; our username</li>
<li>password &#8211; our password</li>
<li>msg &#8211; our SMS message</li>
<li>to &#8211; the one or more recipients of our message</li>
<li>from &#8211; our sender id</li>
<li>route &#8211; the route of the message (i.e. first class or business class)</li>
<li>And we&#8217;ll add a seventh (optional) one&#8230; &#8217;sim&#8217; &#8211; i.e. simulate.</li>
</ol>
<p style="color: #333333;">They will be expecting us to send our messages to them via HTTP requests, similar to this:</p>
<p style="color: #333333;">http://www.tm4b.com/client/api/send.php?<br />
username=abcdef&amp;password=12345&amp;msg=<br />
This+is+sample+message.&amp;to=447768254545%7C447956219273%<br />
7C447771514662&amp;from=MyCompany&amp;route=frst&amp;sim=yes
</p>
<p style="color: #333333;">which you can test by clicking on it or pasting it into your browser&#8217;s address bar.</p>
<h2 style="font-family: Georgia; margin-top: 40px; margin-bottom: 10px; font-size: 1.4em;">Step 1: Prepare our request</h2>
<p style="color: #333333;">The first step we have to take is to store our data as variables and then convert them into a url request. There are different ways of doing this, but this is a very innovative and useful way borrowed from the TM4B site itself:</p>
<p><code style="border: 1px solid #cccccc; padding: 10px; font-size: 1.2em; display: block; background-color: #efefef; font-family: Courier,'Courier New',monospace; color: #ff6600;">&lt;?php<br />
$request = "";</p>
<p>//initialise the request variable<br />
$param[username] = "abcdef";</p>
<p>//this is the username of our TM4B account<br />
$param[password] = "12345";</p>
<p>//this is the password of our TM4B account<br />
$param[msg] = "This is sample message.";</p>
<p>//this is the message that we want to send<br />
$param[to] = "447768254545|447956219273|447771514662";</p>
<p>//these are the recipients of the message<br />
$param[from] = "MyCompany";</p>
<p>//this is our sender if<br />
$param[route] = "frst";</p>
<p>//we want to send the message via first class<br />
$param[sim] = "yes";</p>
<p>//we are only simulating a broadcast<br />
foreach($param as $key=&gt;$val)</p>
<p>//traverse through each member of the param array<br />
{<br />
$request.= $key."=".urlencode($val);<br />
//we have to urlencode the values<br />
$request.= "&amp;";<br />
//append the ampersand (&amp;) sign after each paramter/value pair<br />
}</p>
<p>$request = substr($request, 0, strlen($request)-1);<br />
//remove the final ampersand (&amp;) sign from the request<br />
/*This will produce the following request:username=abcdef&amp;password=12345&amp;<br />
msg=This+is+sample+message.&amp;to=447768254545%7C447956219273%<br />
7C447771514662&amp;from=MyCompany&amp;route=frst&amp;sim=yes */</p>
<p>?&gt;</code></p>
<h2 style="font-family: Georgia; margin-top: 40px; margin-bottom: 10px; font-size: 1.4em;">Step 2: Open up our connection with TM4B and send the request</h2>
<p style="color: #333333;">In step 0, we saw that the request could be actioned by pasting it into the browser window. But what we really want is for this to take place behind the scenes and we wouldn&#8217;t want anyone knowing our username and password.</p>
<p style="color: #333333;">The following 2 pieces of code do exactly that. They open up a connection with the gateway, send the SMS message(s) and collect their message ID&#8217;s which are presented within the response header.</p>
<h3 style="font-family: Georgia; margin-top: 20px; margin-bottom: 0px; font-size: 1.2em;">Method 1 : fosckopen method</h3>
<p><code style="border: 1px solid #cccccc; padding: 10px; font-size: 1.2em; display: block; background-color: #efefef; font-family: Courier,'Courier New',monospace; color: #ff6600;">&lt;?php<br />
//First prepare the info that relates to the connection<br />
$host = "tm4b.com";<br />
//although you can use an ip address, it is easier to just use tm4b.com<br />
$request_length = strlen($request);<br />
// when we post the header, we have to also include it's length<br />
$script = "/client/api/send.php";<br />
$method = "POST";<br />
//Replace with "GET" if required.<br />
if($method=="GET") $script .= "?$request";<br />
//Appends the request if "GET" is being used.<br />
//Now comes the header which we are going to post. This is where our messages details will be sent over.<br />
$header = "$method<br />
$script HTTP/1.1rn".<br />
//"Host: $hostrn". "User-Agent: HTTP/1.1rn". "Content-Type: application/x-www-form-urlencodedrn". "Content-Length: $request_lengthrn". "Connection: closernrn". "$requestrn";<br />
//Now we open up the connection<br />
$socket = @fsockopen($host, 80, $errno, $errstr);<br />
if ($socket) //if its open, then...<br />
{ fputs($socket, $header);<br />
// send the details over<br />
while(!feof($socket)) $output[] = fgets($socket);<br />
//get the results<br />
fclose($socket);<br />
}<br />
//print_r($output);<br />
//the message id's will be kept in one of the $output values<br />
?&gt;</code></p>
<p style="color: #333333;">Whilst fsockopen may be more familar to most of us, it can only handle non-secure URL&#8217;s. Furthermore, difficulty may be experienced when parsing responses for large requests (i.e. hundreds of messages) as the response is transferred in chunks.</p>
<h3 style="font-family: Georgia; margin-top: 20px; margin-bottom: 0px; font-size: 1.2em;">Method 2 : Curl method</h3>
<p style="color: #333333;">Whilst &#8220;Curl&#8221; might sound new, it is a really cool way of connecting and communicate to many different types of servers. You can find more info in the <a href="http://www.theukwebdesigncompany.com/php/manual/modules.php?name=PHP_Manual&amp;page=ref.curl.html">PHP Manual</a>.</p>
<p><code style="border: 1px solid #cccccc; padding: 10px; font-size: 1.2em; display: block; background-color: #efefef; font-family: Courier,'Courier New',monospace; color: #ff6600;">&lt;?php<br />
$url = https://www.tm4b.com/client/api/send.php;<br />
</code></p>
<p style="color: #333333;"><code style="border: 1px solid #cccccc; padding: 10px; font-size: 1.2em; display: block; background-color: #efefef; font-family: Courier,'Courier New',monospace; color: #ff6600;">//although we have used https, you can also use http<br />
$ch = curl_init();<br />
//initialize curl handle<br />
curl_setopt($ch, CURLOPT_URL, $url);<br />
//set the url<br />
curl_setopt($ch, CURLOPT_RETURNTRANSFER,1);<br />
//return as a variable<br />
curl_setopt($ch, CURLOPT_POST, 1);<br />
//set POST method<br />
curl_setopt($ch, CURLOPT_POSTFIELDS, $request);<br />
//set the POST variables<br />
$response = curl_exec($ch);<br />
//run the whole process and return the response<br />
curl_close($ch);<br />
//close the curl handle<br />
//print $response;<br />
//show the result onscreen for debugging<br />
?&gt;</code>
</p>
<p style="color: #333333;">That&#8217;s It!!! No more. Now you should know how to send one or more SMS messages through an SMS Gateway. By the way, I think Curl is the better, neater and quicker option of the two (assuming your version of PHP supports it) as it can send thousands of messages in one go, gives no problems in parsing the message ID&#8217;s and uses either a secure or non-secure url.</p>
<p></span></p>


<p>Related posts:<ol><li><a href='http://webnesbay.com/perl-sockets-and-tcpip-networking/' rel='bookmark' title='Permanent Link: Sockets and TCP/IP Networking using PERL'>Sockets and TCP/IP Networking using PERL</a></li>
<li><a href='http://webnesbay.com/send-sms-using-perl/' rel='bookmark' title='Permanent Link: Send sms using perl'>Send sms using perl</a></li>
<li><a href='http://webnesbay.com/sending-data-via-xmlhttprequest-post-in-php/' rel='bookmark' title='Permanent Link: Sending data via XMLHttpRequest POST in PHP'>Sending data via XMLHttpRequest POST in PHP</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://webnesbay.com/sending-sms-through-http-using-php/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>
