Hi, this is for U only.Do well, Feel Free…

  • No of Hits

    • 7,013 hits
  • Enter your email address to subscribe to this blog and receive notifications of new posts by email.

    Join 8 other followers

  • Time is Now

    June 2020
    M T W T F S S
  • Zip


Posted by Manikandan.MS on June 1, 2013


ISRO has launched first time earth observation map, named BHUVAN on 12th August 2009.  The BHUVAN is a 2D and 3D satellite earth observation mapping tool, which is purely developed by ISRO of INDIA. It is a kind of map similar to Google Map, NASA World Wind, WikiMapia etc.


                The BHUVAN is projecting more detailed imagery of Indian locations. It will use the captured information from the India’s seven remote sensing satellites. When opening BHUVAN on browser, its dynamically starts zooming on the Indian origin. Use of BHUVAN service for the common man can zoom into any part of the world on their personal computer except sensitive location such as military and nuclear installation.

The gathered data will be available at free of cost to the users but high resolution and customized precision data given to agencies at a cost. ISRO’s one of the centers of NRSC (National Remote Sensing Center) has played important role to creation of this product.


                Why the ISRO want to develop this kind of application? Let me fill the answer in a few lines. This product was developed for mainly to care about India.  The gathered data by the BHUVAN will be distributed to the central and state government of various agencies for urban planning, forest planning, traffic management, education and crop planning.  Additionally it has number of other features, which include weather information and administrative boundaries of various states and districts of India.

Various Aspects:          

                Now, the BHUVAN provides better 2D and 3D satellite imagery of India. It has best resolution over the Indian sub-continent. It is showing imagery on multi layer from the personal server and the capturing imagery has been upgraded at every year. Users have the options of viewing on different dates. Additionally it provides various tools to users, can draw 2D and 3D objects in a hand free lines.

BHUVAN Access:

                In this parameter, let me explain installation and access of BHUVAN. 2D based map can be accessed over the online without any plug-in installation including mobile phones. Its adaptable with all browsers and operating systems.

3D based map can be run with few restrictions. It needs a plug-in to support. Before going to use 3D map, we should download and install a plug-in called “BHUVAN setup” on systems. Now Windows Operating systems alone support it.


In this place, I won’t to compare this with other mapping tools like Google map, WikiMapia etc. Because they have been developed for commercial purpose to make money but BHUVAN is not similar one. The BHUVAN is developed for India and the purpose I explained in the previous paragraph.


As the BHUVAN has been developed just 3 years back, its having many features including the imagery resolution medium to high. Additionally its playing competitor to other mapping tools. I really want to appreciate the ISRO for giving such a kind of effective products.

Posted in Uncategorized | Leave a Comment »

Scripting Vs Programming

Posted by Manikandan.MS on November 7, 2012


Many people are confused when talking about difference between Programming languages and Scripting languages. There really isn’t any technical difference. So the answer is like dazzle. Programming within a program is called Scripting.  Scripts for automate certain functionality within another program in a smart way.  “Scripting” is just a name it picked up nothing more.  Whereas programming language is a general term used to all coding languages including scripting language.

Compiled And Interpreted Languages:

                Compiled or programming languages such as C, C++ or Java are directly executed once (the translator which generates machine code from source code).  Interpreted or scripting languages such as Perl, PHP, Python or Ruby are executed indirectly by an interpreter program (No translation takes, the source code can be executed step by step).

Need of Scripting Languages:

                Today we want to write more lines of code for high level of computer performance with inadequate time. In that case to write code in a quick and easy way, the scripting languages are used. Alternatively we can define that, it takes smaller executable program size. Scripting is lightweight, easy to learn, easy to use and easy to distribute.  Script allows you to create interactive web pages and producing dynamic web content with minimum effort.  Complex tasks can be performed in relatively few steps.

Programming Language:

                As we early said, a common term for all coding language is named programming. It runs independently. Let’s explain with few examples. All the compiled language runs within its parent program. But java (like scripting) can run inside another program called Java Virtual Machine. PHP is a scripting language which runs inside PHP script engine which is more powerful and efficient.

Disadvantages of Scripting:

                From the previous paragraph, we have learned that need and use of scripting. Now we are switching to discuses about major disadvantages of scripting languages as follows. Interpreter is much slower speed of program execution comparing with traditional programming languages. An account of scripting runs inside another program. The execution can be taken indirectly.  But in practically there is no speed advantage with compiled language.


                Scripting and Programming both are same. Scripting runs inside another program where as Programming runs inside a parent program. Only the execution time should be varying.  I thing, the scripting can be used more than compiled languages on the future.

Posted in Uncategorized | Leave a Comment »

New Features of PHP 5.4.x

Posted by Manikandan.MS on October 29, 2012

I am very happy to write about this article because new interesting things inside new versions of php 5.4.x. I am going to explain few of new added features one by one on the following paragraphs.

Improved performance and reduced memory conception is one of the key features added in it. The first one is Traits, it’s a method of code reusability, implemented from php. In the object oriented scripting the traits allows to access sets of methods freely and independently. While inheriting classes, the traits enable to reuse code in a single inheritance. We can directly call particular hierarchies methods using traits.

The next parameter is closures. It’s nothing but anonymous functions. It allows creating functions without specified name. Now can use “$this” key value inside closures functions. Not only for this one, also has it had many other uses.

Short array syntax that is array improvement has been added in it. Short open tag “<?=” is now always available, only need to config in php.ini file to enable short open tag. Parse error message and incompatible arguments warnings have been improved.  Functions array dereferencing and binary number format have been added. By using binary number format we can easily calculate any arithmetic manipulation and no need to convert to binary format through own scripting technique.

The next parameter is built in web server. Php now support own small web server for only development purpose not for production server. The built in web server provides, the developer can test their files using this.  localhost:8000 this port allows users can execute their files. Specifying document root and php router file in command line is also possible.  The php router script file executes every request.

Upload progress of files now achieved through session extension. In the past, getting upload file progress through external packages. But now can get the upload file prograss through session data. For this, need to enable in php.ini file to use upload prograss. By using the following code this “<?php echo ini_get(“”); ?>” can get upload progress data.

The php 5.4.x has been removed few features as well as they newly added for the purpose of their internal use. magic_quotes(), safe_mode() and register_global() functions were removed. Also the allow call time pass reference function was removed. UTF-8 is the default char set in php.ini file.

Posted in Uncategorized | Leave a Comment »

Alternative PHP Cache

Posted by Manikandan.MS on August 3, 2012

             This article describes about Alternative PHP Cache(APC). In PHP scripting program there are basically two kinds of caching technique one is opcode cache and next one is data cache. The APC is the opcode cache which can significantly speed up your applications. It caches both user variables and php code so that it minimize overall server load and memory usage.

The following points will explains about APC in detail. Suppose a site has thousands of requests per minute then we want to speed up the things to response given. So that the APC comes. Actually it is a free, open and robust framework for caching and optimizing PHP intermediate code. Simply APC caches the compiled output of each php script and reuse it for subsequent requests.

How it speed up the applications? Actually it uses shared memory for read/write operations. That means it stores the opcode into shared memory then copies opcode into execution process. Classes and functions tables are also stored into shared memory. APC alos provides a user cache for storing application data.

Next parameter will explains execution of APC. Simply, it checks the required data in already exists cache. If it doesn’t, it should be generated from the original data source and a copy saved to cache for future use. If it does, it can use it from the cache directly. There are predefined methods available for developers to store and fetching data in apc cache. APC allows you to cache arrays, objects, functions and references.

Configuration is the main points in APC. There are some procedures need to follow to configure . It takes time to configure and must be re-configured whenever php script added. There are two primary decisions to be made while configuring. First, ensure how much memory is going to be allocated to APC and second, whether APC will check if a file has been modified for every request. Once the server is running the apc.php script is bundled and copied somewhere into root directory and viewed with a browser. If the cache capacity reached maximum it has to forcefully clean. Data capacity should be minimized in a well configured cache. The easiest way to minimize the capacity allocate more memory to APC. In default It use 32Mb. So use APC for caches which sites are do not change often and will not grow large.

When APC is build with Memory Mapping, it will use only one memory segment, unlike when APC is build with SHM(SysV Shared Memory), it will support multiple memory segment. But I don’t know much about SHM. A well configured APC will absolutely speed up the application. Use Apc caching module depends on project requirements which are not change often and will not grow large.

Posted in Uncategorized | Tagged: , , , | Leave a Comment »

How to enable cURL in PHP

Posted by Manikandan.MS on June 2, 2012

Fatal error: Call to undefined function curl_init().

In wamp or xampp you may get these kind of error while running PHP, Mysql Program. If you want to avoid you will enable curl_init() function in php.ini file.

How to enable curl_init() function or libraries:

Open the following files.

1. C:\wamp\bin\apache\Apache2.2.21\bin\php.ini
2. C:\wamp\bin\php\php5.3.10\php.ini

In the sub folder you may find 2 php.ini file. open that files and find the below lines

these lines change to

 you should remove the semicolon (;) in front of the php_curl.dll function as like above showed and save the file

Incase in xampp you find php.ini file and do the same changes in it.

Note:  After all the changes you must RESTART your wamp or xampp server.

Posted in Uncategorized | 3 Comments »

url rewrite in php apache mod_rewrite .htaccess for beginners

Posted by Manikandan.MS on February 23, 2012

Hi, Its very pretty for change url in address bar to any format or redirect to any (page)url

Coming soon …

Posted in Uncategorized | 2 Comments »

Image Resize in php

Posted by Manikandan.MS on July 22, 2011

1 .  Copy the below code and save this file like SimpleImage.php

// Source code : SimpleImage.php

error_reporting(E_ALL ^ E_NOTICE);
class SimpleImage {

var $image;
var $image_type;

function load($filename) {

$image_info = getimagesize($filename);
$this->image_type = $image_info[2];
if( $this->image_type == IMAGETYPE_JPEG ) {

$this->image = imagecreatefromjpeg($filename);
} elseif( $this->image_type == IMAGETYPE_GIF ) {

$this->image = imagecreatefromgif($filename);
} elseif( $this->image_type == IMAGETYPE_PNG ) {

$this->image = imagecreatefrompng($filename);
function save($filename, $image_type=IMAGETYPE_JPEG, $compression=75, $permissions=null) {

if( $image_type == IMAGETYPE_JPEG ) {
} elseif( $image_type == IMAGETYPE_GIF ) {

} elseif( $image_type == IMAGETYPE_PNG ) {

if( $permissions != null) {

function output($image_type=IMAGETYPE_JPEG) {

if( $image_type == IMAGETYPE_JPEG ) {
} elseif( $image_type == IMAGETYPE_GIF ) {

} elseif( $image_type == IMAGETYPE_PNG ) {

function getWidth() {

return imagesx($this->image);
function getHeight() {

return imagesy($this->image);
function resizeToHeight($height) {

$ratio = $height / $this->getHeight();
$width = $this->getWidth() * $ratio;

function resizeToWidth($width) {
$ratio = $width / $this->getWidth();
$height = $this->getheight() * $ratio;

function scale($scale) {
$width = $this->getWidth() * $scale/100;
$height = $this->getheight() * $scale/100;

function resize($width,$height) {
$new_image = imagecreatetruecolor($width, $height);
imagecopyresampled($new_image, $this->image, 0, 0, 0, 0, $width, $height, $this->getWidth(), $this->getHeight());
$this->image = $new_image;

2 . Also copy the below code and save this file like upload.php

// source code : upload.php

if( isset($_POST['submit']) ) {

$image = new SimpleImage();
} else {


<form action="upload.php" method="post" enctype="multipart/form-data">
<input type="file" name="uploaded_image" />

<input type="submit" name="submit" value="Upload" />



Posted in Uncategorized | Leave a Comment »

How to increase the speed of our Browsers

Posted by Manikandan.MS on February 24, 2011

In Firefox 3.0 for PCs
        1. Log out of Gmail and close all other open browser windows.
        2. Click the Tools menu at the top of your browser and select Clear Private Data…
        3. Select the Cookies and Cache checkboxes.
        4. Click Clear Private Data Now.
In Firefox 3.5+ for PCs
        1. Click the Tools menu.
        2. Click Clear Recent History.
        3. Expand the details.
        4. Select the Cookies and Cache checkboxes.
        5. Click Clear Now.
In Internet Explorer 6.x
        1. Log out of Gmail. Close all other open browser windows.
        2. Click the Tools menu at the top of your browser, and select Internet Options.
        3. Click the General tab at the top of the dialogue box.
        4. Click Delete Files under Temporary Internet files.
        5. Select Delete all offline content by checking the box.
        6. Click OK.
In Internet Explorer 7
        1. Log out of Gmail and close all other open browser windows.
        2. Click Tools > Internet Options.
        3. Select the General tab.
        4. Click Delete under Browsing History.
        5. Under Temporary Internet Files, click Delete Files.
        6. Click Delete Cookies.
        7. Click OK.
In Internet Explorer 8
        1. Log out of Gmail and close all other open browser windows.
        2. Click Tools > Delete private browsing history.
        3. Click the box next to ‘Temporary Internet files’ and ‘Cookies.’
        4. Click Delete.

Posted in Uncategorized | Leave a Comment »

Interface as in Tamil in Website

Posted by Manikandan.MS on June 22, 2010

Example: source code of  html

Name: utfeight.html

/* By using the Below html coding we can create website as in Natural language graphical User Interface */


1. copy the below code and paste it in the notepad

2. save this file in utfeight.html

3.while saving choose UTF-8  as encoding in the notepad

//Source code..

<body bgcolor=pink>

Make Interface as in Tamil graphical&lt;br&gt;
This Example for Unicode access...&lt;br&gt;&lt;br&gt;

<input type=text name=name value=முத்தமிழ்>
<input type=submit value=மணிகண்டன்>

//Note: while pasting, the tamil characters only as like boxes, don’t consider them..

OUTPUT: manimjs

Posted in Uncategorized | Tagged: | 3 Comments »

Creating Tamil Dictionary in JAVA

Posted by Manikandan.MS on March 3, 2010


1. Copy the below code and paste it in the notepad and save as

2.Open one MS office Document and put some of the Tamil sentence like

‘ apple: ஆப்பிள் என்பது ஒரு வகையான பழம்’

* you should save as “apple.doc”

3. The same thing (point 2) make another ms document  and put some Tamil sentence

and save as “ball.doc”

4. The same thing we make ‘n’ number of document and put it in a folder where your source code( is available.

5. Check whether you should installed ” j2sdk1.4 ” otherwise it will not work(if it is old version)

6. When you run this program : It ask a word and you enter a word  like ‘ apple ‘ then it automatically display the corresponding Meaning in Tamil which we written in the MS Document.

Source code:

//program name :

import java.awt.*;
import java.awt.event.*;

class TamilDict extends Frame implements ActionListener
TextField t1;
TextArea t;
Button b1;
Label l1;

setSize(1024, 768);

l1 = new Label("Server");
t1 = new TextField("enter your word");
b1 = new Button("search");
t=new TextArea(" ");

l1.setBounds(30, 80, 200, 25);
t1.setBounds(100, 80, 200, 25);
b1.setBounds(320, 80, 80, 25);


addWindowListener(new WindowAdapter()
public void windowClosing(WindowEvent e1)

public void actionPerformed(ActionEvent e2)

String s="";
int temp;
String fname = t1.getText() + ".doc";

if (e2.getSource() == b1)
FileInputStream fis = new FileInputStream(fname);
InputStreamReader isr = new InputStreamReader(fis, "UTF8");

s=s+ (char)temp;



catch (Exception e) { }

public static void main(String args[])    {

Test o = new Test();

/* This is one of the Project which I did.

  • powered by Manikandan,  Enjoy This… */

Posted in Uncategorized | 9 Comments »


Why We live

TechView Mani

A blog of New Technologies


Hi, this is for U only.Do well, Feel Free...