Big Problem of Samsung Android Phones

Samsung just announced a list of smartphones that will get a software update to the latest version of Android.

The update brings Google's five-month-old version of Android, Ice Cream Sandwich, to Samsung's popular Galaxy S II phones on AT&T and Sprint.

Most Android phones today still run a version called Gingerbread, which is about a year and a half old.

Samsung's list breaks the devices down by carrier, but doesn't provide specific dates for when the new version of Android will be available.

Notably absent is the T-Mobile version of the Galaxy S II. Samsung says it is still in talks with the carrier to bring Ice Cream Sandwich to that phone.

The list also confirms that the original Galaxy S, one of Samsung's most successful smartphone models, will not get the upgrade. We first got word that the Galaxy S would miss Ice Cream Sandwich in December, leaving about 10 million customers stuck on an outdated version of Android. Samsung says the Galaxy S hardware isn't powerful enough for the upgrade.

The long wait just demonstrates one of the biggest problems with Google's Android. It takes months and months after a new release for hardware partners and carriers to adopt the new version. By then, Google is usually gearing up for the version after that.

The only phones that are guaranteed to get the most recent version of Android are Google's Nexus-branded devices like the Galaxy Nexus. If you own anything else, you have to wait a long time.

The Galaxy S II upgrade delay isn't totally Samsung's fault. Carrier partners have to test software updates for bugs before giving them the green light. That takes time. It's very likely the Samsung's work is done and Ice Cream Sandwich is ready to go for all these devices. Samsung is just waiting on each carrier to finish testing.

Move Blogger to WordPress Hosting


Now wordpress providing service to import data from blogger to wordpress host service. If you have been planning to migrate your blog from Blogger to WordPress but found the whole process of importing blogger posts with comments into WordPress too technical and complicated, here’s a very good news for you.

You can now move all blogs posts and comments from your Blogger account into your WordPress blog with the click of a button – it’s so simple that even mom can do it as long as her blog is hosted on the new Blogger platform.

WordPress.com and self-hosted Worpress 2.2 installations ship default with a free Blogger Importer plugin that can be accessed from your WordPress dashboard (Tool -> Import -> Blogger)

All you have to do is authorize WordPress to use your Google account and WordPress will display a list of blogs associated with Blogger account. Select the blog that you like to import in blogger and click import. Voila!





All your posts, comments, categories (Blogger labels) and users will be visible in WordPress in few minutes depending on the size of your Blogger Blog.

Even if you have no plans to switch from Blogger to WordPress, this is still an excellent option to create a backup of all the posts and comments from the Blogger blog.

For Geeks: This WordPress-Blogger Importer will not change anything in your Blogger hosted blog – neither the timestamp formats nor the blogger templates. It simple uses the Google Blogger API to fetch the blogger posts into WordPress.

The Blogger Importer script will however not import the Blogger images to your WordPress installation. And there’s no way to specify filters on your Blogger posts – everything will be imported in one go.

Remove Unwant Links from WordPress Footer


In face some free wordpress theme not allow you to change the footer credit link. If you are using WordPress themes created by others , it is essential that you maintain the credit link .But there are some cases where the creator links to some health or gambling sites to the WordPress theme footer .







These links would affect the search engine rankings of the linking blog . Credit links on WordPress theme footer are usually encrypted and normal users will not be able to remove those unwanted links .So here I am dealing with a very simple  method to remove unwant credit links from WordPress footer . We can play with any part of the  WordPress themes ,if they are  released under GP license . You don’t need to be an experience PHP programmer to remove credit links from WordPress footer . Before you remove this credit link read license carefully.

- The first step you need to go download software for open php file Notepad++ .and then go to open wordpress theme in your computer.

open Footer.php with Notepad++

you will see code encrypted like image below Screenshots  credit links from WordPress theme footer  :



















- Using Firefox browser to view source code footer with no encrypted code .
=> Open Firefox browser => view your theme (website) => right click => view page source (see on image below)


















And then find <div id=”footer”> at the footer page
Select from  <div id=”footer”> to </html>and then copy this select source code
=> Go to footer.php remove all encrypted code and past code that you have copy from firefox.
=> Save it. Good luck.

These are actaully the code for encrypted footer section containing unwanted credit links .

Now you have removed unwanted credit links from your WordPress footer . Save the footer.PHP and Open up your blog to see what happens now .

( Please note that you should maintain credit links for copyrighted WordPress themes )


Google Music

Google Inc has launched its Google Music service which is mostly self-explanatory. To access it one have to go music.Google.com and start uploading or purchasing music that you can then listen to on your computer, or on your Android phone, Google TV, or iPhone. But it is not so easy like above mentions lines.

Following are few tips that might help you clear some doubts in using Google Music:

1. It can automatically back up iTunes and most other music flies. When you set up the service, you can tell it to upload your iTunes library, your Windows Media Player library, or any file folders you designate. The service supports more file types than competitors iTunes and Amazon Cloud Player. This includes not just the MP3 and AAC formats those support, but also WMA, OGG, and FLAC. The latter are saved as 320 Kbps, even if your originals are of higher quality.

2. It's two separate sites. Google Music is the player and library, but you buy music on the Android Market site—whether or not you ever use any Android device. From the Google Music site, you can also download an app, Music Manager, that scans your PC or Mac for music files and upload it to your cloud-based music locker. The Android Market is where you browse, preview, and purchase new music, which then appears on your Google Music pages or in your Android Music app.

3. You can't download songs to another computer unless you bought them on Google Music. iTunes Match and Amazon Cloud Player let you download stored music to any computer or compatible mobile device.

4. Some Android devices fully support it, some don't. There is, of course, an Android app, but that hasn't yet been updated with all the new features, and some phones and tablets still don't see music in the Android Market app yet. The whole point of Google Music is to finally give Android mobile users an equivalent to the iTunes services enjoyed by iPhone and iPad users. Google states that this will be updated within days, but it's unclear which phones and tablets' Android versions will be updated on what schedule.

5. There's no official iPhone app, but music.google.com works on iOS devices. The Google Music site is even formatted well for iPhone screens. You can listen to any music in your Google Music cloud locker and even buy music from the separate Android Store, but you can't back up music on the iOS device to Google Music. Nor can you download music bought in the Android Music store to the iPhone directly.

6. There's tons of free music. But you need to give Google your credit card information even for the free stuff. This could be a concern to those who worry about Google profiling them.

7. You can only share purchased songs to Google+. If you do so, anyone following your Google+ profile will be able to stream the full song once. A Buy button is prominently displayed. Songs you uploaded but didn't buy at the Android Market don't get this treatment.

10 Reasons To Pick Android Over iPhone

The smartphone race is pretty much a two-man battle right now. There's Google's Android operating system and Apple's iOS for iPhone.

Both are good.

But when it comes to certain features, Android may be a better option for you than iPhone. We picked out the stuff Android phones (and in some cases, tablets) tend to do better than the iPhone.

1. Integration with social networks and other online services:
We share a lot of stuff on our phones on a lot of different services. On iPhone, we usually have to open up a separate app if we want to post something to Facebook, LinkedIn, Evernote, Dropbox, and many others.
With Android, all those services become baked into the operating system as soon as you install the app. Want to share a photo you just took? You don't even need to leave the camera app. Just tap the service you want to push it to. Easy.

2. Android still does multitasking better:
We still can't get over how bad multitasking is on iPhone. It's insanely difficult to reopen the app you want.
Android's solution is much more elegant, especially in the latest version. All you do is tap the multitasking button in the taskbar and a list of your most recent apps appears over your screen. Tap the app to open or swipe across to close it for good.


3. More choice for default apps for web browsing, email, calendar, etc:
There are a handful of alternative browsers, calendars, and email apps for iPhone. A lot of them are good. Unfortunately, you can't set them as your default app. For example, even if you're using the excellent email app Sparrow for iPhone, the iPhone's native email app launches whenever you click on an email address from a website or other app.
Android gives you the choice to use any email client, browser, calendar, etc. as your default app. That means you can always use the app you like the most.

4. Perfect integration with all the best Google apps and services:
Google makes some of the best web-based apps around: Gmail, Google Calendar, Google Docs, and Maps, to name a few. With an Android phone all you have to do is log in with your Google account once and everything syncs up.
Apple offers similar features with iCloud, but its apps and services just aren't as good as Google's.

5. Customizable home screen:
All Android phones give you the option to fully customize your home screen. Instead of just rows and rows of apps like you see on the iPhone, you can add widgets, control panels, and even shortcuts for speed dialing your favorite contacts.

6. High-end Android phones tend to implement the latest and greatest hardware first:
Since new Android phones are coming out all the time, you're more likely to get the latest and greatest hardware before Apple adds it to the iPhone. For example, Android phones were the first to offer 4G data speeds, killer battery life (like the Droid Razr Maxx), and cameras with amazing shutter speeds (like the HTC One X).
Apple is usually slower to adopt the newest mobile tech.


7. No restrictions on the apps you can install:
Apple is notoriously picky about what kind of apps it lets you install on your iPhone. While Google has a similar app review process for its Google Play store, Android owners are still free to install apps from any other third-party source they want.
This process is called "sideloading" apps, and opens up Android to a lot of cool tweaks and hacks.

8. More hardware choices:
If one smartphone model doesn't cut it for you, there are dozens of Android phones to choose from. Each one has a different screen size, storage option, processor speed, price, etc. If choice in hardware is very important to you, Android is your best option.

9. Built-in navigation:
After all these years, the iPhone is still missing a built-in turn-by-turn navigation app. Google Maps is just OK if you need directions on the iPhone, but it doesn't give you the audio and visual cues that Android's app does.
We've heard rumors Apple may fix this in iOS 6, but for now, Android does maps better.

10. Expandable storage:
We store a lot of stuff on our phones. Sometimes the built-in storage isn't enough. That's why we love how many Android phones let you pop in a Micro SD card for extra storage. Plus it's a lot cheaper than spending another $100 or so on a model with more storage.

PHP & MySQL Base Visitors Counter

This example tutorial will show how to count visitors by using PHP and MySLQ, you can count all visitor visited your website by ip, hour, minute, date, month, year, page, browser, referrer and it is stored in MySQL. So you can get detail information about your visitors.

Tracking our website’s visitors is a very important step if you’re serious enough about analyzing your traffic and optimizing your pages to get the most of your visitors. There are many reasons why you should think of implementic tracking scripts (it’s crucial to know where your traffic is coming from and where it goes, wha people search, how long they stay etc.), you could increase sales, you could optimize your pages to increase page hits, you could make lots of changes to increase your Adsense profits and the list goes on and on.

Bellow is tutorial how to count visitors using php and MySQL, follow with this step :

First step you need create visitors_table. Copy code bellow and pasted it Query SQL, you will get a table “visitors_table’.

CREATE TABLE `visitors_table` (
`ID` INT( 11 ) NOT NULL AUTO_INCREMENT PRIMARY KEY ,
`visitor_ip` VARCHAR( 32 ) NULL ,
`visitor_browser` VARCHAR( 255 ) NULL ,
`visitor_hour` SMALLINT( 2 ) NOT NULL DEFAULT '00',
`visitor_minute` SMALLINT( 2 ) NOT NULL DEFAULT '00',
`visitor_date` TIMESTAMP( 32 ) NOT NULL DEFAULT CURRENT_TIMESTAMP ,
`visitor_day` SMALLINT( 2 ) NOT NULL ,
`visitor_month` SMALLINT( 2 ) NOT NULL ,
`visitor_year` SMALLINT( 4 ) NOT NULL ,
`visitor_refferer` VARCHAR( 255 ) NULL ,
`visitor_page` VARCHAR( 255 ) NULL
) TYPE = MYISAM ;


Ok. We have our database ready for storing our visitors info We will need to setup a script which will store the visitor’s info in our database so let’s start writing it. We need the ip address of our visitor so we will get it using the following method.

$visitor_ip = GetHostByName($REMOTE_ADDR);

Next step we need the browser type of our visitor and we will use this function:

function getBrowserType () {
if (!empty($_SERVER['HTTP_USER_AGENT']))
{
   $HTTP_USER_AGENT = $_SERVER['HTTP_USER_AGENT'];
}
else if (!empty($HTTP_SERVER_VARS['HTTP_USER_AGENT']))
{
   $HTTP_USER_AGENT = $HTTP_SERVER_VARS['HTTP_USER_AGENT'];
}
else if (!isset($HTTP_USER_AGENT))
{
   $HTTP_USER_AGENT = '';
}
if (ereg('Opera(/| )([0-9].[0-9]{1,2})', $HTTP_USER_AGENT, $log_version))
{
   $browser_version = $log_version[2];
   $browser_agent = 'opera';
}
else if (ereg('MSIE ([0-9].[0-9]{1,2})', $HTTP_USER_AGENT, $log_version))
{
   $browser_version = $log_version[1];
   $browser_agent = 'ie';
}
else if (ereg('OmniWeb/([0-9].[0-9]{1,2})', $HTTP_USER_AGENT, $log_version))
{
   $browser_version = $log_version[1];
   $browser_agent = 'omniweb';
}
else if (ereg('Netscape([0-9]{1})', $HTTP_USER_AGENT, $log_version))
{
   $browser_version = $log_version[1];
   $browser_agent = 'netscape';
}
else if (ereg('Mozilla/([0-9].[0-9]{1,2})', $HTTP_USER_AGENT, $log_version))
{
   $browser_version = $log_version[1];
   $browser_agent = 'mozilla';
}
else if (ereg('Konqueror/([0-9].[0-9]{1,2})', $HTTP_USER_AGENT, $log_version))
{
   $browser_version = $log_version[1];
   $browser_agent = 'konqueror';
}
else
{
   $browser_version = 0;
   $browser_agent = 'other';
}
return $browser_agent;
}

Here is browser types code:

$visitor_browser = getBrowserType();

Now we need to define hour, minute, day, month and year of visitors:

$visitor_hour = date("h");
$visitor_minute = date("i");
$visitor_day = date("d");
$visitor_month = date("m");
$visitor_year = date("y");

And next we need to find out who is sending us visitors so we can thank them.

$visitor_refferer = gethostbyname($HTTP_REFERER);

So to get the full url of our page we will use this function:

function selfURL() {
$s = empty($_SERVER["HTTPS"]) ? '' : ($_SERVER["HTTPS"] == "on") ? "s" : "";
$protocol = strleft(strtolower($_SERVER["SERVER_PROTOCOL"]), "/").$s;
$port = ($_SERVER["SERVER_PORT"] == "80") ? "" : (":".$_SERVER["SERVER_PORT"]);
return $protocol."://".$_SERVER['SERVER_NAME'].$port.$_SERVER['REQUEST_URI'];
}
function strleft($s1, $s2) { return substr($s1, 0, strpos($s1, $s2));
}

Now we have our page, we will store it on a variable:

$visited_page = selfURL();

We need to create a new page which will be used to connect to the database.

It is visitors_connections.php. Copy this code and save it:

$hostname_visitors = "host";
$database_visitors = "database";
$username_visitors = "username";
$password_visitors = "password";

$visitors = mysql_connect($hostname_visitors, $username_visitors,
 $password_visitors) or rigger_error(mysql_error(),E_USER_ERROR);

function getBrowserType () {
if (!empty($_SERVER['HTTP_USER_AGENT']))
{
   $HTTP_USER_AGENT = $_SERVER['HTTP_USER_AGENT'];
}
else if (!empty($HTTP_SERVER_VARS['HTTP_USER_AGENT']))
{
   $HTTP_USER_AGENT = $HTTP_SERVER_VARS['HTTP_USER_AGENT'];
}
else if (!isset($HTTP_USER_AGENT))
{
   $HTTP_USER_AGENT = '';
}
if (ereg('Opera(/| )([0-9].[0-9]{1,2})', $HTTP_USER_AGENT, $log_version))
{
   $browser_version = $log_version[2];
   $browser_agent = 'opera';
}
else if (ereg('MSIE ([0-9].[0-9]{1,2})', $HTTP_USER_AGENT, $log_version))
{
   $browser_version = $log_version[1];
   $browser_agent = 'ie';
}
else if (ereg('OmniWeb/([0-9].[0-9]{1,2})', $HTTP_USER_AGENT, $log_version))
{
   $browser_version = $log_version[1];
   $browser_agent = 'omniweb';
}
else if (ereg('Netscape([0-9]{1})', $HTTP_USER_AGENT, $log_version))
{
   $browser_version = $log_version[1];
   $browser_agent = 'netscape';
}
else if (ereg('Mozilla/([0-9].[0-9]{1,2})', $HTTP_USER_AGENT, $log_version))
{
   $browser_version = $log_version[1];
   $browser_agent = 'mozilla';
}
else if (ereg('Konqueror/([0-9].[0-9]{1,2})', $HTTP_USER_AGENT, $log_version))
{
   $browser_version = $log_version[1];
   $browser_agent = 'konqueror';
}
else
{
   $browser_version = 0;
   $browser_agent = 'other';
}
return $browser_agent;
}

function selfURL() {
$s = empty($_SERVER["HTTPS"]) ? '' : ($_SERVER["HTTPS"] == "on") ? "s" : "";
$protocol = strleft(strtolower($_SERVER["SERVER_PROTOCOL"]), "/").$s;
$port = ($_SERVER["SERVER_PORT"] == "80") ? "" : (":".$_SERVER["SERVER_PORT"]);
return $protocol."://".$_SERVER['SERVER_NAME'].$port.$_SERVER['REQUEST_URI'];
}

function strleft($s1, $s2) { return substr($s1, 0, strpos($s1, $s2)); }

function paginate($start,$limit,$total,$filePath,$otherParams) {
    global $lang;

    $allPages = ceil($total/$limit);

    $currentPage = floor($start/$limit) + 1;

    $pagination = "";
    if ($allPages>10) {
        $maxPages = ($allPages>9) ? 9 : $allPages;

        if ($allPages>9) {
            if ($currentPage>=1&&$currentPage<=$allPages) {
                $pagination .= ($currentPage>4) ? " ... " : " ";

                $minPages = ($currentPage>4) ? $currentPage : 5;
                $maxPages = ($currentPage<$allPages-4) ? $currentPage : $allPages - 4;

                for($i=$minPages-4; $i<$maxPages+5; $i++) {
                    $pagination .= ($i == $currentPage) ? "<a href=\"#\"
                    class=\"current\">".$i."</a> " : "<a href=\"".$filePath."?
                    start=".(($i-1)*$limit).$otherParams."\">".$i."</a> ";
                }
                $pagination .= ($currentPage<$allPages-4) ? " ... " : " ";
            } else {
                $pagination .= " ... ";
            }
        }
    } else {
        for($i=1; $i<$allPages+1; $i++) {
        $pagination .= ($i==$currentPage) ? "<a href=\"#\" class=\"current\">".$i."</a> "
        : "<a href=\"".$filePath."?start=".(($i-1)*$limit).$otherParams."\">".$i."</a> ";
        }
    }

    if ($currentPage>1) $pagination = "<a href=\"".$filePath."?
    start=0".$otherParams."\">FIRST</a> <a href=\"".$filePath."?
    start=".(($currentPage-2)*$limit).$otherParams."\"><</a> ".$pagination;
    if ($currentPage<$allPages) $pagination .= "<a href=\"".$filePath."?
    start=".($currentPage*$limit).$otherParams."\">></a> <a href=\"".$filePath."?
    start=".(($allPages-1)*$limit).$otherParams."\">LAST</a>";

    echo '<div class="pages">' . $pagination . '</div>';
}

Now we have all the details information for store in MySQL,  So we need to write them into our database. We will create a new file called “visitor_tracking.php” and include it in every page that we want to track:



require_once('visitors_connections.php');//the file with connection code and functions
//get the required data

$visitor_ip = GetHostByName($REMOTE_ADDR);
$visitor_browser = getBrowserType();
$visitor_hour = date("h");
$visitor_minute = date("i");
$visitor_day = date("d");
$visitor_month = date("m");
$visitor_year = date("Y");
$visitor_refferer = GetHostByName($HTTP_REFERER);
$visited_page = selfURL();

//write the required data to database
mysql_select_db($database_visitors, $visitors);
$sql = "INSERT INTO visitors_table (visitor_ip, visitor_browser, visitor_hour,
 visitor_minute, visitor_date, visitor_day, visitor_month, visitor_year,
 visitor_refferer, visitor_page) VALUES ('$visitor_ip', '$visitor_browser',
 '$visitor_hour', '$visitor_minute', '$visitor_date', '$visitor_day', '$visitor_month',
 '$visitor_year', '$visitor_refferer', '$visitor_page')";
$result = mysql_query($sql) or trigger_error(mysql_error(),E_USER_ERROR);

To display information detail about visitors, we need to create a new page called “display_visits.php”

Go to create new page PHP and then copy code bellow and save it.

require_once('visitors_connections.php');//the file with connection code and functions

if ($_GET['start'] == "") $start = 0;
else $start = $_GET['start'];
$limit = 15;

$additionalQuery = "SQL_CALC_FOUND_ROWS ";

mysql_select_db($database_visitors, $visitors);
$query_visitors = "(SELECT ".$additionalQuery." * FROM visitors_table WHERE";

if ($_POST['day']!="") {
$query_visitors .= " visitor_day = '".$_POST['day']."'";
} else {
$query_visitors .= " visitor_day = ".date("d")."";

if ($_POST['month']!="") {
$query_visitors .= " AND visitor_month = '".$_POST['month']."'";
} else {
$query_visitors .= " AND visitor_month = ".date("m")."";
}

if ($_POST['year']!="") {
$query_visitors .= " AND visitor_year = '".$_POST['year']."'";
} else {
$query_visitors .= " AND visitor_year = ".date("Y")."";
}}
$query_visitors .= " LIMIT $start,$limit)";
$insert_visitors = mysql_query($query_visitors, $visitors) or die(mysql_error());
$row_visitors = mysql_fetch_assoc($insert_visitors);
$totalRows_visitors = mysql_num_rows($insert_visitors);

$nbItems = mysql_result(mysql_query("Select FOUND_ROWS() AS nbr"),0,"nbr");
if ($nbItems>($start+$limit)) $final = $start+$limit;
else $final = $nbItems;

echo '<table style="width:100%; border:1px dashed #CCC" cellpadding="3">
      <form id="form1" name="form1" method="post" action="display_visits.php">
       <tr>
        <td>day
        <select name="day" id="day">
          <option value="" selected="selected"></option>
          <option value="01">01</option>
          <option value="02">02</option>
          <option value="03">03</option>
          <option value="04">04</option>
          <option value="05">05</option>
          <option value="06">06</option>
          <option value="07">07</option>
          <option value="08">08</option>
          <option value="09">09</option>
          <option value="10">10</option>
          <option value="11">11</option>
          <option value="12">12</option>
          <option value="13">13</option>
          <option value="14">14</option>
          <option value="15">15</option>
          <option value="16">16</option>
          <option value="17">17</option>
          <option value="18">18</option>
          <option value="19">19</option>
          <option value="20">20</option>
          <option value="21">21</option>
          <option value="22">22</option>
          <option value="23">23</option>
          <option value="24">24</option>
          <option value="25">25</option>
          <option value="26">26</option>
          <option value="27">27</option>
          <option value="28">28</option>
          <option value="29">29</option>
          <option value="30">30</option>
          <option value="31">31</option>
        </select></td>
        <td>Month
        <select name="month" id="month">
          <option value="" selected="selected"></option>
          <option value="1">1</option>
          <option value="2">2</option>
          <option value="3">3</option>
          <option value="4">4</option>
          <option value="5">5</option>
          <option value="6">6</option>
          <option value="7">7</option>
          <option value="8">8</option>
          <option value="9">9</option>
          <option value="10">10</option>
          <option value="11">11</option>
          <option value="12">12</option>
        </select></td>
        <td>Year
        <select name="year" id="year">
          <option value="" selected="selected"></option>
          <option value="2007">2007</option>
        </select></td>
        <td><input type="submit" name="Submit" value="Submit" /></td>
        <td></td>
       </tr>';

echo '<tr>
        <td style="width:15%;border-bottom:1px solid #CCC">IP</td>
        <td style="width:15%;border-bottom:1px solid #CCC">Browser</td>
        <td style="width:15%;border-bottom:1px solid #CCC">Time</td>
        <td style="width:30%;border-bottom:1px solid #CCC">Refferer</td>
        <td style="width:25%;border-bottom:1px solid #CCC">Page</td>
       </tr>';

do {

echo '<tr onmouseout="this.style.backgroundColor=\'\'"
      onmouseover="this.style.backgroundColor=\'#EAFFEA\'">
        <td>'.$row_visitors['visitor_ip'].'</td>
        <td>'.$row_visitors['visitor_browser'].'</td>
        <td>'.$row_visitors['visitor_hour'].':'.$row_visitors['visitor_minute'].'</td>
        <td>'.$row_visitors['visitor_refferer'].'</td>
        <td>'.$row_visitors['visitor_page'].'</td>
       </tr>';
} while ($row_visitors = mysql_fetch_assoc($insert_visitors));
paginate($start,$limit,$nbItems,"display_visits.php","");

There’s only one small step to do and we’re ready to see some results. We need to include the following line in every page that we need to track results for:

include('visitor_tracking.php');

To see the results please call page “display_visits.php” in your browser. Ok now I’m testing it, it works fine, I hope you will find it useful somewhere in your website. Good Luck…!

Instagram Alternative Apps for Android

Are you also the one who wants to ditch Instagram after its acquisition by Facebook? Don’t worry there are other handful of Instagram alternatives Apps for android users. To be honest, I really like the service and for me it doesn’t matter much, its Developer’s Mike and Kevin who have worked exceptionally hard to create the outstanding photo based social network and now they will have the Facebook support with them, which I guess is a good thing for both Facebook and Instagram too.
here are some Instagram Alternative Apps for Android:
 
1.  Picplz: 
With a catchphrase of “Snap a pic. Apply an effect. Share with friends everywhere!” Picplz comes with 15 editing tools, integration with Twitter and Facebook, standard 17 retro filters to choose from and you can add location in your pics. The app is giving you the Dropbox support; pics will directly copy to Dropbox when you post them to Picplz. Add stickers, edit, crop, apply frames, add descriptions and share them. Picplz is a most popular next best alternative of Instagram available for both Android and iOS.

2.  Pixlr-O-Matic:
Started its way from a web app, and turned quickly into a photo tweaking app for both Android and iOS, Pixlr-O-Matic is a cool app allows you to directly share a pic right from your webcam or your files. While Instagram comes with 18 filters, a few focusing tools, and borders that give photos that retro look, Pixlr-O-Matic is beating it up with 68 filters, 73 lighting effects and 193 borders. You can add up more than 2,000,000 possible finishes to make your photos look spectacular!

3.  Lightbox Photos:
Even if you like Instagram or any other app, you will surely going to like Lightbox Photo App for its unique feature i.e. you can get your own photo blog. The pictures you make public, will directly be posted to your own attractive Lightbox photo blog. While Instagram has only the option for private or public, Lightbox Photos allows you to set you photos private, public or unlisted so only the people you choose can see them, whether they’re members of the service or not. Another great feature of this app is that in-case you like a different camera app other than the default one, Lightbox photos will let you to click photos with any preferred app.
 
4.  Hipster:
Hipster is somewhat like Instagram, offers you the almost same snappy photo shooting with over 20 filters and borders you can apply on your photos. The app allows you to add a short note on top of your images, like you do on postcards, tag location and your friends in images and share them with your social world. It’s fast, easy to use, and probably the simplest to get started with in the roundup.

5.  StreamZoo:
To start with the honor, StreamZoo App was the Winner of ‘Best Android Photo Sharing App’ on 2011 Best App Ever Awards. StreamZoo is an addictive app, the way it turns the photo into a more of social game it’s just cool and exceptional. The app allows you to Follow @users or #hashtags, and like and comment on photos to award leaderboard points to your friends. Like Lightbox Photos App, Stream zoo also give you, your own page with uploaded images for more sharing and more than that you can also upload videos.

HTML Best Practices You Should Follow

Most of the web pages you encounter is presented to you via HTML, the world wide web’s markup language.
Following are best practices that will lead to clean and correct markup:



1. Always Declare a Doctype
The doctype declaration should be the first thing in your HTML documents. The doctype declaration tells the browser about the XHTML standards you will be using and helps it read and render your markup correctly.

2. Use Meaningful Title Tags
The <title> tag helps make a web page more meaningful and search-engine friendly. For example, the text inside the <title> tag appears in Google’s search engine results page, as well as in the user’s web browser bar and tabs.

3. Use Descriptive Meta Tags
Meta tags make your web page more meaningful for user agents like search engine spiders. The description meta attribute describes the basic purpose of your web page (a summary of what the web page contains). For each web page, you should place a consise and relevant summary inside the meta description tag.

4. Use Divs to Divide Your Layout into Major Sections
Consider dividing your web page into major sections as the first step in constructing a website design. Doing so from the start promotes clean and well-indented code. It will also help you avoid confusion and excess use of divs, especially if you are writing complex and lengthy markup.

5. Close Your Tags
Closing all your tags is a W3C specification. Some browsers may still render your pages correctly (under Quirks mode), but not closing your tags is invalid under standards.

7. Use Lower Case Markup
It is an industry-standard practice to keep your markup lower-cased. Capitalizing your markup will work and will probably not affect how your web pages are rendered, but it does affect code readability.

8. Use Alt Attributes with Images
Using a meaningful alt attribute with <img> elements is a must for writing valid and semantic code.


9. Write Consistently Formatted Code
A cleanly written and well-indented code base shows your professionalism, as well as your consideration for the other people that might need to work on your code.
Write properly indented clean markup from the start; it will increase your work’s readability.

Android smartphones beat iPhone

A new survey conducted by a private research firm in United States revealed that the Android smartphones are dominating the smartphone market with more than 36 percent market share.

Survey conducted by Nielsen found that Android smartphones have outplayed the Apple iPhone and BlackBerry to become the most popular smartphones in United States. During the survey, Nelson interviewed 65,000 users and found that about 36 percent of them are using smartphones running on Android platform.

Apple's iconic device iPhone settled in the second spot with 26 percent share, but its gap with Android has widen further. The openness and variety with the Android platform made users to think over Apple iPhone. Research In Motion's BlackBerry smartphone remained in the third spot with 23 percent share.
 
Nelson survey also found that Android owners are using more data on their mobiles. Android smartphone owners use an average of 582 MB of data each month, compared to 492 MB for iPhone owners.
 
An earlier Nelson survey conducted in 2011 to Mar 2011 revealed that 31 percent of the respondents planned to buy a new Android smartphone, while only 30 percent wanted to buy Apple iPhone. The latest survey confirmed the growing popularity of Android over other platforms.

Become a Good Web Designer

Web design is a tricky art that combines both the creative and the analytical skill sets to create something unique and visually compelling.
In this post we would like to share some useful tips for beginners to help you create great web sites when first starting out.

Page Layout

A clean and well-organized layout ensures that users don’t get lost amidst a confusing maze of links and interrelated pages. Sketch out beforehand how you want to present your information and media, as well as how you want to tie it all together. You’ll save yourself time and effort down the road by coming up with a layout strategy before you get started.
 
Site Navigation
One of the most important aspects of a practical web design layout is intuitive and easy to use navigational aids. Naturally, this starts with the homepage navigation menu, but it should be pushed to the forefront in all areas of a web site. Navigation trails at the top of the page look classy and are helpful if the reader needs to quickly go back to a specific area.

 
Typography 
Typography is at least 50% of good web design. Eye-catching fonts that aren’t overly distracting allow designers to do a lot with a little. Varying the size and font of different headers, sub-headings and content is a great way to “set off” different components for easy recognition. It’s a simple tactic to differentiate sections from one another and to keep the viewer from getting bored with your layout. Speaking of which.

User Interaction
User interaction and a smooth, non-gimmicky interface that facilitates ease of use of your website is a must nowadays. Sliding photo galleries, jQuery or MooTools enabled animations and actions and other AJAX-powered elements on your site allow for smooth intake of data. Such features allow your audience to interact with the site without breaking their reading flow or concentration.

The Color Palette
Color selection makes a huge difference when it comes to crafting a memorable and attractive web page. An incoherent color scheme that “clashes” looks gaudy and can inhibit the viewer from fully enjoying everything your site has to offer. Choosing colors that go well together and compliment your design is more art than science and can take awhile to get the hang of, but the time invested in mastering this skill is well worth it.

 
Page Optimization
Speed and responsiveness are both a front-end and a back-end issue. Javascript loading can severely bog down any site. It’s no wonder that the fastest growing browsers like Google Chrome and Firefox focus so much on Javascript engines and speed. Remember to reference scripts at the bottom of the HTML file. In addition, PHP and database performance optimization is key to a quick and functional web site.

 
Overall Focus and Goals 
Implementing a clear vision and focus is important as it gives you a rough master plan of how to go about designing your site. Ask yourself what your site is trying to accomplish and what message you want to communicate to your audience, and you’ll have a better idea of how to proceed. Good web design is all about clear communication and facilitating the sharing of ideas.


Conclusion
There are a million little tips and tricks available from many different resources online that can help you improve your game. The point is that you don’t settle for the easy option, make your your web site better. You can never stop learning, and exposing yourself to as many different sources of knowledge and inspiration as possible.
In the end, it can only make you a more competent and versatile web designer and developer.


Advantages of Selecting PHP

If you are new to PHP Web development and want to know why PHP is so popular then read this article. This article enlists some advantages of using PHP programming language for web application development.

PHP that stands for “Hypertext Preprocessor” is today’s hottest scripting language being used for developing web applications. Have you ever thought that why PHP is so popular among web developers when there are several other web-programming languages available? Do not you have any idea? Ok, no problem. Just read on this article because here in the article, we enlist the advantages of PHP Web Development:

1. It can be easily embedded into the HTML code.
2. There is no need to pay for using PHP to develop web applications and websites.
3. It provides support to almost all operating systems that include Windows, Linux, Mac, etc.
4. Implementing PHP is much easier than other programming languages like Java, Asp.net, C++, etc.
5. PHP provides compatibility to all web browsers. Be it Internet Explorer, Mozilla Firefox, Netscape, Google Chrome, Opera, or any other Web browser, PHP supports all.
6. PHP is compatible with all web servers like Apache, IIS, etc.
7. PHP Web development is highly reliable and secure because of the security features that PHP offers.
8. Provides support to all database servers, such as MSSQL, Oracle, and MySQL. Because it provides supports for almost all database servers, it is highly used in developing dynamic web applications.
9. It is the best choice to develop small as well as large websites like ecommerce websites, discussion forums, etc.
10. It offers flexibility, scalability, and faster speed in comparison to other scripting languages being used to develop websites.

These are the reasons that make PHP popular among web developers and the organizations willing to get a dynamic website. After the website is created, you may need to make further changes in it.  Doing modification in the website according to the client’s requirement is much easier and faster in PHP than any other scripting language & you can say PHP is best option of programming language

Effectively Talk to Clients

Everyone needs a website made, but not everyone can talk “tech” like we can.







 
Estimate of Computing/Technological Expertise:

 So that you know how in-depth you have to explain absolute concepts or ideas, you should first try to ascertain the individual’s computing/technology knowledge. 

Don’t underestimate a person’s knowledge:
You know that colleague who insists on explaining to you the asymmetry between HTML and (X)HTML when you’ve just finished a strict-doctype XHTML website? Don’t be that guy. People don’t like to be compensated like they’re stupid, and not being able to understand a person’s knowledge is a sure-fire way of landing yourself on his or her bad side. If you’re unsure of their authority on a accurate subject, don’t assume they don’t know anything,

Use Real Examples:
When talking about a web project, it helps to have a computer with an internet connection adjacent so that you can both communicate look at stuff that’s on the internet. For instance, if you’re trying to determine what look-and-feel a client wants for their website you’d get a more accurate answer if you were to show examples of websites that may have a allegorical theme that they clarified.

Keep it simple.
Sometimes we have a acclimation to amaze employers with technical argot and over-explanation therefore we want to show them our knowledge along with expertise. There’s no need to explain how you’re going to archetypal the web design in Photoshop. Most probably, they don’t care and you’ll only risk baffling things and adding to the client’s anticipations about a topic they’re not well-versed in.

Encourage questions:
It’s always good to figure out any questions or cravings for clarification as early as you can to avert dissatisfaction at the end. Give off the attitude that you’re always willing to answer questions and that no question is too simple or silly. If you have the luxury to meet with a client in person, you can do this by appraising their facial reactions to the things you say. If they seem misconstrued, ask: “should I explain additionally?”.

Be yourself:
A lot of web designers along with developers nowadays don’t hide the fact that they are small, young, and playful. When working in an industry that’s complicated and browbeating to outsiders, it’s a welcoming relief to find people that are normal. It can prove to be a plus when you don’t eclipse the fact that you’re just starting out in the business. It’s easier to talk to a person who’s honest, sincere, and up-front.

Success of Web Projects

I’ve had thousands of conversations about beginning startup companies, selling services online, creating profit-generating web applications and putting up blogs. circumstantially, I began to see differences that I feel are coveted in order for your own project to succeed, and I present them here.

Don't be afraid to act:
If you’re agreeable with your current salary and you need the promise of eating at least one meal a day, why change it? If you can’t commit whole-heartedly to your act, things won’t come to pass, and you’ll always put your project second on your to-do list. In accrual, when you have other arrears that take up the majority of your day, you won’t be able to commit the time along with resources needed to get things rolling. Who wants to sit in front of their computer after work to design the UI interface of your application or draft a business proposal to pitch to a small-business venture investor when you’ve already used most of your thinking and creative energy at something else?
I’m not asking you to abdicate your day job , but you may have to consider (a) scaling down your project to something you can manage on a part-time basis, (b) adjusting your approach to other duties and duties, or (c) coming up with something else that you’re equally passionate about, but can manage do to in your spare time.


Before doing anything, set your goals:
Right on the onset of your project, there should first be a clear connotation of goals and what it is, accurately, you’re peddling. When you’re asked about your idea, you should be able to respond in a concise, clear, and marketable way. If it takes more than five minutes to describe your idea, it says that the concept is either (a) too complex — so you should consider simplifying, (b) you’re clueless as to what needs to come to pass — so you should develop your ideas further, or (c) a combination of both.

Hire well:
When your startup anticipates on other people (programmers, graphics designers), you have to pick the right people, and once you do, you have to keep them on the payroll. Being a cheapskate when it comes to human resources will cost you a lot in the long run. How would you expect employees to commit to developing your idea when you won’t commit to keeping them on board? When your employees jump ship, you’ll be stuck in the water. Your success hinges on the people working with and for you.

Be confident but listen to what other people are trying to say:
You have to believe in your idea, you should have the mindset of proving your naysayers wrong… but ceaselessly hear to what your peers have to say. Believe it or not, other people are smart, reasonable, and experienced too. Don’t miss out on an angle that you failed to see, or make a mistake that your super-PHP-expert friend warned you from the start about SQL injections — listen keenly and avoid the affinity to shut them out just due to they’re not saying what you want to hear. If you feel their criticisms or suggestions are wrong or won’t work in your case, simply say, “Thanks for the input, but I think I got it”. This says that even though you’re not going with their idea or suggestion — it still indicates that you appreciate their input and that you’re always open to any ideas they may have in the future. If you shut out these valuable resources, in the end, you’ll have no one to else to blame but yourself.

Choose Android Phones

There are different kinds, shape and sizes of android phones are available in the market. Prices of the androids varies depends on their parts, looking and configurations. All of the android phones try to give you more or less same facilities.

But some of them are give you extra facilities. It depends mainly on the configuration of your android phone. If the resolution of the android phone is high then you can easily setup or install any kind of software into it. All of the software gives you various advantages. Again if you choose a low quality android phone then what happen? You cannot use it according to your wish and some of the important programs are not install into it.

  • The first important thing you need to consider that it is your budget. Try to increase your budget to buy a high quality android phone which gives you extra facilities. If you buy an android phone in medium price then you will be finding in some days that the latest version is launched in the market and gives more facilities than yours. But when you compare the price of the two phones then you find that the difference is too low. So you need to increase your budget first.
  • The second important tip for buying the latest android phone is flexibility. If the phone is large in size then you cannot feel comfort to bear it. The phone is not suitable to fit in your pocket. So always try to buy suitable sizes of phone for use. You need to select the screen size of your phone. If you are interested in large display then select those phones which are full of supports and give you the display facilities. Another tips for choose the right kind of phone is its working procedure and working speed. If it supports all kinds of data or software then it will be the right choice for you.

Design an Effective FAQ Page

A good FAQ page lightens the load on help desks and customer support calls, which translates to cost savings and convenience for the user (since they don’t have to send a help ticket or pick up the phone to have their question answered). Thus, the importance of a well-crafted FAQ page can’t be denied.
When designing FAQ pages, have the following tips and strategies in mind:



Say "No" to FAQ Pages
Start by saying "No" to FAQ pages. In web design, you should strive for simplicity and you should constantly eliminate things that simply aren’t needed. The FAQ page supports the rest of the website’s content; if it doesn’t enhance what’s already there, it shouldn’t be a priority.

Focus the Right Questions
The questions on the FAQ page must be real. For a new website, choose a timeframe (say, one month), and then survey and categorize the questions that users ask during that time via direct calls or email. You could even announce your open question period on the website.

Delivering Better Entry Points
To use an FAQ page, users must be able to find it. Provide an obvious entry point: a distinct, clear and well-positioned link will do the trick. The two most common places for an FAQ link is in the primary navigation or site footer; these sections are separated from the rest of the web layout (often by color, hue, solid lines or white space) and thus stand out. Visitors are used to checking the navigation menu and footer for important links.

Readability
FAQ pages are generally text-based, so readability is important.
Readability can be achieved in different ways: text decoration (always minding the contrast between text and background), as well as line- and letter-spacing. Good CSS typography applies here.

Categorization of Questions
Users who are looking for an FAQ page probably got confused somewhere else on the website. Don’t make it worse with tangled topics.
Basic categories increase readability — a major building block of efficiency. Name the categories intuitively to avoid further confusion.

Search
FAQ search should differ from the general search system of the website, and this difference must be denoted in order to reduce the amount of search results and make finding the right questions easier.

Providing Visuals with Answers
Often, a picture is worth a thousand words. If images can help solve a user’s question, don’t hesitate to use them.

Conclusion
Designing FAQ pages, amid all the other pages of a website, can be complicated work. Keep in mind that "FAQ" is a general name for the type of page that answers real questions and guides users. Most users have had trouble somewhere else on the website and are looking for a specific answer, so design the page in a way that actually helps them.

The Control of jQuery with Ajax


As the web evolves, new technologies are emerging and uniting in remarkable ways. The combination of Ajax and jQuery, in particular, is one of the most powerful unions to date.

Ajax in Practice
Let’s say that you have a login form for your web application. To ensure that the provided login name and password entered by the user is a match without using Ajax, your web application would have to load a whole new web page that shows an account screen if the login was successful, or show an error screen if the login failed. This is the old way of handling logins.

The web server (usually through a server-side script/language such as PHP) takes the two parameters and then queries your user database to see if there is a match.
If there is a match found in your database, then the web server can return a success flag. Otherwise, the web server could return an error message.
Next, you would then have a JavaScript function that accepts the Ajax response. If the response is successful, it could use window.location to send the user to their account screen.

What is jQuery?
Released in January of 2006 jQuery is a cross-browser JavaScript library designed to simplify the client-side script of HTML.
Used by close to a million websites jQuery is the most popular JavaScript library in use to date.
jQuery makes it easy to handle DOM objects, events, effects and Ajax, automatically takes care of JavaScript leaks, and has countless third-party plugins.

The Problem with Ajax
Despite its revolutionary impact on the web, Ajax can be difficult to use even for veteran developers.  People will usually create their own custom functions to handle Ajax calls so that the functionality can be reused across a web application. This can become very tedious when a web application makes use of different types of Ajax calls — such as the ability to handle both synchronous and asynchronous calls — or the ability to handle different response formats such as string messages, HTML, CSV, XML, JSON, etc.

At the end of the day, the simple idea of creating a custom httpRequest() function quickly turns into a big project.
The other advantage of jQuery is that it has additional Ajax functions and methods that you can use, which can further reduce development and debugging time.


Hello Ajax. Meet jQuery.
Among other advantages, one of my favorite features of jQuery is its ability to leverage Ajax with very little effort. To make an Ajax call, you can do something like this:
$.Ajax({
  type: "POST",
  url: "some.php",
  data: "name=John&location=Boston",
  success: function(msg){
    alert( "Data Saved: " + msg );
  }
});
If you’ve developed Ajax applications before without jQuery, you’ll immediately see the value here. jQuery has put all of the properties of Ajax into one simple API. You can control everything including the url, cache, success function, data type, and even synchronization, all from one neat declaration. It’s nothing short of beautiful.


If you’re not using a JavaScript Web Development framework like jQuery or MooTools yet, and you’re planning on creating responsive web applications, you should leverage these awesome libraries.

Flash Components for Graphing Data

Flash is an admirable technology for dealing with data visualization. It being client-side, it can allay the allotment of work your server adheres to perform in order to generate graphs and charts. Because of its chipper ability in dealing with sleek and fluid animation and complex user interactivity, Flash is an beneficial web and (and even desktop) application technology for dealing with graphing data.

In this article, you will find ten excellent Flash elements that will help you in building attractively alluring, complex, and interactive data visuals. These components will help you create an assemblage of graphs and charts to aid in presenting otherwise boring along with banal numerical data.


1. Open Flash Chart
Open Flash Chart is an open source Flash-based graphing and charting solution developed using ActionScript 3 and compiled using Flex. Open Flash Chart’s features include interactivity of your charts with tooltips, the ability to resize your charts client-side, and being able to save your graphs as images



.2. XML/SWF Charts
XML/SWF Charts is a powerful Flash component for creating interactive graphs and charts. With XML/SWF, you can use XML to describe the data you’re wishing to plot, making it easy to create dynamically-generated and easily-maintainable Flash charts (i.e. you need only to alter the XML file instead of having to use Adobe Flash application). Check out this basic tutorial to get you up and running right away with XML/SWF Charts.

3. zxChart
zxChart is a Flash component that allows you to create dynamic graphs and charts. It allows data input in numerous ways including static files (text files, XML) or via scripting (PHP, ASP, Perl, etc.). 







4. amCharts 
amCharts is a set of excellent Flash graphing/charting components for your web-based data visualization needs. amCharts can take in data from static files such as CSV or XML, as well as from dynamically-generated data inputs using popular scripting languages like PHP, .NET, Java, and Ruby on Rails.






5. Fly Charts 
Fly Charts is a Flash component for graphing data. Fly Charts has an Online Wizard to help you quickly create your Flash charts, making it extremely accessible even to non-developers. Fly Charts has many outstanding features such as the ability to zoom into any section of a chart, the capability to become scrollable if the chart is too big, client-side interaction with JavaScript, and error-handling for missing data.



6. AmiChart
AmiChart is an easy to use and user-friendly Flash-based graphing component that can create animated column, line, and pie charts. AmiChart is Microsoft Office friendly, offering you the ability to embed graphs and charts into your PowerPoint slides and use data copied from an Excel spreadsheet for your data inputs. You can also use CSV file for data input.



7. Black Box Chart 
Black Box Chart is a free Flash component for charting data on the web. Black Box Chart offers you an interactive solution for data visualization, clicking on data points of bar graphs outputs the data value. The Black Box Chart editor is a tool that you can use for creating and editing your charts using a graphical user interface (GUI). 




8. FlashCharts
FashCharts is a set of five attractive, animated, and data-driven Flash components for use in the creation of dynamic, as well as static, charts. flashCharts components are designed specifically for developers or designers, so whatever your background, you’ll be able to use it. It’s lightweight, weighing in at only 12KB, and has an ActionScript API for easily working with your charts and graphs. 




9. FusionCharts
FusionCharts is an excellent Flash component for creating animated and interactive charts for the web or desktop applications. FusionCharts integrates with a lot of web technologies including PHP, ASP.NET, JSP, RoR and a bunch of other acronyms. With FusionCharts, you have access to over 45 types of 2-dimensional and 3-dimensional charts. Check out the user showcase to see actual applications of FusionCharts.



10. Origramy
Origramy is a graph editor and viewer Flash component. You can use it to create complex and interactive graphs and charts for presenting data.
 
 

More Like This

Related Posts Plugin for WordPress, Blogger...

AddThis