How to get browser name and version using JavaScript

in JavaScript / No Comments

Hi friends, In this post I am going to explain about how to get the browser name and there version using simple JavaScript function. JavaScript Code function detectBrowser(){     var N= navigator.appName;     var UA= navigator.userAgent;     var temp;     var browserVersion= UA.match(/(opera|chrome|safari|firefox|msie)\/?\s*(\.?\d+(\.\d+)*)/i);     if(browserVersion && (temp= UA.match(/version\/([\.\d]+)/i))!= null)  

…continue reading the post “How to get browser name and version using JavaScript”

Improve your website performance – 2

in Articles / No Comments

Hi friends, in the earlier post I have explained few steps to improve website performance. In this post I am going to explain few more points. Using .htaccess file also we can improve performances of our websites. We can write below points in our .htaccess file to improve our website performance. 1. Rewrite urls (

…continue reading the post “Improve your website performance – 2″

Upload files to server using SCP / SSH

in Articles, OS, Ubuntu / 1 Comment

Hi friends, In this post I am going to explain how to upload your large files / database files to server using terminal with the help of commands SCP or SSH. Basic command for uploading files scp -P [PORT NUMBER] [PATH OF YOUR LOCAL FILE] [USERNAME]@[HOST]:[DESTINATION PATH] Here [PORT NUMBER] : The default port number

…continue reading the post “Upload files to server using SCP / SSH”

Top blog posts in 2013

in Articles / No Comments

Hi friends, this posts have list of blog posts which are most viewed. The top blog posts are based on Google Analytics. In the sidebar widget denotes that popular posts from starting of blog. This post contains top posts of year 2013. 1. Top 100 IT companies (Rank wise List) with URL URL: http://www.anil2u.info/2010/03/top-100-it-companies-rank-wise-list/ 2.

…continue reading the post “Top blog posts in 2013″

More tips on .htaccess

in Articles, Facebook / No Comments

Recent days I got an issue with Facebook Application, In that application used .htaccess to redirect the urls, If we want to use this app then we should have secured url i.e. ‘https’, Before purchase the SSL for our domain. We can check our app by changing the security permission in https://www.facebook.com/settings?tab=security , we can

…continue reading the post “More tips on .htaccess”

Download videos from Youtube using PHP and API

in PHP, PHP Code / 17 Comments

Hi friends, In the earlier we learned how to download a file using php code, this post is explains how to download videos from Youtube using by PHP code and API. This post by Siddhu Vydyabhushana, his earlier post is jQuery plugin for Text to Speech, this time come with this unique post. Main file

…continue reading the post “Download videos from Youtube using PHP and API”

Code snippets of PHP and Javascript

in JavaScript, PHP Code / 3 Comments

Hi friends, this post explains about few code snippets used when we develop a web applications. Snippet 1 : Generate the random numbers with limits and those numbers shouldn’t be repeat using PHP PHP Code <?php $num=range(1,10);    shuffle($num);    for ($i=0; $i<10; $i++) {             echo $num[$i];    

…continue reading the post “Code snippets of PHP and Javascript”