RSS

Category Archives: Mobiles

How Webmasters Can Use SMS for Success – Part I

As a webmaster, your experience with SMS as a business tool might simply be a marketer who came to you with a plan for building a mobile marketing database, and requests for API hooks into an SMS database with a provider somewhere.

But what I’m talking about in this two-part series is how you (yes, you webmaster) can use the benefits of SMS messaging for your own success.

In today’s post, I will focus on the uses of text messaging to help you succeed in the managing and operations of your sites and servers.

First of all, let’s discuss what makes SMS an ideal fit for the webmaster.

Monitor servers when voice and email isn’t an option

Whether you have a smartphone or not, when you are out on a day-off excursion with the family to the beach, you probably don’t get very good mobile coverage. Certainly, voice will be patchy, and you can probably forget consistent 3G connectivity for email .

How will you know if a server goes down?

SMS. That’s how.

The small data size allows SMS messages to get through to you when voice and data services aren’t fully available. You could be in a region without 3G services at all and still receive SMS messages from your servers.

If you receive email alerts from your servers, you can receive SMS. By integrating a service such as Email to SMS or an SMS alert from a reputable text message provider, you can either get both the email and SMS sent to you or have emails from a specific mailbox forwarded to your mobile as text messages. Even if you don’t have a smartphone, you can still receive emergency SMS messages in this way.

Smart.

Query and response via SMS API

With an SMS gateway integrated via API, you can create custom scripts in Java, Perl, PHP, Ruby and Python to monitor virtually any aspect of your web servers. This could allow alerts to be sent to you via SMS, or perhaps more usefully, you could actively query your servers via text messages no matter where you are.

With experience, you’ll be able to expand how you use SMS for your own success, and in the Part II of the series, I’ll cover how you can use text messaging for success with your company, customers and clients.

 
Leave a comment

Posted by on February 10, 2012 in Mobiles, Tips, Tricks, Web Services

 

Tags: , ,

Festival of colors – Happy Holi

http://pics.egreeting.indiatimes.com/lang_english/holi/hli004.swf

happy holi

 
1 Comment

Posted by on February 27, 2010 in Mobiles

 

Tags: , , , , , , , , , ,

Happy New Year 2010

http://www.youtube.com/v/djzmVXwn9MU&hl=en_US&fs=1&

1+2-(3-4-5)*6*7*8-9 = 2010
http://www.svnlabs.com

 
Leave a comment

Posted by on December 31, 2009 in Mobiles

 

Tags: , , , , ,

We wish you a merry christmas

http://www.youtube.com/v/ONyXSnL2LtA&hl=en_US&fs=1&

 
Leave a comment

Posted by on December 25, 2009 in Mobiles

 

Tags: , , ,

Get Mobile Information Header

The User Agent Profile (UAProf) is used for capturing capability and preference information for wireless devices. This information can be used to detect various types of HTTP headers and other properties for visitor’s mobile device.

Apache provide some useful HTTP X Header information for WAP… which detect user-agent and other hardware/software information.

Mobile - Header Information on WAP

Mobile - Header Information on WAP

Source:

http://en.wikipedia.org/wiki/UAProf
http://code.google.com/p/mobiledevicedetector/
http://mobiforge.com/developing/blog/useful-x-headers
http://wapreview.com/?id=149
http://mobiforge.com/developing/story/device-detection-cloud-deviceatlas-personal
http://mobiforge.mobi/developing/story/mobile-sites-with-joomla-cms?dm_switcher=true
http://www.idelfuschini.it/it/apache-mobile-filter-v2x.html
http://www.dpinyc.com/literature/resources/code-bank/php-lightweight-device-detection/
http://logme.mobi/query/index.php

 
 

Tags: , , , , , , , , , , , , ,

Soap Client for MMS

Web services are widely supported the major technologies..
There are some ways to make web services: XML-RPC, SOAP and REST

here is the demo in nuSOAP for sending MMS to mobiles using MM7 protocol….

<?
// Pull in the NuSOAP code
require_once(‘nusoap.php’);
require_once(‘nusoapmime.php’);

$wsurl = WEBSERVICEURL;
$operation = “SubmitReq”;
$username = USERNAME;
$password = PASSWORD;
$vaspid = VASPID;
$vasid = VASID;
$shortcode = ShortCode;
$mobileno = NUMBER;  // with country code
$msg = MESSAGE;

$mms = “svnlabs.gif”;

$TransactionID = time();

$namespace[]= “http://www.3gpp.org/ftp/Specs/archive/23_series/23.140/schema/REL-6-MM7-1-4&#8221;;
$ns= “http://www.3gpp.org/ftp/Specs/archive/23_series/23.140/schema/REL-6-MM7-1-4&#8221;;
$mm7version = “6.8.0”;

$proxyhost = isset($_POST[‘proxyhost’]) ? $_POST[‘proxyhost’] : ”;
$proxyport = isset($_POST[‘proxyport’]) ? $_POST[‘proxyport’] : ”;
$proxyusername = isset($_POST[‘proxyusername’]) ? $_POST[‘proxyusername’] : ”;
$proxypassword = isset($_POST[‘proxypassword’]) ? $_POST[‘proxypassword’] : ”;
$useCURL = isset($_POST[‘usecurl’]) ? $_POST[‘usecurl’] : ‘0’;

$client = new nusoap_client_mime($wsurl, false,
$proxyhost, $proxyport, $proxyusername, $proxypassword);

// Check for an error
$err = $client->getError();
if ($err) {
// Display the error
echo ‘<p><b>Constructor error: ‘ . $err . ‘</b></p>’;
// At this point, you know the call that follows will fail
}

$client->setCredentials($username, $password);

$client->soap_defencoding = ‘UTF-8’;

$soapaction = “”;

$client->usedNamespaces=$namespace;

$headers = ‘<mm7:TransactionID xmlns:mm7=”‘.$ns.'” mm7:mustUnderstand=”1″>’.$TransactionID.'</mm7:TransactionID>’;

$client->setHeaders($headers);

$params = array(‘MM7Version’=>$mm7version,
‘SenderIdentification’=>array(
‘VASPID’=>$vaspid,’VASID’ =>$vasid,
‘SenderAddress’=>array(‘ShortCode’=>$shortcode)),
‘Recipients’=> array(‘To’=>array(‘Number’=>$mobileno)),
‘DeliveryReport’=>’true’,
‘Subject’=>$msg,
‘Content’=>’mycontentgeneric’);

$client->setUseCurl($useCURL);
$client->setHTTPEncoding(‘deflate, gzip’);
$cid = $client->addAttachment(”, $mms, “image/gif”, “svnMMS”);

$result = $client->call($operation, $params, $ns, $soapaction,$headers);

if ($client->fault) {
echo ‘<h2>Fault</h2><pre>’; print_r($result); echo ‘</pre>’;
} else {
$err = $client->getError();
if ($err) {
echo ‘<h2>Error</h2><pre>’ . $err . ‘</pre>’;
} else {
echo ‘<h2>Result</h2><pre>’; print_r($result); echo ‘</pre>’;
echo ‘<h2>Attachments</h2><pre>’;
$attachments = $client->getAttachments();
foreach ($attachments as $att) {
echo ‘Filename: ‘ . $att[‘filename’] . “\r\n”;
echo ‘Content-Type: ‘ . $att[‘contenttype’] . “\r\n”;
echo ‘cid: ‘ . htmlspecialchars($att[‘cid’], ENT_QUOTES) . “\r\n”;
echo htmlspecialchars($att[‘data’], ENT_QUOTES);
echo “\r\n”;
}
echo ‘</pre>’;
}
}

echo ‘<h2>Request</h2><pre>’ . htmlspecialchars($client->request, ENT_QUOTES) . ‘</pre>’;
echo ‘<h2>Response</h2><pre>’ . htmlspecialchars($client->response, ENT_QUOTES) . ‘</pre>’;

?>

 
2 Comments

Posted by on October 20, 2009 in LAMP, Mobiles, php, Tips, Web Services

 

Tags: , , , , ,

Mobile Search Engine

Best Search Engines

wap.google.com
search.yahoo.com
m.ask.com
surfwap.com
http://www.guruji.com
tajonline.com/std-codes
indiapost.gov.in

Happy Searching……  🙂

 
Leave a comment

Posted by on June 27, 2009 in Mobiles, Web Application

 

Tags: , , , , , , ,