Currency Conversion in PHP using Google Finance API

On 7/18/2017 Be the first to comment!

Hi! In this tutorial, let us see how to convert currency in PHP using Google Finance API. There are lots of currency conversion api's available but I'm going to use Google Finance here. Using the api you can easily convert money to your desired country currency. You have to send out http request to Google finance tagging with three values - amount, from currency and to currency code. And it sends back the response as HTML which you have to parse and extract the converted amount.

google api currency conversion php

Read: Store and Retrieve Image from Database in PHP & MySQL

PHP Function to Convert Currency:

Following is the currency convertor function I have created. The function takes up 3 params namely 'from_currency', 'to_currency' and 'amt' and makes call to google finance api. It uses file_get_contents() function to send http request and receives raw html response. Then it parses the html and returns the converted currency value.

<?php
function convert_currency($from_currency, $to_currency, $amt) {
    $from_currency = urlencode($from_currency);
    $to_currency = urlencode($to_currency);
    $amt = urlencode($amt);
    $data = file_get_contents("http://www.google.com/finance/converter?a=$amt&from=$from_currency&to=$to_currency");
    $data = explode('bld>', $data);
    $data = explode($to_currency, $data[1]);
    return round($data[0], 2);
}
?>

Function Usage:

echo convert_currency(USD, EUR, 100);

How to Convert Currency in PHP?

Now let me show you how to use the above function and implement currency convertor functionality in your application with a demo.

For that we'll need to create two php files, index.php and function.php.

In function.php, we keep the convert_currency() function we have created earlier. And in the index file, add a html form and input fields for amount and two dropdowns to choose from and to currency.

Read: Easy PHP Form Validation with Parsley.js Library

index.php

<?php
include_once "function.php";

//check if form is submitted
if (isset($_POST["submit"])) {
    $from_curr = $_POST["from_currency"];
    $to_curr = $_POST["to_currency"];
    $amount = $_POST["amount"];
    $result = convert_currency($from_curr, $to_curr, $amount);
}
?>
<!DOCTYPE html>
<html>
<head>
    <title>Currency Conversion in PHP</title>
</head>
<body>
    <h1>Currency Convertor</h1>
    <form action="index.php" method="post">
        <label for="amount">Amount</label> 
        <input type="text" name="amount" placeholder="Enter amount" value="<?php if(isset($_POST["amount"])){echo $_POST["amount"];} ?>" required />

        <?php
        $options = array(
            'GBP' => 'British Pound £',
            'EUR' => 'Euro €',
            'FRF' => 'French Franc (FRF)',
            'DEM' => 'German Mark (DEM)',
            'INR' => 'Indian Rupee (INR)',
            'USD' => 'US Dollar (USD)'
        );
        ?>
        <select name="from_currency">
        <?php foreach($options as $key => $value){ ?>
            <option value="<?php echo $key; ?>" <?php if(isset($_POST["from_currency"]) && ($_POST["from_currency"]==$key)){echo "selected";} ?>><?php echo $value; ?></option>
        <? } ?>
        </select>
        <br/><br/>
        <label>To</label> 
        <select name="to_currency">
        <?php foreach($options as $key => $value){ ?>
            <option value="<?php echo $key; ?>" <?php if(isset($_POST["to_currency"]) && ($_POST["to_currency"]==$key)){echo "selected";} ?>><?php echo $value; ?></option>
        <? } ?>
        </select>
        <input type="submit" name="submit" value="Convert" />
    </form>

    <span><h2><?php if (isset($result)) { echo $amount . " " . $from_curr . " = " . $result . " " . $to_curr; } ?></h2></span>
</body>
</html>

function.php

<?php
function convert_currency($from_currency, $to_currency, $amt) {
    $from_currency = urlencode($from_currency);
    $to_currency = urlencode($to_currency);
    $amt = urlencode($amt);
    $data = file_get_contents("http://www.google.com/finance/converter?a=$amt&from=$from_currency&to=$to_currency");
    $data = explode('bld>', $data);
    $data = explode($to_currency, $data[1]);
    return round($data[0], 2);
}
?>

So user must enter the amount value, from and to currency code and submit the form. And the script sends http request to Google finance, get response, extract and display the converted amount on the page.

Read: How to Get YouTube Video Details from URL in PHP

Likewise you can implement currency convertor in php application. I hope you find this useful. If you like this tutorial, please don't forget to share it in social media. Meet you in another interesting post.

Get YouTube Video Title, Description & Thumbnail from URL in PHP

On 7/04/2017 Be the first to comment!

Hi! In this tutorial I'm going to show you how to get youtube video details like title, description, thumbnail image etc from a video url using php script. With the help of Google's YouTube Data API you can fetch information about youtube videos. In general each youtube video will have a specific 'ID' associated to it. To retrieve data about a video you have to pass this video id while making the api call. And the api in turn returns back the video data as json response.

YouTube API is not only helpful to fetch basic video info but also let you create playlists, channels, implement youtube search and much more.

Get YouTube Data API Key

YouTube Data API is free to use but first you must get access to it. You need a Google account to get api access and is provided in the form of an api key.

1. To get api-key, go to https://console.developers.google.com and login with your Google account.

2. Once you are in, create a new project and click on 'ENABLE API' link at the top.

3. Now scroll down to 'Youtube APIs' section and select 'Youtube Data API'.

get youtube data api key 1

4. Then click on the 'ENABLE' link at the top-right side of the page to enable youtube data api for your account.

get youtube data api key 2

5. Once enabled, select 'Credentials' on the left-pane. Under credentials click on 'Create credentials' button and choose 'API key' in the dropdown.

get youtube data api key 3

7. Your api key will be generated and shown in a popup. Save the key to a text file for later use.

get youtube data api key 4

Done! Now we have the key to access youtube api. Let's move on to the coding part.

Fetching YouTube Video Information

In general YouTube videos share a common url structure and they look like this.

https://www.youtube.com/watch?v=VIDEO_ID

Where 'VIDEO_ID' represents the individual video id.

You have to take this video id from the youtube video url and use it to fetch details.

Like I already said, to fetch video information you have to call the youtube api. And you must also send the corresponding 'VIDEO_ID' and 'parts' of the information you need to retrieve. Following is the php script to do it.

PHP Script to Get YouTube Video Details

<?php
$videoid = 'H4Jx4oefSjw'; // change this
$apikey = 'API_KEY'; // change this

$json = file_get_contents('https://www.googleapis.com/youtube/v3/videos?id=' . $videoid . '&key=' . $apikey . '&part=snippet');

$data = json_decode($json, true);

echo "<pre>";
print_r($data);
?>

The above snippet will produce an output like this.

Array
(
    [kind] => youtube#videoListResponse
    [etag] => "m2yskBQFythfE4irbTIeOgYYfBU/YJEU8MCit4Jt-7o2NPm81zgElAQ"
    [pageInfo] => Array
        (
            [totalResults] => 1
            [resultsPerPage] => 1
        )

    [items] => Array
        (
            [0] => Array
                (
                    [kind] => youtube#video
                    [etag] => "m2yskBQFythfE4irbTIeOgYYfBU/Sx66nqOT7ouBnClI9ImzyEA1n90"
                    [id] => H4Jx4oefSjw
                    [snippet] => Array
                        (
                            [publishedAt] => 2013-08-01T04:12:47.000Z
                            [channelId] => UCj4LfrxdH7TnUZlyHOKgL5A
                            [title] => 01. Programming in Objective-C - Introduction
                            [description] => Ever wondered what Objective-C actually is? Historically, it was the first attempt to make C objectified. C++ came later. NextStep, and now OSX, popularized this very powerful language. So sit back, as Yari D`Areglia takes you through the first steps in getting started with this language.
                            [thumbnails] => Array
                                (
                                    [default] => Array
                                        (
                                            [url] => https://i.ytimg.com/vi/H4Jx4oefSjw/default.jpg
                                            [width] => 120
                                            [height] => 90
                                        )

                                    [medium] => Array
                                        (
                                            [url] => https://i.ytimg.com/vi/H4Jx4oefSjw/mqdefault.jpg
                                            [width] => 320
                                            [height] => 180
                                        )

                                    [high] => Array
                                        (
                                            [url] => https://i.ytimg.com/vi/H4Jx4oefSjw/hqdefault.jpg
                                            [width] => 480
                                            [height] => 360
                                        )

                                    [standard] => Array
                                        (
                                            [url] => https://i.ytimg.com/vi/H4Jx4oefSjw/sddefault.jpg
                                            [width] => 640
                                            [height] => 480
                                        )

                                    [maxres] => Array
                                        (
                                            [url] => https://i.ytimg.com/vi/H4Jx4oefSjw/maxresdefault.jpg
                                            [width] => 1280
                                            [height] => 720
                                        )

                                )

                            [channelTitle] => Dilan Damith Prasanga I.G.
                            [tags] => Array
                                (
                                    [0] => Objective-C (Programming Language)
                                    [1] => Programming In Objective-C
                                    [2] => Programming Language (Literary Genre)
                                )

                            [categoryId] => 27
                            [liveBroadcastContent] => none
                            [localized] => Array
                                (
                                    [title] => 01. Programming in Objective-C - Introduction
                                    [description] => Ever wondered what Objective-C actually is? Historically, it was the first attempt to make C objectified. C++ came later. NextStep, and now OSX, popularized this very powerful language. So sit back, as Yari D`Areglia takes you through the first steps in getting started with this language.
                                )

                        )

                )

        )

)

As you can see, we have decoded the json response to php array and it contains details like video title, description, thumbnail urls, view count, channel id and much more. Now you must parse this array to extract individual data like title, description etc.

To Get YouTube Video Title,

<?php echo $data['items'][0]['snippet']['title']; ?>

To Get YouTube Video Description,

<?php echo $data['items'][0]['snippet']['description']; ?>

To Get YouTube Video Thumbnail URL,

<?php $data['items'][0]['snippet']['thumbnails']['default']['url']; ?>

YouTube stores four different types of thumbnails at various resolutions for a single video. Above, I have taken the default thumbnail image url.

Once you've got the video info, use it as per your liking. Here is a simple example in which I have displayed video details in a web page.

Example

<?php
echo '<h1>Title: ' . $data['items'][0]['snippet']['title'] . '</h1>';
echo '<img src="' . $data['items'][0]['snippet']['thumbnails']['default']['url'] . '" style="float:right;"/>';
echo '<p>' . $data['items'][0]['snippet']['description'] . '</p>';
?>
fetch youtube video title description and thumbnail in php

I hope now you have clear understanding of using youtube data api to fetch youtube video details using php. This is just a taste of what youtube api can do. Obviously there's more to it. I'll cover the api more in detail in future posts. If you like this tutorial, don't forget to share it in social media.

Best USB Wireless Network Adapters/Dongles - Buying Guide & Reviews

On 6/29/2017 Be the first to comment!

Slow Internet connection sucks! Even when you have reliable ISP, good modem, router and everything, a bad network adapter will spoil the party. No one wants to compromise the Internet speed and connectivity in the middle of work or gaming. A good quality wireless adapter will drastically improve the NET performance and give you peace of mind. Moreover, if Wi-Fi network is shared among household members, then a Best USB Wireless Adapter/Dongle goes a long way providing fast and secure internet connection.

best usb wireless adapters 2017 reviews

If you are looking to buy a USB Wireless Adapter then make sure the adapter easily talks to the router and works best for desktop PC, laptop and tablet. Knowing a few things about Wi-Fi will help you pick the right wireless adapter for your needs.

What Is A USB Wireless Adapter & How Does It Work?

A USB wireless adapter is a small device that quickly sets up wireless connectivity to your desktop or laptop via the router. It is plugged into the USB port of the computer and adds up Wi-Fi ability to non Wi-Fi computer.

The Wireless Adapters are also called as Wi-Fi dongles and come in all shape and size. Also they vary in the types of protocol they use for transferring wireless signals.

These days Desktops and Laptops come with built-in Wi-Fi cards but it's not the case with older computers. On the other hand, you might want to upgrade your laptop's wifi or fix a broken wireless card. In either case, a good external USB wireless adapter will make your computer wifi ready.

Top 10 USB Wireless Adapters in 2017 Reviews

1. NETGEAR AC1200 WiFi USB Adapter (A6210)

Netgear AC1200 USB WiFi Adapter is a high-end dongle with excellent wifi performance. The adapter works on dual band supporting 2.4GHz and 5Ghz wireless setup.

It works with USB 3.0 and delivers high data rates with the latest 802.11ac protocol. And the high-gain antennas give good distance coverage. No bigger than a flash drive the adapter is compact-looking and snugly fits into the computer's USB without blocking adjacent ports. It comes with NETGEAR genie for easy installation and supports all Windows OS versions. There is also a desktop dock for flexible placement of the adapter.

  • 802.11ac High Gain USB 3.0 Dual Band adapter
  • Works with 802.11a/b/g/n and ac devices
  • USB 3.0 interface and compatible with USB 2.0
  • High-gain antennas + Desktop Dock
  • Beam forming+ technology
  • Compatible with Windows Operating System

Check Price on Amazon


2. ASUS USB-AC68 Dual-Band AC1900 with Included Cradle

If you are looking for a high-speed wireless adapter then ASUS USB-AC68 dual-band dongle is your best option. It uses the newest technology chipset Realtek RTL8814AU and the fastest wifi dongle in the market.

It comes with two foldable external antennas to cover large distance and it does. There is also an USB cradle which you can extend when required.

The dual band dongle has max speed of up to 1900 Mbps which is split among 2.4 GHz and 5 GHz range. 600Mbps transfer rate at 2.4GHz and 1300Mbps at 5GHz frequency.

This USB Wifi adapter has impressive speed and wireless connectivity. But note that this is not a budget device. If you have specific need for fastest wifi then go for ASUS USB-AC68 without second thought. There's no support Linux OS so if you look for one to use in Linux go for other recommendations in this list.

  • 802.11ac Dual band USB Adapter
  • Robust 3x4 MIMO Antenna design
  • Dual 3-position foldable external antennas
  • Up to 600 Mbps speed on 2.4GHz band, 1300 Mbps on 5GHz band
  • ASUS AiRadar beamforming
  • Includes USB 3.0 cradle

Check Price on Amazon


3. TP-LINK AC600 (Archer T2UH)

TP-Link Archer T2UH USB Wireless Adapter is an entry-level 802.11ac adapter suitable for regular day-to-day use. The adapter works on dual band so it will pick up signals on both 2.4GHz and 5GHz frequency.

The dongle's speed and wireless connectivity is good for personal use. It comes with external antenna which you can twist and tweak to gain better wifi signals. Also there is a 3-foot usb cable that let you place the adapter near the router for maximum throughput.

TP-Link Archer T2UH USB Adapter utilizes USB 2.0 and has speed cap at 480Mbps which is the only downside to it. Even then this rate is not at all less for home.

It supports Windows and Mac machines and overall a decent adapter from a reputable brand.

  • High-gain external antenna for long distance
  • WiFi speed up to 600Mbps with simultaneous 5GHz and 2.4GHz bands
  • WPS button for secured encryption
  • Includes 3 Feet USB cable for adapter placement
  • Compatible with Windows 8.1, 8, 7, XP, Linux, Mac OS X 10.7-10.10

Check Price on Amazon


4. Alfa Long-Range Dual Band AC1200 Wireless Adapter

The Alfa AC1200 is a dual band long-range adapter with support for the latest 802.11ac protocol. It has very good antennas for long distance coverage and there is no problem working on the 5GHz frequency.

This dongle is not exactly portable, but it has good wifi connectivity and speed even at distance. It's a USB 3.0 adapter and achieves excellent data transfer rates at 5GHz range. Unless you do not have USB 3.0 port on your computer there will be no bottleneck in speed.

So if you need a USB adapter that works long distance and supports the new 5GHz band, Alfa AC1200 is the best option.

  • Supports 802.11ac / 802.11N / 802.11a/b/g Wifi Standards
  • High-speed data: 300Mbps on Wireless-N, 867Mbps on Wireless-AC
  • Operates on Dual band (2.4GHz / 5GHz)
  • 2 Removable 5dBi rubber duck external antennas
  • Supports WEP 64-Bit, WEP 128-Bit, WPA-PSK & WPA2-PSK
  • Windows 10, 8.1, 8, 7, Vista, XP, Mac & Linux compatible

Check Price on Amazon


5. DEBBIECTY MSRM 912AC WiFi Adapter

DEBBIECTY MSRM 912AC WiFi Adapter is an 802.11AC Dual Band dongle that works on both 2.4GHz and 5GHz frequency range. It utilizes USB 3.0 and has data rates of up to 1200 Mbps.

What we like the most about MSRM 912AC adapter is it runs on Windows 10 OS Plug-and-Play like a charm. There's no driver problem with windows 10 and the setup is quick and easy.

It also supports earlier Windows versions like Windows 7, 8, 8.1, and Vista too. The dongle is cheap, windows 10 compatible and works on dual-band. Besides the built-in antenna is quite good and let it stay low-profile for laptop and desktop usage.

In general, MSRM 912AC adapter wifi adapter is a great fit for all networks and the protocol 802.11ac is backward compatible. In addition, although designed to work with USB 3.0, it is compatible with USB 2.0 and 1.0.

  • Wireless AC Dual band (2.4/5GHz) dongle
  • Slim design with powerful internal antennas
  • Quick and Easy plug-and-play setup
  • USB 3.0 support, backward compatible with USB 2.0/1.0
  • Supports Windows 10, 8.1, 8, 7 & Vista OS

6. Panda Wireless PAU06 300Mbps N USB Adapter

Panda's Wireless-N Network Adapter is a low-cost solution for upgrading your desktop / laptop wifi. It operates on the 2.4GHz network and has a maximum speed of up to 300Mbps.

It is an 802.11n dongle so speed is optimum but has wide range and works well from long distance. There is also a screw in antenna at the back of the device for good range.

The adapter is backward compatible with 802.11g 2.4GHz network and does not work on 5GHz band. It supports Windows (XP, Vista, 7, 8, 8.1 and 10), MAC and Linux OS.

  • Operates on 802.11n and 802.11g 2.4GHz wireless networks
  • WPS button wireless setup
  • Maximum speed up to 300 Mbps
  • Low power consumption in laptop/portable devices
  • 64b/128bit WEP, WPA and WPA2 (TKIP+AES)
  • Compatible with 32/64 bit Windows XP, Vista, 7, 8, 8.1, 10, Mac OS Mint, Ubuntu, openSUSE, etc.

Check Price on Amazon


7. NET-DYN Mini USB WiFi Adapter

NET-DYN USB WiFi Adapter is a fast, easy and inexpensive solution for adding wireless connectivity to your PC or fixing your laptop's broken Wi-Fi. The mini adapter comes with internal antennas and remains low profile connected to the computer's USB. And the good thing is that it does not block the nearby ports so you can connect it directly to the computer without the need for an extension cable.

It is a Wireless-N USB 2.0 adapter so the speed is good enough for personal use. The dongle operates in the 2.4GHz range and has maximum data rate of up to 300Mbps.

Overall it's a cheap and reliable USB Wifi adapter and works great on Windows 10 and Mac and earlier versions of Windows like Windows 8.1, 8, 7, Vista and XP.

  • 802.11n / b / g Wi-Fi adapter and works in 2.4 Frequency range
  • Compatible with Windows 10, 8.1, 8, 7, Vista, XP, 2000 and Mac 10.9 and 10.10
  • Compatible with all WLAN routers (WPA / WPA2 / WEP)
  • Built-in omni directional internal antenna
  • Supports USB 2.0 and old 1.1

Check Price on Amazon


8. Dodocool AC600 Dual Band WiFi Adapter

Dodocool is another very low cost dual band 802.11ac adapter. Since it is a dual-band dongle it fits on any network.

Although it supports the newest 802.11ac wifi protocol, it is backward compatible with older wireless networks such as Wireless-n/g networks.

The device is small in size and fits easily on to the laptops USB port without getting in your way. As for setup, it works well with Windows 10 plug-and-play - and also compatible with previous versions like Windows 8.1, 8, 7 etc.

Since Dodocool AC600 is a mini adapter it lacks big antennas that come with large wifi adapters. So that limits the adapter to short range.

Overall the USB wireless adapter is easy to setup wifi to your computer and get the job done on budget.

  • 802.11ac Compatible Dual Band AC 600 Adapter
  • Support for both 2.4GHz and 5GHz bands
  • Up to 433 Mbps speed at 5GHz & 150 Mbps at 2.4GHz
  • Plug and play easy wifi setup
  • Works with 802.11 ac/a/b/g/n routers
  • Compatible with Windows XP, Vista, 7, 8, 8.1, 10, Mac OS X

Check Price on Amazon


9. OURLiNK 1200Mbps USB 3.0 Mini 802.11ac Adapter

OURLiNK 802.11ac adapter from Glam Hobby is a very small and low-cost dongle that works on 2.4GHz and 5Gz wireless networks. It has a simple and easy configuration and connects your Windows 10 machine to wifi in a matter of seconds.
It is a USB 3.0 adapter and easily reaches 100Mbps speed which is great for such a small device. It also supports Mac OS and earlier Windows versions like XP, Vista, 7, 8 and 8.1.

The USB adapter's connection is impressive and covers a good range from 25 to 30 feet away. Overall, it is ideal for online gaming and no-buffer HD streaming.

  • 802.11ac 1200 Mbps Wireless Dual-band adapter
  • Speed up to 867Mbps on 5GHz + 300Mbps on 2.4GHz N/w
  • Superspeed USB 3.0 Port Interface
  • Innovative compact body design
  • Compatible with Windows 10, 8.1, 8, 7, XP and Mac OS

Check Price on Amazon


10. TP-Link Archer T1U Wireless Nano USB Adapter (AC450)

The TP-LINK Archer T1U is another good entry-level Wifi USB adapter and works with the 802.11ac standard.

The adapter is small and discreet so that you can connect it to the PC and leave it there. It only works on the newer 5 GHz range and there's no support for the old 2.4 GHz. So if distance is a problem, go for any of the dual-band adapters that are given in this list.

As for compatibility, Archer T1U works with most of the operating system, including windows 10. In addition the dongle uses USB 2.0 so speed would be optimal and good for home/personal use only.

  • Supports 802.11ac/a/n wireless standard
  • Works only on the new 5GHz band
  • Up to 433 Mbps data transfer rates
  • Encryption standards: WEP, WPA/WPA2, and WPA-PSK/WPA2-PSK
  • Compatible with Windows (XP, Vista, 7, 8, 8.1, 10), Linux & Mac OS X

Check Price on Amazon


USB Extension Cord

While some of the USB Wifi adapters are small and discreet, most of the powerful dongles will be slightly bigger and can block the adjacent ports of your computer. Plus you may also need to position the adapters in the direction of router for better signal. There is a simple fix for this problem. Using an USB extension cord will help you keep wireless adapters far away from the computer/laptop and in the direction of router. And the near by ports will not be blocked.


Best USB Wireless Adapters for Gaming

1. TP-Link AC1200 Wireless Dual Band USB Adapter (Archer T4U V1)

TP-Link is a reliable brand among wireless equipments. The Archer T4U V1 is an 802.11ac dual band adapter and supports any type of network.

The dongle offers ultrafast wireless speeds up to 1200 Mbps combining both 2.4GHz and 5GHz frequencies. It gives data rates of up to 867Mbps at 5GHz and 300Mbps at 2.4GHz bands.

The USB adapter works on USB 3.0 and supports SoftAP so you can use it as a Wi-Fi hotspot and share the Internet connection of your PC among other devices. If you live in a crowded city then it is recommended to use 5GHz to enjoy enhanced online gaming.

Another good thing is it comes with 1 meter USB extension cable so the nearby ports will not be blocked when connected to the computer or laptop.

  • Delivers ultra-fast 1200 Mbps speed With 802.11ac standard
  • Dual band adapter works on both 2.4 / 5 GHz bands
  • WPS Button for quick setup of wireless connection
  • 1 meter USB 3.0 Extension Cable
  • USB 3.0 support

Check Price on Amazon


2. Alfa AC1200 Long-Range Wi-Fi Adapter

Alfa USB Wifi adapter is one of the best long-range dongle in the market and supports the latest 802.11ac protocol. The adapter is backward compatible and works on older wireless protocols such as 802.11n/g/b/a.

It is not a small device but has excellent range. There are two 5dBi removable antennas for distance and has the data transfer speed of up to 867 Mbps on 5GHz frequency.

The adapter is dual-band and works on both 2.4GHz and 5GHz band. It supports all Operating systems such as Windows (10/8/7/Vista/XP), Mac & Linux.

If you need a high-speed wifi adapter that works from distance for online gaming then Alfa AC1200 is your best choice.

  • Dual-Band 2.4GHz/5GHz USB Wireless Adapter
  • Delivers speed up to 300Mbps on Wireless-N & 867 Mbps on Wireless-AC
  • Supports Wi-Fi Standards 802.11ac, 802.11n, 802.11a, 802.11b
  • Two 5 dBi removable antennas for good distance
  • Compatible with Windows XP, Vista, 7, 8, 8.1, Mac & Linux

Check Price on Amazon


3. Linksys WUSB6300 AC1200 Wireless Adapter

The Linksys WUSB6300 USB wireless adapter works on dual band and supports the latest standard Wireless AC. It is ideal for connecting PC or laptop to high-speed 802.11ac networks.

It is a Wireless-AC dongle but also backward compatible with the Wireless-N standard. It works on USB 3.0 for fast performance and offers 867 Mbps speed in 5GHz band and a speed of 300 Mbps in 2.4GHz band combining a total theoretical speed of 1200 Mbps. You can enjoy lag-free online gaming via 5GHz network.

For secured wifi it supports 128 bit WEP, WPA and WPA2 encryption. The adapter is compatible with Windows 10 OS and earlier versions like 8.1, 8, 7, Vista and XP.

  • Dual band 802.11ac Wireless AC adapter
  • Speed up to 867Mbps on Wireless-AC & 300 Mbps on Wireless-N
  • 128-bit encryption support (WEP, WPA and WPA2)
  • Compatible with all 802.11ac devices
  • Supports MS Windows 10, 8.1, 8, 7, Vista SP1/SP2 and XP SP3
  • USB 3.0 support

Check Price on Amazon


How to Choose the Best Wireless Network Adapter - Buying Guide

Tech savvy or not, knowing few things about Wi-fi and Adapters will help you choose the right adapter that works best in your network system. So let's see some of the important features you must consider before buying a USB Wireless Adapter.

1. What are Wireless Protocols?

802.11 is the number representing the Wireless protocols. It is the universal standard set for wireless products so that they can communicate with each other without trouble.

The current Wi-Fi standard is 802.11ac and introduced in 2013. It works only on 5 GHZ band but can transfer data much faster than wireless N.

But most devices in today's market use the previous 802.11n (or) Wireless-N protocol. This is the widely used wifi standard and works on both 2.4 GHz and 5 GHz band.

Dual Band: Adapters that works on both 2.4GHz and 5GHz frequency ranges are known as dual-band wireless adapters.

To simply put the newer 802.11ac wireless adapters have better speed over Wireless N device. So can you buy the 802.11ac dongle?

Well! It depends.

The fact is 802.11ac is fast but has less coverage. Remember it only works on 5 GHz range? The higher frequency does not travel as far as the lower 2.4 GHz frequency.

So if there is not much distance between adapter and router then the best option would be an 802.11ac dongle. Else go for the dual band Wireless-N dongle which is good for long distance range.

2. Wireless Frequencies

There is two type of frequencies used for wireless transmission. One is 2.4 GHz and the other one is 5 GHz range. Up until 2013, only 2.4 GHz band was used. But later due to overcrowding of wireless networks they have introduced the higher 5 GHz band.

The higher the frequency the less the signal can travel through barriers. So a 2.4GHz dongle will transmit data farther than the new 5GHz dongles.

Numerous networks still use 2.4GHz band and collide with other wireless devices fighting to get a signal through. And the fact that it travels a greater distance and penetrates through walls makes the situation even worse.

Hence the introduction of the 5GHz band. It travels less distance and has mighty speed. The network is also less crowded so there is a little chance for the collision with other N/w s.

3. Distance

Antennas play a larger role when it comes to distance. Some USB wireless adapters come with the built-in antenna which is good for staying low profile. But these internal antennas will not transmit signal as far as large external antennas.

On the other hand adapters with external antennas cover long distance well and carry wireless signal better than the built-in one. They come with a screw-in antenna which can be easily replaced with large dBi antenna as per distance requirement.

Generally, antenna size is measured in dBi. As a general rule of thumb, the larger the dBi the higher the coverage. But keep in mind having an adapter with large dBi antenna will not guarantee better signal at long distance - as external factors like barriers, adapter wattage will affect the signal quality.

4. Speed

Speed matters in a wireless connection... A LOT!

Till date, the Wireless-AC adapters (802.11ac) have the fastest data transfer speed of up to 1.3Gbps. The second best is the Wireless-N adapters (802.11n) with a speed of up to 300 Mbps which indeed is not at all slow for personal use.

But 802.11ac will only work in 5GHz range so if you prefer distance over speed then stick to the old 802.11n which works on 2.4GHz band.

Just keep in mind.

2.4 GHz band travel far but has less speed (relative).

5 GHz band travel less but with greater speed.

Certain dual band adapters are capable of using both 2.4GHz and 5GHz bands for maximum speed and said to have 1200Mbps transfer rate. Note that it's just a theoretical estimation and hard to be achieved in real-life. Wireless speed is always relative to the environment you live in.

5. Easy to Use

Wireless adapters are easy to setup and use it. With PCI adapters you have to go through installation process via setup CD and all. But that's not the case with USB Wifi adapters. Most of the USB Adapters are the plug-and-play type. All you have to do is to connect them to a free USB Port of your computer and the system will automatically detect the device and run set up for the first time. Once the driver is installed you are good to go from there.

6. Compatibility

The wireless adapter must be compatible with the router to send and receive data. Dual band routers will work with any adapter. But an old router will only work on 2.4 GHz range. So make sure the adapter also works in the similar range.

In case you are not sure about the router being used, just get a Dual Band Wireless N adapter. It will work with any router.

Besides your Desktop/Laptop Operating system is also important. A Wi-Fi adapter must be compatible with the computer OS in order to work. So make sure your adapter works on a particular OS and also have updated drivers required for it.

So if you buy a wireless adapter to work on Windows 10 machine, it must be compliant with Windows 10 OS. The fact it works on Windows 7 or 8 doesn't mean it will also work on Win 10 version.

7. USB 2.0 Vs USB 3.0

USB 3.0 is mandatory for 802.11ac adapters. This is because their peak data rate exceeds the USB 2.0 speed on 2.4GHz band.

USB 2.0 can transfer data at 480Mbps, the new USB 3.0 at 5Gbps speed. This is only theoretical, but real world's performance is always lower than this.


PCI Based or USB Wi-Fi Adapter? Which One to Choose?

Before starting your hunt for wireless adapters, you must first know that there are two types of wireless adapters commonly used these days. Let's see what they are.

USB Wireless Adapter

The first type of wireless adapter is USB based. USB Wifi adapters are the simplest to install and use among the two types. It's because of their plug and play nature. They work like a flash drive in this context.

You have to simply plug it into a USB Port, and then the computer will automatically detect, run setup and install the necessary drivers. After that, you can connect it to any available Wi-Fi network and you are good to go from there. The installation process takes place only for the first time you use it on a PC or Laptop.

Well! The wifi adapter is external and requires one free USB Port. In some cases, the devices are bigger and might as well block nearby ports. Plus you may need it to be out of the way of other computer cables.

In fact, it's good to use an USB extension cable to connect USB Wireless adapters. They will be out of your way and can be kept farther from PC to pick up wifi signals better.

PCI Based Wireless Adapter

PCI stands for Peripheral Component Interconnect and wireless adapters of these types should be plugged into the PCI slot of the computer's motherboard. These devices are bigger than the USB network adapters and come with powerful antennas sticking out at the back of the adapters.

PCI wifi adapters generally crowd over the area they are attached to. Plus somewhat harder to setup and use for an average user. Nonetheless, they are excellent in terms of wireless transmission and long distance coverage.

But overall I would happily choose anytime a USB wireless adapter over PCI ones just because of their simplicity and ease of use.


Advantages of Using USB Wireless Adapters

A USB wireless adapter is the easiest solution to put a device online. It's cheap, effective and has several advantages over using wired connection.

  • Free of Cords - The first and foremost benefit of using the wireless adapter is it eliminates the necessity of computer cables. Your computer desk will no more be a clutter of cords. You get to have true mobility if you work with laptop or tablet. When you have wifi, you don't have sit at your work table. You are free to take your work to couch or bed. Plus USB wireless adapters stay low profile and most of them look no bigger than a flash drive.
  • No Hardware Installation - There are several ways to set up wifi on your computer. Of all the choices USB wireless adapters is the popular choice for most users. It's because they are simple external devices. You have to simply plug them into a USB port, install drivers and connect to wifi network. That's all to the total set up. And the plug-and-play feature is even better.
  • But PCI based adapters have complicated setup. In some cases, you have to open up the computer or laptop case and fix wifi card to motherboard slot. Not a favorable choice at all.
  • Easy Replacement - Does your desktop doesn't have a built-in wifi card? Or you laptop wifi is broken? Then don't worry. You don't have to upgrade your entire computer which is quite costly. Get a USB wireless adapter compatible with your system OS. That'll do. It is the simplest solution to enable wifi on a computer. USB wifi adapters are very cheap and you can replace it at any time if the need arises.
  • Multi-Device Support - One of the key benefit of usb wireless adapter is it can be shared among multiple devices. Since it's an external device mounting and un-mounting is quite easy. So you can use the very same usb adapter on your laptop, desktop, tablet etc. The device is small so you can carry it anywhere you go and use it at your convenience.

FAQ on USB Wireless Adapters

I'm not sure about the Network used? Which Wi-Fi Adapter is right for me?

It's easier to get confused with all those wireless protocol numbers, operational frequency etc. If your network operates on 2.4GHz frequency then there's no point in buying a wireless adapter that only works on 5GHz band.

So in case you are not sure about the wireless network being used, then get a dual-band usb wifi dongle. They will work on most of the networks since they operate on both 2.4GHz and 5GHz band.

How can I know if an USB Wireless Adapter works on my Computer?

A wireless adapter needs to have driver software for the Operating system being used. So if you have Windows 10 PC, the wireless adapter you get to work with the machine must be Windows 10 compliant.

I live in City? Which Adapter should I buy?

802.11ac protocol only works in the new 5GHz band and doesn't travel far. So the network will be confined to a small area.

On the other hand, the older Wireless N works on 2.4GHz band and is widely used by many and travel far than 5GHz range. So there is a greater possibility for network collision in a crowded city which pulls down the wifi speed.

If you live in a city with crowded neighborhood your best choice would be a 5GHz Wifi adapter. If you live outside of the city limit with few neighbors then go for 2.4 GHz adapter which gives you greater coverage.

Can I use USB Wireless Adapter as Wi-Fi Hotspot?

Using USB wireless adapters as Wi-Fi Hotspot let you share the PC's internet connection with multiple devices like smartphone, tablet etc.

If your computer runs Windows 10 here's a way to do it.

Open Windows Settings > Network & Internet and choose 'Mobile HotSpot' and complete the setup wizard. You might as well need to tweak security settings to grant permission for this.


Over to You

USB Wireless Adapters are inexpensive and convenient solution to connect computers to wifi networks. But then the market is crowded with so many brands claiming their adapters are the best among all. And it's also a tough task to narrow down to an adapter that works best for you. Just remember, the Wi-Fi USB adapter must be compatible with your network and has drivers for the OS you use. The new 5GHz adapter will have high-speed but has short range. If you are not sure about the network and all, get a dual-band adapter. It will work with any network old or new.

Recommended Read For You: Best Kali Linux Wi-Fi Adapters

Store and Retrieve Image from Database using PHP MySQL

On 6/19/2017 Be the first to comment!

Hi! In this tutorial let's see how to store and retrieve image from mysql database using php. Have you ever tried to store images in a database? If not then we'll fix it now. Once upon a time it's been a developer's dream to save images in database just like any other numbers and texts. But thanks to the evolvement of relational databases, saving and fetching images to and from database is made possible these days. And the process is also less complicated than storing uploaded images to some folder on server.

Storing Image in MySQL Database

So, the question is how can you store images in mysql database? Well, using BLOB data type. BLOB stands for binary large data object and used to store large amount of binary data. Using this you can not only store pictures but also audio and other multimedia files in database.

Basically there are four types of BLOB available in mysql. They are:

  • TINYBLOB
  • BLOB
  • MEDIUMBLOB
  • LONGBLOB

All of these data types are similar except for the size of data they can hold.

Come let me show you how to store and display image from database using this BLOB type.

Read Also:

First let's create a database and a simple table for storing images.

MySQL Database Creation

CREATE DATABASE IF NOT EXISTS `db_demo`;
USE `db_demo`;
CREATE TABLE IF NOT EXISTS `tbl_gallery` (
  `id` int(10) NOT NULL AUTO_INCREMENT,
  `name` varchar(100) NOT NULL,
  `imagedata` blob NOT NULL,
  `created` datetime NOT NULL,
  PRIMARY KEY (`id`)
) ENGINE=MyISAM  DEFAULT CHARSET=latin1 AUTO_INCREMENT=1;

How to Insert Image into MySQL Database using PHP?

So the process goes like this. User uploads image via an uploading form which is then submitted to server. Then the image is converted into binary and inserted into mysql database along with its details such as name and time of creation.

index.php

This file contains the upload form for user to upload images to database.

<!DOCTYPE html>
<html>
<head>
    <title>Insert Image into MySQL Database using PHP</title>
    <meta name="viewport" content="width=device-width, initial-scale=1.0" >
    <link href="css/bootstrap.css" rel="stylesheet" type="text/css" />
</head>
<body>
<br/>
<div class="container">
    <div class="col-xs-8 col-xs-offset-2 well" style="background:none;">
    <form action="upload.php" method="post" enctype="multipart/form-data">
        <legend>Please Choose Image to Upload</legend>
        <div class="form-group">
            <input type="file" name="glryimage" accept="image/*" />
        </div>
        <div class="form-group">
            <input type="submit" name="submit" value="Upload Image" class="btn btn-danger"/>
        </div>
        <?php if(isset($_GET['st'])) { ?>
            <div class="alert alert-danger text-center">
            <?php if ($_GET['st'] == 'success') {
                    echo "Image uploaded successfully!!!";
                }
                else
                {
                    echo 'Error uploading image...';
                } ?>
            </div>
        <?php } ?>
    </form>
    </div>
</div>
</body>
</html>

dbconnect.php

This php file contains the script for database connectivity. Here we establish the connection to mysql database via php code. Please make sure to change the connection settings as per yours.

<?php
//connect mysql database
$hostname = "localhost";
$username = "root";
$password = "";
$database = "db_demo";
$con = mysqli_connect($hostname, $username, $password, $database) or die("Error " . mysqli_error($con));
?>

upload.php

This is the actual uploading script. Here we receive the uploaded file, check if it is a valid image, convert image into binary data and insert image data and details into the database with php code.

<?php
include_once 'dbconnect.php';

//check if form submitted
if (isset($_POST['submit']))
{
    $img_name = $_FILES['glryimage']['name'];

    //upload file
    if ($img_name!='')
    {
        $ext = pathinfo($img_name, PATHINFO_EXTENSION);
        $allowed = ['png', 'gif', 'jpg', 'jpeg'];
    
        //check if it is valid image type
        if (in_array($ext, $allowed))
        {
            $created = @date('Y-m-d H:i:s');

            // read image data into a variable for inserting
            $img_data = addslashes(file_get_contents($_FILES['glryimage']['tmp_name']));
                    
            // insert image into mysql database
            $sql = "INSERT INTO tbl_gallery(name, imagedata, created) VALUES('$img_name', '$img_data', '$created')";
            mysqli_query($con, $sql) or die("Error " . mysqli_error($con));
            header("Location: index.php?st=success");
        }
        else
        {
            header("Location: index.php?st=error");
        }
    }
    else
        header("Location: index.php");
}
?>

Well! We have successfully stored image into database. But how to fetch this image from database and show it a page? We'll see it next.

Retrieve and Display Image from MySQL Database

You can retrieve image from mysql like you do with any other data. For example this script will fetch a specific image from the database and display it in a web page.

Displayimage.php

<?php
include_once 'dbconnect.php';
// fetch image from database
$sql = 'select * from tbl_gallery where id=1'; // change this id as per your need
$result = mysqli_query($con, $sql) or die('Error ' . mysqli_error($con));
$row = mysqli_fetch_array($result);
?>
<html>
<head>
    <title>Retrieve Image from MySQL Database in PHP</title>
    <meta content="width=device-width, initial-scale=1.0" name="viewport" >
    <link rel="stylesheet" href="css/bootstrap.min.css" type="text/css" />
</head>
<body>
    <div class="container text-center">
        <?php echo '<img src="data:image/jpeg;base64,'.base64_encode($row['imagedata']).'"/>'; ?>
    </div>
</body>
</html>

In order to display image stored in a DB to a web page you have to use image tag rather than printing it directly. Please note that we have stored image as binary data. So you must do proper encoding before displaying the picture, else it won't work.

Done! We have everything in place. Now run 'index.php' file and you will be shown an upload form like this,

upload image to mysql database using php

Now select an image and click 'Upload Image' button. If things go right the image will be inserted into database without trouble and you will be notified like this.

insert image into database php mysql

To display the stored image from database run the script 'Displayimage.php'. It will show the image you have uploaded previously.

display image from mysql database using php

Please note that so many things can go wrong in the middle. So always remember to do proper error handling in your code.

Read Also:

I'm sure now you have better understanding of uploading and displaying images from database using php and mysql. The entire process is uncomplicated and effective than storing images in some server folder. It also saves you from processing through files to retrieve the images. I hope you like this tutorial. Please don't forget to share it in social media. Meet you in another interesting post :)

Top 10 4G Smartphones Under Rs 8000 (Fingerprint Scanner) June 2017

On 6/13/2017 3 Comments so far

Hi! Here is the list of Top 10 4G Smartphones Under Rs 8,000 in India with Fingerprint scanner, 3GB RAM, 4G LTE, OTG, 13MP Camera & Octa Core processor. There are real good mobiles in this price range making your selection process daunting. And the competition is fierce in this price segment with the entry of popular brands like Xiaomi, Coolpad, Lenovo, Intex, YU & Motorola. To help you in buying the best smartphone under 8000 rupees, we have compiled out the list of top ten 4g smartphones under rs 8000 for february 2017 with great specs and very good user experience.

Best Fingerprint Scanner Phones under Rs 8000:

1. Coolpad Note 5 Lite - The Best Fingerprint Sensor Phone

Check Price

fingerprint scanner phone under 8000

Coolpad Note 5 Lite is the best among fingerprint sensor phones under Rs 8000/ with 3GB RAM in india. The smartphone houses 1GHz Mediatek Quad Core Processor, large high definition 5" IPS panel display, 13 MP camera and a good 2500mAh battery. And the best part is it has got 3GB RAM and dual sim with 4G LTE connectivity on both the sim. Overall Coolpad Note 5 Lite includes excellent features at budget price and offers good value for money. The mobile is available exclusively on Amazon and surpasses each one of the expectation of budget buyers.

Key Features:

  • OS: Android v6.0 Marshmallow, COOL UI 8.0
  • Processor: 1GHz MT6735CP Quad Core Processor
  • Memory: 3GB RAM & 16GB Internal
  • Display: 5 inch HD IPS Display
  • Secondary: Expandable Upto 64 GB
  • Camera: 13 MP Rear, 8 MP Front Camera
  • Connectivity: Dual Sim (4G+4G)
  • Battery: 2500mAH Lithium-ion Battery
  • Others: Fingerprint Scanner

Buy From Amazon »

2. Lyf Water 7 - 4G VoLTE Phone

Check Price

phone with fingerprint sensor below 8000 - lyf water 7

Lyf Water 7 is a good choice in fingerprint scanner phones under Rs 8000 range. After recent price slash, Lyf Water 7 is retailing below Rs.8000/ and it's the right time to grab this excellent phone at the cheapest price. The phone has overall excellent specs with support for OTG, 4G VoLTE and Fingerprint Sensor. It packs powerful Snapdragon 616 Octa core Processor, 2GB RAM, 16GB of in-built memory, 5.5 inch Full HD display protected with AGC Dragontrail glass and 13MP Camera.

Key Features:

  • OS: Android v5.1 Lollipop
  • Processor: 1.5 GHz+ Snapdragon 616 Octa-core Processor
  • Memory: 2 GB RAM & 16 GB ROM
  • Display: 5.5 inch FHD, AGC Dragontrail glass
  • Secondary: Expandable up to 128 GB
  • Camera: 13MP Rear, 5MP Front Camera
  • Connectivity: Dual Sim, 4G VoLTE, OTG
  • Battery: 3000 mAh battery
  • Others: Fingerprint Sensor

Buy From Amazon »

3. Lyf Water 7S (3GB) - Premium Smartphone on Budget

Get 36% Discount on Price

fingerprint sensor mobiles under 8000

Here's another one LYF mobile in our recommendations of Budget Smartphones with Fingerprint Sensor. It's really hard to believe we have included this amazing phone on a budget list. But Amazon is running offers and you can grab it at greater dicounted price. The phone has got premium like features including Fingerprint sensor, 3GB RAM, Octa-core Processor, 13MP Camera and 4G VoLTE for fast internet. And it is powered with MediaTek MT6753 Octa Core Processor clocked at 1.3GHz and Android Marshmallow OS.

Key Features:

  • OS: Android v6.0 Marshmallow
  • Processor: 1.3 GHz MediaTek MT6753 Octa Core Processor
  • Memory: 3GB RAM & 16 GB ROM
  • Display: 5.5 inch IPS LCD Display, FHD
  • Secondary: Expandable up to 64 GB
  • Camera: 13MP Rear, 5MP Front Camera
  • Connectivity: Dual Sim, 4G VoLTE
  • Battery: 2800 mAh battery
  • Others: Fingerprint Sensor

Buy From Amazon » Buy From Flipkart »

4. Swipe Elite Sense - 3GB RAM, 4G VoLTE

Check Price

4g volte fingerprint scanner phone under 8000

Elite Sense is the latest arrival from Swipe family and very good fingerprint scanner phone under 8k segment. The Smartphone comes with excellent features for such a cheaper phone. Together with Qualcomm Snapdragon Quad-core Processor and 3GB RAM it runs all latest games and apps buttery smooth. The finger print sensor is fast and accurate and other features like 32GB Storage, big IPS panel display, 4G VoLTE support are excellent. Only downside is it's average battery which lasts for a day but besides that you get great features, so it makes a good deal.

Key Features:

  • OS: Android 6.0 Marshmallow
  • Processor: 1.4GHz Qualcomm Snapdragon Quad-core Processor
  • Memory: 3GB RAM & 32GB Internal
  • Display: 5 inch IPS HD Display
  • Secondary: Expandable Upto 128 GB
  • Camera: 13MP Rear, 8MP Selfie Camera
  • Connectivity: Dual Sim, 4G VoLTE
  • Battery: Li-ion 2500 mAH Battery
  • Others: Fingerprint Sensor

Buy From Flipkart »

5. Micromax Evok Power - 4000mAh Battery & 4G VoLTE

Check Price

phone with fingerprint sensor under 8k

Micromax Evok Power is another good alternative to consider under Rs 8000/ budget. The best part of the phone is the massive battery backup, 4G VoLTE support and Fingerprint sensor. It runs on Android Marshmallow 6.0 and packs 2GB RAM and Quad-core Processor under it's hood for lag-free performance. The compact 5 inch display is very good for single hand operation, comes protected with Gorilla Glass 3 and huge 4000 mAh battery.

Key Features:

  • OS: Android v6.0 Marshmallow
  • Processor: 1.3GHz MediaTek MT6737 Quad Core Processor
  • Memory: 2GB RAM & 16GB Internal
  • Display: 5-inch HD Display
  • Secondary: Expandable up to 64GB
  • Camera: 8 MP Rear, 5 MP Front Camera
  • Connectivity: Dual Sim, 4G VoLTE
  • Battery: 3950 mAh Battery
  • Others: Fingerprint Scanner, Gorilla Glass 3

Buy From Flipkart »

6. Intex Cloud S9

Check Price

fingerprint scanner phones under 8000 -cloud s9

Latest arrival among Intex Cloud series, Cloud S9 is another good option in fingerprint scanner phones under Rs 8000 segment. Priced around 6k, the phone runs on Android Marshmallow 6.0 and powered with 2GB RAM & 64 bit Quad-core Processor clocked at 1.3 GHz. It's one of the cheapest fingerprint sensor phone with 4G VoLTE support and long lasting 3650 mAh battery. Besides it has got 5.5 inch HD screen protected with AGC Dragontrail glass and available in two different colors, Grey and Blue and exclusively on Amazon.

Key Features:

  • OS: Android Marshmallow, v6.0
  • Processor: 1.3 GHz 64-bit Quad Core Processor
  • Memory: 2 GB RAM & 16 GB ROM
  • Display: 5.5 inch HD, Dragontrail glass
  • Secondary: Up to 32 GB
  • Camera: 8MP Rear, 5MP Front Camera
  • Connectivity: Dual Sim, 4G VoLTE
  • Battery: 3650 mAh Capacity
  • Others: Fingerprint Sensor

Buy From Amazon »

7. Xolo Era 2X - 3GB RAM Smartphone

Check Price

fingerprint scanner phone under 8000

Xolo Era 2X is the latest arrival in the market and another good choice of Fingerprint Sensor Mobile under 8K to go with. The phone is Flipkart exclusive and sports superb features like Fingerprint scanner, 4G VoLTE and the best part is 3GB RAM. It runs on Android Marshmallow OS and powered with 64bit Quad-core Processor accompanied by 16GB storage. If you want to save some bucks on your budget then you can also go for 2GB RAM version which is equally good.

Key Features:

  • OS: Android v6.0 Marshmallow
  • Processor: 64-bit 1.2 GHz MTK6737 Quad Core Processor
  • Memory: 3GB RAM & 16GB ROM
  • Display: 5 inch IPS Display, HD
  • Secondary: Expandable up to 32GB
  • Camera: 8 MP Rear, 5 MP Front Camera
  • Connectivity: Dual Sim, 4G VoLTE
  • Battery: 2500 mAh Battery
  • Others: Fingerprint Sensor

(3GB) Buy From Amazon» (2GB) Buy From Amazon »

8. Panasonic Eluga Ray - 3GB RAM, 4000mAH Battery & OTG

Check Price

3gb ram 4000mah battery fingerprint sensor smartphone

Another latest arrival, Panasonic Eluga Ray is an awesome fingerprint sensor mobile with outstanding battery life and stunning camera features. The Smartphone is a sure winner with huge 3GB RAM, 4000 mAh battery, ample storage, 13MP primary camera and 5MP front camera. The front camera comes with flash which is another big plus of the phone. As for connectivity it offers 4G VoLTE and OTG support.

Key Features:

  • OS: Android v6.0 Marshmallow OS
  • Processor: 1.3GHz Quad core Processor
  • Memory: 3GB RAM & 16GB Internal
  • Display: 5-inch HD Display
  • Secondary: Expandable up to 64GB
  • Camera: 13 MP Rear, 5 MP Front Camera
  • Connectivity: Dual Sim, 4G VoLTE Support
  • Battery: 4000 mAh Battery
  • Others: Fingerprint Scanner, OTG

Buy From Flipkart »

9. Swipe Elite Power - 4000mAh Battery Phone

Check Price

fingerprint sensor 4000mah battery phone under 8000

Elite Power is the latest launch from Swipe and best suitable for people who wants marathon battery in their smartphone. The best part of this phone is it's massive 4000 mAh Battery, 4G VoLTE Connectivity and Fingerprint scanner. Rest other features are also equally good for 8k budget. It is fueled with Android v6.0 Marshmallow and powered by Snapdragon Quad-core Processor, 2GB RAM and a large 5.5 inch IPS Screen.

Key Features:

  • OS: Android v6.0 Marshmallow
  • Processor: 1.1 GHz Snapdragon Quad Core Processor
  • Memory: 2GB RAM & 16 GB ROM
  • Display: 5.5 inch IPS LCD Display, HD
  • Secondary: Expandable up to 32GB
  • Camera: 8MP Rear, 5MP Front Camera
  • Connectivity: Dual Sim, 4G VoLTE
  • Battery: 4000 mAh battery
  • Others: Fingerprint Scanner

Buy From Flipkart »

10. Panasonic Eluga Tapp - Very Affordable Smartphone

Check Price

fingerprint sensor phones under 8000 rs

Panasonic Eluga Tapp is retailing under 6.5k and exclusively available on Flipkart. The phone packs pretty good features for the price like Fingerprint sensor, 4G VoLTE support and decent battery backup. It is powered by 1.25 GHz Quad-core Processor teamed up with 2GB RAM and runs on Android Marshmallow v6.0 OS.

Key Features:

  • OS: Android v6.0 Marshmallow
  • Processor: 1.25GHz Quad Core Processor
  • Memory: 2 GB RAM & 16 GB ROM
  • Display: 5 inch IPS LCD Display, HD
  • Secondary: Expandable up to 32 GB
  • Camera: 8MP Rear, 5MP Front Camera
  • Connectivity: Dual Sim, 4G VoLTE
  • Battery: 2800 mAh battery
  • Others: Fingerprint Sensor

Buy From Amazon » Buy From Flipkart »

11. Nubia N1 Lite - 5.5" Screen & 4G VoLTE

Check Price

smartphone with fingerprint scanner under 8000

If you like big screen smartphones then you can go for Nubia N1 Lite. The Mobile features 5.5 inch IPS panel display with multi-touch ability. This makes the phone a good fit for internet browsing, gaming and watching movies. Powered with excellent Quad core Processor and 2GB RAM the handset is good at multi-tasking. Plus it offers Fingerprint sensor for security, very good 3000 mAh Battery and 4G VoLTE connectivity for fast internet.

Key Features:

  • OS: Android 6.0 Marshmallow
  • Processor: 1.5GHz Cortex-A53 Quad core Processor
  • Memory: 2GB RAM & 16GB Internal
  • Display: 5.5 inch HD IPS Display
  • Secondary: Expandable up to 32 GB
  • Camera: 8MP Rear, 5MP Selfie Camera
  • Connectivity: Dual Sim, 4G VoLTE
  • Battery: 3000 mAh Battery
  • Others: Fingerprint Scanner

Buy From Amazon »

12. Micromax Canvas Unite 4 Pro

Check Price

top fingerprint scanner mobile under 8000 - unite 4 pro

Coming from the reputed Indian brand Canvas Unite 4 Pro is the latest arrival under 8K segment. This is the Popular 2GB RAM Smartphone in this price range, and runs on Android Lollipop but the good thing is you get Marshmallow upgrade. The phone comes with all latest features such as Fingerprint Scanner, 4G LTE, 1.3 GHz Quad Core processor, 16 GB internal memory and of all a huge 3900 mAh battery for extended battery backup.

Key Features:

  • OS: Android Lollipop, v5.1 (Upgradable to Marshmallow)
  • Processor: 1.3 GHz Quad-Core Processor
  • Memory: 2GB RAM & 16 GB ROM
  • Display: 5-inch HD Display
  • Secondary: Expandable Upto 32 GB
  • Camera: 8MP Rear, 5MP Front Camera
  • Connectivity: Dual Sim, 4G LTE
  • Battery: 3900 mAh Battery
  • Others: Fingerprint Scanner

Buy From Amazon »

Top 4G Smartphones Under Rs 8000:

Lenovo Vibe K5 Plus

Check Price

3gb-ram-4g-smartphone-under-rs-8000-lenovo-vibe-k5-plus

Vibe K5 Plus is the latest arrival from Lenovo and is the best in Top 4G Smartphones under Rs 8000 in India. The smartphone sports all sorts of latest features such as TheaterMax & 4G LTE, popular Snapdragon Octa-core Processor clocked at 1.5GHz coupled with 3GB RAM, 13 MP camera and many more attractive features. Plus it houses 16GB internal memory and runs on Android Lollipop OS. This 4g budget phone comes in two different colors - Silver and Grey and available exclusively on Flipkart

Key Features:

  • OS: Android 5.1 Lollipop
  • Processor: 1.5 GHz Octa Core Processor
  • Memory: 3GB RAM & 16GB ROM
  • Display: 5 inch HD IPS Display
  • Camera: 13 MP Rear, 5 MP Front Camera
  • Connectivity: 4G LTE
  • Battery: 2750 mAh Battery
  • Others: TheaterMax

Buy From Flipkart »

Redmi 3S

Check Price

4000-mah-battery-android-phone-under-8k-redmi-3s

Redmi 3S is the Popular Xiaomi Smartphone under Rs 8000/ and the USP of the phone is it's support for OTG, 4G LTE and long lasting 4100 mAh battery. Another good thing is, it runs on latest Android Marshmallow OS and packs powerful 1.4 GHz+ Snapdragon Octa core Processor, 2GB RAM, 16 GB ROM and 13 MP Camera and many more attractive features.

Key Features:

  • OS: Android Marshmallow
  • Processor: 1.4GHz + 1.1GHz Octa Core Processor
  • Memory: 2GB RAM & 16GB ROM
  • Display: 5 inch HD IPS Display
  • Secondary: Expandable Upto 32 GB
  • Camera: 13 MP Rear, 5 MP Front Camera
  • Connectivity: 4G LTE & OTG
  • Battery: 4100 mAh Battery

Buy From Flipkart »

InFocus Bingo 50 Plus

Check Price

5.5-inch-mobile-with-3gb-ram-below-8000-bingo-50-plus

InFocus Bingo 50 Plus is the successor to the popular Bingo 50 and the best 3GB RAM 4G Smartphone below 8000 rs. For it's asking price, the phone offers so much of attractive specs such as 1.3 GHz Quad-core Processor, 3GB RAM, 5.5-inch HD Screen, Corning Gorilla Glass 3 protection, 13 MP Rear camera and most of all 8MP Front Camera. So for selfie lovers this phone is a great choice and but also quite good for normal phone users too.

Key Features:

  • OS: Android Marshmallow v6.0
  • Processor: 1.3 GHz Quad-core Processor
  • Memory: 3GB RAM & 16GB ROM
  • Display: 5.5 inch HD IPS Display
  • Camera: 13 MP Rear, 8 MP Front Camera
  • Connectivity: 4G LTE
  • Battery: 2600 mAh Battery
  • Others: Corning Gorilla Glass 3

Buy From Amazon »

Lenovo Vibe P1m

Check Price

best-android-smartphone-under-8000-lenovo-vibe-p1m

Lenovo Vibe P1m is a Best Battery Backup Smartphone under Rs 8000 with a huge 3900 mAh battery powering up the phone. The phone is powered by 1 GHz Quad Core Processor together with 2GB RAM and runs on Android Lollipop OS with beautiful VibeUI running on top. Besides it also supports 4G LTE for fast internet connectivity.

Key Features:

  • OS: Android Lollipop, VibeUI 7
  • GPU: Mali-T720 GPU
  • Processor: 1 GHz MediaTek Quad Core Processor
  • Memory: 2GB RAM & 16GB ROM
  • Display: 5 inch HD IPS Display
  • Secondary: Expandable Up to 32GB
  • Camera: 8MP Rear, 5MP Selfie Camera
  • Connectivity: Dual Sim, 4G LTE
  • Battery: 3900 mAh Battery

Buy From Flipkart »

There are other also good options available in Top 10 4G Smartphones under Rs 8000 and comes with great specs with lot of features such as 2GB RAM, Snapdragon Processor, 16 GB ROM, Gorilla Glass Protection and 4G support.

Samsung Galaxy On5

best-samsung-phone-under-8000-galaxy-on5

Key Features:

  • OS: Android v5.1 Lollipop
  • GPU: Mali-T720 MP1
  • Processor: 1.3 GHz Exynos 3475 Quad Core Processor
  • Memory: 1.5GB RAM & 8GB ROM
  • Display: 5 inch HD display
  • Secondary: Expandable Upto 128 GB
  • Camera: 8MP Rear, 5 MP Selfie Camera
  • Connectivity: Dual Sim, 4G
  • Battery: Removable, 2600 mAh Battery

Pros:

  • HD Display
  • Great 5 MP Selfie Camera
  • Light-weight & Slim Design
  • Good battery life
  • 4G Support
  • Brand Value

Cons:

  • Internal Storage
  • RAM

Buy From Flipkart »

That makes our recommendations for top 10 best android phones under 8000 rupees in India.

Last Modified: 13-Jun-2017


Contact Form

Name

Email *

Message *