Add Page Load Time Tracking option in Google Analytics

As we know that the Page Load Time of any website plays an important role in Google search engine ranking. If Page Load Time of your site is  taking too much time then may be Google will decrease your ranking in search engine .We can check Page Load Time using Google app. But unfortunately by this important feature is not implemented in Google Analytics data as a default option. Now I ll show how to insert Page Load Time option in your Analytics Dashboard.

Google Site Speed Tracking: “Page Load Time” –

The Google site speed measures the page load time for sample of page view from website pages. This option is available in the content section of Google Analytics reports. Using this report we can check which page is taking more time to load and which page is taking less time. We can also analyze the overall speed of site.

How to add Speed Tracking feature to your website?

To implement Site Speed report feature with Google analytics we need to insert a simple code with Google analytics site tracking code. This simple one line code is

_gaq.push(['_trackPageLoadTime']);

Let me show you how to add this code with Google Analytics tracking code:

You’re original Google Analytics tracking code will look like this:

<script type="text/javascript">
 var _gaq = _gaq || [];

_gaq.push(['_setAccount', 'UA-30403343-12']);

_gaq.push(['_trackPageview']);

(function() {

var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;

ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';

var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);

})();

</script>

And after make changes code will looks like this:

<script type="text/javascript">
var _gaq = _gaq || [];

_gaq.push(['_setAccount', 'UA-30403343-12']);
_gaq.push(['_trackPageview']);
<div>

_gaq.push(['_trackPageLoadTime']);

</div>

(function() {

var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;

ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';

var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);

})();
</script>

After this process you need to wait few hours for the new updated tracking code start getting new data from your website. After few hours if Average Page Load time report is not available in Analytics then login to your Google Analytics dashboard and add a new widget with title “Avg. Page Load Time (sec)” and metric “Avg. Page Load Time (sec)”.page load time in google speed

 

* Content archived from “http://blogbl.com/add-page-load-time-tracking-option-in-google-analytics/” and all credit goes to the original authors. The views or opinions expressed in this article are those of the original author and do not necessarily reflect the views or opinions of Infozill.

Chevereto – Online Image Hosting Application

I used several online image hosting application in my web development career and Chevereto is one of them. I used Chevereto when it was an open source application and at that time its version was “chevereto_nb1.91”. Till now that open source version is available on Google Code.  Present version of this online image hosting application is “Chevereto 2.0.18” and date of release of this version is 24-12-2011.

Chevereto is an online image hosting application that allows you to start your own image hosting and image sharing website. You can upload images and share either from your own personal computer or from the other websites. One more plus point of this CMS is its slick user interface. It is very simple in look not complex like other image hosting applications and I am sure you will definitely love its look and feel.

Chevereto Online image hosting application

The main features of this application are:

1. Unencrypted Source Code – Source Code of this online image hosting application is totally unencrypted and you can update this according to your requirements.

2. Remote Upload – Using Chevereto image hosting application you can upload images from your computer.

3. Themes Support – Same as other CMS, Chevereto is also providing theme change option.

4. Smart Image Resizing – One of the best features of this image hosting application is its unique image resizing option.

5. URL Shorteners Integration – You can integrate any URL Shortener like bit.ly etc with Chevereto online image hosting application.

6. Multiple Image upload – This feature is all ready available in all image hosting applications.

7. Multiple languages Support – This application also contains multiple language support feature. So you can change language according to your requirement.

8. No Database Needed – To run Chevereto you don’t need to create any database. This online image hosting application runs without database.

Chevereto provides lifetime multidomain license which means that you have to buy it once and then you can use it on all of your sites without paying extra money for activation.

System requirements: Chevereto image hosting application has standard server requirements like PHP, Apache, etc.

Demo : http://demo.chevereto.com/

Download Chevereto : Open Source (not updated) (chevereto_nb1.91)

Download Chevereto Latest Version : http://chevereto.com/
 

* Content archived from “http://blogbl.com/chevereto-online-image-hosting-application/” and all credit goes to the original authors. The views or opinions expressed in this article are those of the original author and do not necessarily reflect the views or opinions of Infozill.

4 character long available domain name generator

Domain Extensions

Recently I developed a script to find 4 character long  available domain name. We all know that 4 character long available domain name is very difficult to find. Generally all normal keywords are already registered. So I planned to develop an application using that I can search 4 character available domains.

I wrote this script to randomly generate 4 character long available domain names with combination of alphabets a-z and numbers 0-1. In this script I assumed that pronounce ability would not be a major factor because all pronounceable domains are already get registered. And the results were what I was expecting:

  • Random a-z domain name generation : 100 %
  • Random a-z + 0-1 domain name generation : 100%

Because the processes of this script is utilizing lot of server resources. So I planned to develop a lighter version of 4 character long available domain name generator for you and this lighter version of script will generate list of 10 available 4 character domain names randomly. After every page refresh you will get new list of 4 letter domains.

This 4 character long available domain name generator script is currently configured to find .IN, .COM, .NET, .ORG, .INFO, .BIZ and .US domains but you can easily customize this to look for other domain extensions. To customize this for any other extension you need to add /delete that extension according to all extensions written in script:

if(checkdomain("whois.nsiregistry.net",$current.".com")) {

echo $current.".COMn<br />"; $i--; }

Now I am going to share that script with you . Save this script as php file and host this file on your hosting server or in your localhost server (To run this application from your localhost server you need to be connected with internet).

4 character long available domain name :

<?php
 ///////////////////////////////////////////////////////////////////////////////
 // Amit Blogbl's 4-Character Domain Scanner Script
 // amitkr.cs@|gmail.com - http://www.amitkr.in
 //
 //
 // Scans for .IN,.COM, .NET, .ORG, .INFO, .BIZ, .US domains
 // Easily configured for more.
 //
 // I make no guarantee of the validity of these results.
 //
 // For a list of whois servers, check out:
 //http://www.domaininformation.de/whoisserver_list.html
 //http://www.mit.edu/afs/athena/contrib/potluck/Net-Services/whois-servers.list
 ///////////////////////////////////////////////////////////////////////////////
 ///////////////////////////////////////////////////////////////////////////////
 // This is the number of domains the script will stop at.
 // Try not to set it too high. You'll upset your host and the nameservers

$i = 10;

///////////////////////////////////////////////////////////////////////////////
 // Here is the function for checking the availability of a domain

function checkdomain($xserver, $xdomain) {
 $sock = fsockopen($xserver,43) or die("Error Connecting To Whois Server");
 fputs($sock,"$xdomainrn");
 while(!feof($sock))
 $result .= fgets($sock,128);
 fclose($sock);
 if(eregi("No match",$result)||eregi("NOT FOUND",$result))
 return true;
 else
 return false;
 }

///////////////////////////////////////////////////////////////////////////////
 // Here is the array that we will pull random characters from

$chars = array("a","b","c","d","e","f","g","h","i","j","k","l","m","n","o","p",
 "q","r","s","t","u","v","w","x","y","z","0","1","2","3","4","5","6","7","8","9");

///////////////////////////////////////////////////////////////////////////////
 // Here is some boring HTML/CSS. :P 

echo "<style>.domains {font-size: 10px;font-family:Tahoma;color:black;font-weight:bold;}</style>
 <div class="domains"><u>Scanned and found</u> ".$i." <u>domains</u>:<br />n";

///////////////////////////////////////////////////////////////////////////////
 // Now, let's start scanning!

while($i > 0){

///////////////////////////////////////////////////////////////////////////////
 // Here is where we generate a random string of 3 in the format XXX
 // This can be changed easily to the format LLN with this code instead:
 ///// $current = $chars[rand(0,25)].$chars[rand(0,25)].rand(0,35);
 // Or to L-N with this code:
 ///// $current = $chars[rand(0,25)]."-".rand(0,9);
 // Mix and match. Get what you're looking for! :P 

$current = $chars[rand(0,25)].$chars[rand(0,25)].$chars[rand(0,35)].$chars[rand(0,35)];

///////////////////////////////////////////////////////////////////////////////
 // Here is where we start checking domains
 // Feel free to add/remove domains or change whois servers

if(checkdomain("whois.nsiregistry.net",$current.".com")) {
 echo $current.".COMn<br />"; $i--; }

if(checkdomain("whois.inregistry.net",$current.".in")) {
 echo $current.".INn<br />"; $i–; }

if(checkdomain("whois.nsiregistry.net",$current.".net")) {
 echo $current.".NETn<br />"; $i--; }

if(checkdomain("whois.pir.org",$current.".org")) {
 echo $current.".ORGn<br />"; $i--; }

if(checkdomain("whois.afilias.net",$current.".info")) {
 echo $current.".INFOn<br />"; $i--; }

if(checkdomain("whois.biz",$current.".biz")) {
 echo $current.".BIZn<br />"; $i--; }

if(checkdomain("whois.nic.us",$current.".us")) {
 echo $current.".USn<br />"; $i--; }
 ob_flush();
 flush();
 }

///////////////////////////////////////////////////////////////////////////////
 // We're done! :) 

echo "</div>";
 ?>
 <a href="http://www.blogbl.com">Learn n Earn</a> | <a href="http://www.hostingly.com

 

* Content archived from “http://blogbl.com/4-character-long-available-domain-name-generator/” and all credit goes to the original authors. The views or opinions expressed in this article are those of the original author and do not necessarily reflect the views or opinions of Infozill.

Top 5 Free Antivirus Software 2015

In today’s life internet is playing an important role to get information and news updates around the globe and it is totally free. We are also doing online transaction to buy something and to play online games etc. and these all transactions need a secure internet connection. Because when we connect to internet sometimes several malware and viruses attack on our computer. So we must have an antivirus software installed in our computer or laptop to protect our every online activity.

As we know there are two types of antivirus software:

  1. Commercial Antivirus Software: Commercial Antivirus Software is a professional version of antivirus in which there are more rich features for security and protection from virus and malware. These commercial versions of antivirus are mainly for business purpose where lot of online transactions are going on.
  2. Free Antivirus Software: Free Antivirus software is mainly for simple home use. Free version of antivirus is not too much advance like commercial version but it is perfect for home use. One of the main advantage of Free Antivirus Software is we can try different antivirus to check which one is better.

List of  Top 5 Free Antivirus Software 2015 are:

1. Microsoft Security Essentials 2015

Features of Microsoft Security Essentials are :

  1. System scanning
  2. Real-time protection
  3. System cleaning
  4. Dynamic signature service
  5. Windows Firewall integration
  6. Protection against real threats, not good software
  7. Rootkit protection
  8. Network inspection system

2. Avast! Free antivirus 2015

Features of Avast! Free Antivirus are :

  1. Remote: Allows assistance from a geek friend
  2. Engine: Blocks viruses & spyware
  3. Cloud: Streams real-time updates
  4. Cloud: Gives file reputation warnings

3. Avira Free Antivirus

Features of Avira Free Antivirus are:

  1. Quick Removal eliminates viruses at the push of a button
  2. Effective protection against viruses, worms and Trojans
  3. Anti Spyware protection
  4. Anti Rootkit protection
  5. Anti Phishing protection

4.PC Tools iAntivirus

Features of iAntivirus are:

  1. Enhanced infection removal capabilities
  2. Ability to quarantine and restore items that have been detected
  3. Customizable Scan Settings
  4. Virus Scan and Removal for MBR

5. BitDefender Full Version Free Download 2015

Features of BitDefender Free Edition are:

  1. Immediate Scanning
  2. Virus Scanning & Removal

 

* Content archived from “http://blogbl.com/top-5-free-antivirus-software-download-2012/” and all credit goes to the original authors. The views or opinions expressed in this article are those of the original author and do not necessarily reflect the views or opinions of Infozill.

Google PR checker script to check PR of all pages within Website

prLast week I was trying to develop a Google PR Checker Script to check page rank of all pages within site. Generally we check page rank of website domain i.e. www.sitename.com . And maximum page rank checker sites provide info only about the URL we input in the form.  This is the main reason why I was trying to develop Google PR Checker Script   to check the PR of all the pages within site in one click.

During development of this Google PR Checker Script I faced lot of technical issues and one of them was if I want to check page rank of entire website (i.e. PR of all internal pages) then I need to visit every page separately. To visit every page, first I planned to use crawler using that I can make a list of all internal pages or posts. During implementation of crawler I found that several sites banned this crawler IP or their permissions for bots are different. And finally I planned to use sitemap to get list of internal pages. I used xml sitemap of website to get links of internal pages because approx all websites mainly WordPress sites are using XML sitemap.check pr

Now I am going to share Google PR checker script:

This application contains two files index.php and pagerank.php. I wrote all page rank related codes in pagerank.php and call this function using index.php. Save both file in any directory on server and run index.php. You can also download full script from link given bellow.To run this application you need to host this in localhost of your apache server installed in your system.

You can also host this script on your site and create your own Google PR checker site. But I ll suggest to use this application only for personal use and from localhost because this application ll consume lot of resources of your server.

Code of this script are :

Pagerank.php

<?php

$alexa_backlink=0;
$alexa_reach=0;
$techno_inblogs=0;
$techno_inlinks=0;
$techno_update='';
function StrToNum($Str, $Check, $Magic)
{
$Int32Unit = 4294967296; // 2^32

$length = strlen($Str);
for ($i = 0; $i < $length; $i++) {
$Check *= $Magic;
//If the float is beyond the boundaries of integer (usually +/- 2.15e+9 = 2^31),
// the result of converting to integer is undefined
// refer to http://www.php.net/manual/en/language.types.integer.php
if ($Check >= $Int32Unit) {
$Check = ($Check - $Int32Unit * (int) ($Check / $Int32Unit));
//if the check less than -2^31
$Check = ($Check < -2147483648) ? ($Check + $Int32Unit) : $Check;
}
$Check += ord($Str{$i});
}
return $Check;
}
function HashURL($String)
{
$Check1 = StrToNum($String, 0x1505, 0x21);
$Check2 = StrToNum($String, 0, 0x1003F);

$Check1 >>= 2;
$Check1 = (($Check1 >> 4) & 0x3FFFFC0 ) | ($Check1 & 0x3F);
$Check1 = (($Check1 >> 4) & 0x3FFC00 ) | ($Check1 & 0x3FF);
$Check1 = (($Check1 >> 4) & 0x3C000 ) | ($Check1 & 0x3FFF);

$T1 = (((($Check1 & 0x3C0) << 4) | ($Check1 & 0x3C)) <<2 ) | ($Check2 & 0xF0F );
$T2 = (((($Check1 & 0xFFFFC000) << 4) | ($Check1 & 0x3C00)) << 0xA) | ($Check2 & 0xF0F0000 );

return ($T1 | $T2);
}
function CheckHash($Hashnum)
{
$CheckByte = 0;
$Flag = 0;

$HashStr = sprintf('%u', $Hashnum) ;
$length = strlen($HashStr);

for ($i = $length - 1; $i >= 0; $i --) {
$Re = $HashStr{$i};
if (1 === ($Flag % 2)) {
$Re += $Re;
$Re = (int)($Re / 10) + ($Re % 10);
}
$CheckByte += $Re;
$Flag ++;
}

$CheckByte %= 10;
if (0 !== $CheckByte) {
$CheckByte = 10 - $CheckByte;
if (1 === ($Flag % 2) ) {
if (1 === ($CheckByte % 2)) {
$CheckByte += 9;
}
$CheckByte >>= 1;
}
}

return '7'.$CheckByte.$HashStr;
}
function getpagerank($url) {
$query="http://toolbarqueries.google.com/tbr?client=navclient-auto&ch=".CheckHash(HashURL($url)). "&features=Rank&q=info:".$url."&num=100&filter=0";
$data=file_get_contents_curl($query);
//print_r($data);
$pos = strpos($data, "Rank_");
if($pos === false){} else{
$pagerank = substr($data, $pos + 9);
return $pagerank;
}
}

function get_technorati_rank($url, $apikey)
{
global $techno_url, $techno_inblogs, $techno_inlinks, $techno_update;

$technorati_xml = "http://api.technorati.com/bloginfo?key=" . $apikey . "&url=" . $url;
$xml_parser = xml_parser_create();
/*
$fp = fopen($technorati_xml, "r") or die("Error: Reading XML data.");
$data = "";
while (!feof($fp)) {
$data .= fread($fp, 8192);
}
fclose($fp);
*/
$data=file_get_contents_curl($technorati_xml);
xml_parse_into_struct($xml_parser, $data, $vals, $index);
xml_parser_free($xml_parser);

//get values
$index_rank = $index['RANK'][0];
$techno_rank = $vals[$index_rank]['value'];
//print_r($vals);

$index_inblogs = $index['INBOUNDBLOGS'][0];
$techno_inblogs = number_format(trim($vals[$index_inblogs]['value']));
$index_inlinks = $index['INBOUNDLINKS'][0];
$techno_inlinks = number_format(trim($vals[$index_inlinks]['value']));
$index_update = $index['LASTUPDATE'][0];
$techno_update = trim($vals[$index_update]['value']);
return $techno_rank;
}
function get_alexa_popularity($url)
{
global $alexa_backlink, $alexa_reach;
$alexaxml = "http://xml.alexa.com/data?cli=10&dat=nsa&url=".$url;

$xml_parser = xml_parser_create();
/*
$fp = fopen($alexaxml, "r") or die("Error: Reading XML data.");
$data = "";
while (!feof($fp)) {
$data .= fread($fp, 8192);
//echo "masuk while<br />";
}
fclose($fp);
*/
$data=file_get_contents_curl($alexaxml);
xml_parse_into_struct($xml_parser, $data, $vals, $index);
xml_parser_free($xml_parser);

//print_r($vals);
//echo "<br />";
//print_r($index);

$index_popularity = $index['POPULARITY'][0];
$index_reach = $index['REACH'][0];
$index_linksin = $index['LINKSIN'][0];
//echo $index_popularity."<br />";
//print_r($vals[$index_popularity]);
$alexarank = $vals[$index_popularity]['attributes']['TEXT'];
$alexa_backlink = $vals[$index_linksin]['attributes']['NUM'];
$alexa_reach = $vals[$index_reach]['attributes']['RANK'];

return $alexarank;
}
function alexa_backlink($url)
{
global $alexa_backlink;
if ($alexa_backlink!=0)
{
return $alexa_backlink;
} else {
$rank=get_alexa_popularity($url);
return $alexa_backlink;
}
}
function alexa_reach_rank($url)
{
global $alexa_reach;
if ($alexa_reach!=0)
{
return $alexa_reach;
} else {
$rank=get_alexa_popularity($url);
return $alexa_reach;
}
}

function google_backlink($uri)
{
$uri = trim(eregi_replace('http://', '', $uri)); $uri = trim(eregi_replace('http', '', $uri));
$url = 'http://toolbarqueries.google.com/tbr?hl=en&lr=&ie=UTF-8&q=link:'.$uri.'&filter=0';
$v = file_get_contents_curl($url);
preg_match('/of about <b>(.*?)</b>/si',$v,$r);
preg_match('/of <b>(.*?)</b>/si',$v,$s);
if ($s[1]!=0) {
return $s[1];
} else {
return ($r[1]) ? $r[1] : '0';
}
}
function yahoo_inlink($uri)
{
$uri = trim(eregi_replace('http://', '', $uri)); $uri = trim(eregi_replace('http', '', $uri));
$url = 'http://siteexplorer.search.yahoo.com/advsearch?p=http://'.$uri.'&bwm=i&bwmf=s&bwmo=&fr2=seo-rd-se';
$v = file_get_contents_curl($url);
preg_match('/of about <strong>(.*?) </strong>/si',$v,$r);
return ($r[1]) ? $r[1] : '0';
}
function altavista_link($sURL)
{
$url="http://www.altavista.com/web/results?itag=ody&q=link%3A$sURL&kgs=0&kls=0";
$data = file_get_contents_curl($url);
$spl=explode("AltaVista found ",$data);
$spl2=explode(" results",$spl[1]);
$ret=trim($spl2[0]);
if(strlen($ret)==0)
{
return(0);
}
else
{
return($ret);
}

}
function alltheweb_link($sURL)
{
$url="http://www.alltheweb.com/search?cat=web&cs=utf-8&q=link%3A".urlencode($sURL)."&_sb_lang=any";
$data = file_get_contents_curl($url);
$spl=explode("</span> of <span class="ofSoMany">",$data);
$spl2=explode("</span>",$spl[1]);
$ret=trim($spl2[0]);
if(strlen($ret)==0)
{
return(0);
}
else
{
return($ret);
}
}
function google_indexed($uri)
{
$uri = trim(eregi_replace('http://', '', $uri)); $uri = trim(eregi_replace('http', '', $uri));
$url = 'http://toolbarqueries.google.com/tbr?hl=en&lr=&ie=UTF-8&q=site:'.$uri.'&filter=0';
$v = file_get_contents_curl($url);
preg_match('/of about <b>(.*?)</b>/si',$v,$r);
preg_match('/of <b>(.*?)</b>/si',$v,$s);
if ($s[1]!=0) {
return $s[1];
} else {
return ($r[1]) ? $r[1] : '0';
}
}
function yahoo_indexed($uri)
{
$uri = trim(eregi_replace('http://', '', $uri)); $uri = trim(eregi_replace('http', '', $uri));
$url = 'http://siteexplorer.search.yahoo.com/advsearch?p=http://'.$uri.'&bwm=p&bwmf=s&bwmo=d';
$v = file_get_contents_curl($url);
preg_match('/of about <strong>(.*?) </strong>/si',$v,$r);
return ($r[1]) ? $r[1] : '0';
}
function msn_indexed($uri)
{
$uri = trim(eregi_replace('http://', '', $uri)); $uri = trim(eregi_replace('http', '', $uri));
$url = 'http://search.msn.com/results.aspx?q=site:'.$uri;
$data = file_get_contents_curl($url);
$spl=explode("of",$data);
$spl2=explode("results",$spl[1]);
$ret=trim($spl2[0]);
if(strlen($ret)==0)
{
return(0);
}
else
{
return($ret);
}
}
function googlebot_lastaccess($url)
{
$url = 'http://209.85.175.104/search?hl=en&q=cache%3A'.urlencode($url).'&btnG=Google+Search&meta=';
$data = file_get_contents_curl($url);
$spl=explode(" on ",$data);
//echo "<pre>".$spl[0]."</pre>";
$spl2=explode(".",$spl[1]);
$ret=trim($spl2[0]);
//echo "<pre>".$spl2[0]."</pre>";
if(strlen($ret)==0)
{
return(0);
}
else
{
return($ret);
}
}

function do_post_request_curl($url, $data)
{
$ch = curl_init();
curl_setopt($ch, CURLOPT_URL,$url); // set url to post to
curl_setopt($ch, CURLOPT_RETURNTRANSFER,1); // return into a variable
curl_setopt($ch, CURLOPT_POST, 1); // set POST method
curl_setopt($ch, CURLOPT_POSTFIELDS, $data); // add POST fields
$result = curl_exec($ch); // run the whole process
//echo $result;
curl_close($ch);
return $result;
}
function dmoz_listed($url)
{
$url = trim(eregi_replace('http://', '', $url));
$url = trim(eregi_replace('http', '', $url));
$dmozurl='http://search.dmoz.org/cgi-bin/search?search='.$url;
$data = file_get_contents_curl($dmozurl);
//echo "<pre>".$data."</pre>";
$pos=strpos($data, 'match');
if ($pos==0) {
return 0;
} else {
return 1;
}
}

function file_get_contents_curl($url) {
$ch = curl_init();
curl_setopt($ch, CURLOPT_HEADER, 0);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
curl_setopt($ch, CURLOPT_URL, $url);
$data = curl_exec($ch);
curl_close($ch);

return $data;
}

?>

index.php file :

<p style="text-align: justify;">
<?php
set_time_limit(0);
include('pagerank.php');
session_start();
$success = '';

function content($parser, $data){
global $arrlink;
$first = substr($data, 0, 4);
if ($first == "http") {
array_push($arrlink, $data);
}

}

function geturlcontent($url){
$ch = curl_init();
curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
curl_setopt($ch, CURLOPT_URL, $url);
$data = curl_exec($ch);
curl_close($ch);
return $data;
}

if (isset($_POST['sitemap']) && $_POST['sitemap'] !== '')
{
$success = 'ok';
$url = $_POST['sitemap'];
$_SESSION['sitemap'] = $_POST['sitemap'];
$data = geturlcontent($url);
// $data = file_get_contents($file);

$arrlink = array();

$xml_parser = xml_parser_create();
xml_set_character_data_handler($xml_parser, "content");
if(!(xml_parse($xml_parser, $data))){
die("Error on line " . xml_get_current_line_number($xml_parser));
}
xml_parser_free($xml_parser);
}
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en-US" lang="en-US">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /><title>Check PageRank Of All Pages Within Site</title>
<meta name="description" content="Check Google Pagerank of all pages of your site in just one click using sitemap link."/>

<style type='text/css'>
body {min-width:950px;background:#129793}
.container {width:940px;margin:10px auto;background:#129793;padding:10px;border:1px solid #ddd;text-align:center}
#sidebar1 {padding:5px;background:#129793;color:#fff;font-size:20px;text-align:center}
input {padding:5px}
ul {list-style:none;width:100%;padding:0;}
li {padding:5px;margin:2px 0;border:1px solid #ddd;text-align:right;font-size:16px;}
.one {background:#d7eaff}
.two {background:#d9e4a3}
li a {color:#18479B;text-decoration:none;float:left}
.clear {clear:both}
#checkpr {padding:5px;background:#129793;color:#fff;font-size:20px;text-align:center}
input {padding:5px}
ul {list-style:none;width:100%;padding:0;}
li {padding:5px;margin:2px 0;border:1px solid #ddd;text-align:right;font-size:16px;}
.one {background:#d7eaff}
.two {background:#d9e4a3}
li a {color:#18479B;text-decoration:none;float:left}
.clear {clear:both}
#sidebar {padding:5px;background:#129793;color:#fff;font-size:20px;text-align:center}
input {padding:5px}
ul {list-style:none;width:100%;padding:0;}
li {padding:5px;margin:2px 0;border:1px solid #ddd;text-align:right;font-size:16px;}
.one {background:#d7eaff}
.two {background:#d9e4a3}
li a {color:#18479B;text-decoration:none;float:left}
.clear {clear:both}
</style>
</head>
<body>
<div class="container">
<!--<div id="sidebar1">
<h2>Column 2</h2>
<p>Lorem ipsum dolor sit amet, consectetuer adipiscing elit...</p>

</div>-->

<form action="" method="post" name="checkpr" id="checkpr">
<h2>Check PageRank Of All Pages Within Site</h2><p>Put The XML Sitemap Link Here:<br> (e.g: blogbl.com/sitemap.xml)</p> <input type="text" name="sitemap" value="<?php if (isset($_SESSION['sitemap'])) {echo $_SESSION['sitemap'];} ?>" size=80 />
<input type="submit" value="Process" />
</form>

<?php
if ($success == 'ok') {
echo '<ul>';
ob_end_flush();
for ($i=0;$i<count($arrlink); $i++) {
$pr = getPageRank($arrlink[$i]);
if ($i % 2) {
echo '<li class="two"><a href="'.$arrlink[$i].'">'.$arrlink[$i].'</a>PageRank <font color="red">'.$pr.'</font><div class="clear"></div></li>'; flush(); sleep(1);
}
else {
echo '<li class="one"><a href="'.$arrlink[$i].'">'.$arrlink[$i].'</a>PageRank <font color="red">'.$pr.'</font><div class="clear"></div></li>'; flush(); sleep(1);
}
}
echo '</ul>';
unset ($success);
session_unset();

}
?>
<div id="sidebar">

<p></p>

</div>
</div>
</body>
</html></p>

 

* Content archived from “http://blogbl.com/google-pr-checker-script-to-check-pr-of-all-pages-within-website/” and all credit goes to the original authors. The views or opinions expressed in this article are those of the original author and do not necessarily reflect the views or opinions of Infozill.

List of Live Cricket Match Streaming Websites

live cricket match streamingLive Cricket Match Streaming: International cricket matches are one of the most awaited event for all cricket fans from India and abroad. All cricket fans desperately wait for match of their favorite team. We love to watch matches on TV but due to hectic office and work schedule sometimes it’s not possible to watch these matches on television. Even some time we are at home but our cable TV is not working.

Don’t worry in this article I am going to write about the available online streaming websites where you can watch online live cricket match streaming and it will be totally free. All the websites listed bellow for live cricket match streaming are working and free of cost at the moment  and there is no need to install any application to run these sites.

List of live cricket match streaming websites are:

  1. Extracover (http://extracover.net/)
    Its user interface is very simple and easy to understand not bulky like other free live cricket match streaming website.
  2. Crictime (http://www.crictime.com/)
    I think Crictime is using a slow API of other website for live cricket match streaming that’s why it is little bit slow but overall this site is very easy to use.
  3. Webcric (http://www.webcric.com/)
    Good site for cricket match streaming but contains a lot of advertisement. Due to these advertisements may be this site will irritate you.
  4. Cricket-365 (http://www.cricket-365.me/)
    Cricket 365 is one of the good options to watch live cricket match streaming the only one problem with this site is its font is not compatible with site background that’s why this site is not easy to read.
  5. Freedocast (http://www.freedocast.com/)
    Because there are a lot of options available for live broadcasting on this site. Freedocast is not only for live cricket match streaming that’s why it will be little bit confusing to search the live channel for cricket. But the plus point of this site is you can also watch different channels except cricket.

These five websites are my Favorite fr live cricket match streaming. Check them out yourself and enjoy!

 

* Content archived from “http://blogbl.com/list-of-live-cricket-match-streaming-websites” and all credit goes to the original authors. The views or opinions expressed in this article are those of the original author and do not necessarily reflect the views or opinions of Infozill.

How to check my IP using php

my ipSeveral days ago when I checked a website to know my ip and then I planned to make  an application using that anyone can know his IP address. Then I developed an application my ip  in php to check IP address .

As a user we generally think that how  websites can retrieve my ip. And as a web developer and website owner sometimes we think to start an IP checker website. In PHP, retrieving user’s IP address is very easier than you might think. To start IP checker website you need IP Checker Script or Application. Today I am going to show you how you can start your IP Checker website using PHP IP Checker Script ”my ip”.

If you want to check your own IP address then there is a very simple function in php “Getenv(“REMOTE_ADDR”) “ . It will return the IP address of the user who is visiting your website.

Normally it returns actual IP address, however if visitor is using proxy then it will show the IP address of that proxy.

Let see how Getenv(“REMOTE_ADDR”) works :

<?php

//Gets the IP address

$ip = getenv("REMOTE_ADDR") ;

Echo "Your IP is " . $ip;

?>

Here we used “getenv” to Get the value of an environment variable and “REMOTE_ADDR” is variable name. And “Echo” will print the IP address of the user.

Now I am going to share my IP checker script named my ip using this script you can easily start your own IP Checker Website.

Code of  ip.php :

</pre>
<p style="text-align: justify;"><?php</p>
<p style="text-align: justify;">if (!ini_get('register_globals')) {
 $reg_globals = array($_POST, $_GET, $_FILES, $_ENV, $_SERVER, $_COOKIE);
 if (isset($_SESSION)) {
 array_unshift($reg_globals, $_SESSION);
 }
 foreach ($reg_globals as $reg_global) {
 extract($reg_global, EXTR_SKIP);
 }
 }</p>
<p style="text-align: justify;">//FIND THE VISITORS IP
 if (getenv("HTTP_CLIENT_IP") && strcasecmp(getenv("HTTP_CLIENT_IP"), "unknown"))
 {
 $rip = getenv("HTTP_CLIENT_IP");
 }
 else if (getenv("HTTP_X_FORWARDED_FOR") && strcasecmp(getenv("HTTP_X_FORWARDED_FOR"), "unknown"))
 {
 $rip = getenv("HTTP_X_FORWARDED_FOR");
 }
 else if (getenv("REMOTE_ADDR") && strcasecmp(getenv("REMOTE_ADDR"), "unknown"))
 {
 $rip = getenv("REMOTE_ADDR");
 }
 else if (isset($_SERVER['REMOTE_ADDR']) && $_SERVER['REMOTE_ADDR'] && strcasecmp($_SERVER['REMOTE_ADDR'], "unknown"))
 {
 $rip = $_SERVER['REMOTE_ADDR'];
 }
 else
 {
 $rip = "unknown";
 }</p>
<p style="text-align: justify;">//DISPLAY THE VISITORS IP
 echo "Your IP is $rip";
 ?></p>
<p style="text-align: justify;">

 

* Content archived from “http://blogbl.com/how-to-check-my-ip-using-php/” and all credit goes to the original authors. The views or opinions expressed in this article are those of the original author and do not necessarily reflect the views or opinions of Infozill.

Elgg open source social networking platform

Elgg open source social networking platform

Elgg open source social networking platform is an award winning application to develop your own social networking site. It is a very powerful tool to handle all kinds of social network. You can use Elgg open source social networking platform for your City, University, School or internal platform for your organization.

Elgg

If you want to develop a site for a large community and searching any open source social networking platform then you should try Elgg.

With easy installation process and several powerful tools you can create a next facebook for your community.

Elgg is an open source social networking platform, free to download and use under GNU license. Elgg also has community platform for developers, from there you can also download lot of plugins for Elgg open source social networking platform. But we can’t compare this Elgg community with WordPress and Joomla because user of Elgg is very less than these two open source platform.

Before using Elgg on your live site you must spend time to understand the file and content structure of Elgg and check it is compatible with your requirement or not. Website’s developed using Elgg isn’t professional like Facebook and Twitter but I think it is really worth to try when you are going to start a small or medium size community or social networking website for your friends, city, colleague, or for your university and school.

Requirements to run Elgg open source social networking platform:

Elgg social platform runs on a combination of PHP, MySql and Apache server. To run elgg, Apache needs to be installed with the following modules (normally these modules are already available with every Linux hosting)

 

  • mod_rewrite
  • PHP 5
  • MySQL 5+ is needed for data storage
  • PHP 5.2+ needs to be installed as an Apache module (not in CGI mode or safe mode) with the following libraries:
  • GD and Freetype (for graphics processing, eg user icon rescaling and Captcha)
  • JSON (for API functionality)
  • XML (not installed/compiled by default on all systems)
  • Multibyte String support (for internationalisation)

Built-in features of Elgg open source social networking platform are:

  1. Avatar
  2. Dashboard
  3. Friends
  4. Groups
  5. Profile
  6.  Widgets

Features from core and core plugins of Elgg open source social networking platform:

  1. User, object, file and site management
  2. Social graph functionality (relationships between users and other users, objects and sites)
  3. Easy internationalization support
  4. System-wide, tag-based searching across all content and users
  5. Fine-grained access controls
  6. Multiple views, allowing for mobile applications and embeddable widgets as well as the traditional web browser view
  7. Plugin APIs
  8. Powerful theming through the plugin API
  9. RSS and FOAF for content syndication
  10. OpenID and LDAP for user authentication
  11. An extensible web services API, with results in JSON, serialized PHP or XML
  12. AJAX through jQuery and user-definable callbacks
  13. Easy extension for use with caching systems such as memcached, for increased system performance (experimental)
  14. Use of multiple database connections for scalability (still in development)

Optional plugins for Elgg open source social networking platform are:

  1. Blogs
  2. Bookmarks
  3. File repository
  4. Message board
  5. Private messaging
  6. Pages
  7. Activity
  8. Microblogging
  9. Chat
To Downlaod Elgg open source social networking platform Follow this link :  http://elgg.org/download.php
Now I am going to share one of the best designed Elgg Demo site. This site is not official demo from elgg. You can access this site with
Ussername : socialdemo
Password : socialdemo

 

* Content archived from “http://blogbl.com/elgg-open-source-social-networking-platform/” and all credit goes to the original authors. The views or opinions expressed in this article are those of the original author and do not necessarily reflect the views or opinions of Infozill.

How To: Change Your Facebook page name after 100 likes

In Facebook profile there is no option available to change Facebook page name after 100 likes but today i ll share a trick using that you can easily change Facebook page name after 100 likes .

In today’s life Facebook page shows how popular your brand or website is as compare to other competitors.

Lets say I have a Facebook page for my website and after few months or years now I am planning to change my website or brand name then there is no any option available in Facebook profile to change name of your brand.

You can easily change Facebook page name when your likes are bellow 100. But after 100 likes “change Facebook page name” option disappears from the basic page settings tab.

Here is good news, you can change Facebook page name after 100 likes. Using this method you can change Facebook page name and it doesn’t depends on number of likes. You can do this using a URL I am going to share with you.

Trick to Change Facebook page name after 100 likes :

I used this trick to change Facebook page name of my blog “W3T”. Because I shifted my technical blog portion to Blogbl.com and after that the fan page name “W3T Tech Blog” was totally funny. But there was no option available to change Facebook page name after 100 likes. So I planned to search any trick to change the name of fan-page “W3T Web Portal”. And I found a URL from where I changed my Facebook fan page name.
That URL is:

https://www.facebook.com/help/contact_us.php?id=262629790471076

This is a request form page to change page name. Remember using this form you can only change the name of your fan-page but you can’t change URL.

change facebook page name after 100 likes

In this page you have to fill 4 required fields :

  1. Current Page name – Write your existing Facebook fan-page name
  2. Desired Page name-Here you have to fill the new name for your fan page.
  3. Link to Page- Write the URL of your fan page (e.g. https://www.facebook.com/w3t.in)
  4. Why do you want to change your Page name: Choose proper reason from the given options

Now you’re done. Wait few hours/days. Facebook team will check your application and take action against your Change Facebook page name after 100 like’s request.
 

* Content archived from “http://blogbl.com/change-facebook-page-name-after-100-likes/” and all credit goes to the original authors. The views or opinions expressed in this article are those of the original author and do not necessarily reflect the views or opinions of Infozill.

How to Hide Hard Disk Partition in Windows

If you are sharing your PC with your friends and family then you may want to Hide the Hard Disk Partition, File or Directory. This is going to keep snooping relatives out of your files and folders.  It’s much easier to hide the entire Hard Disk Partition as compared to hiding all your files or directories one by one. And best thing is hiding hard disk partition will not affect your computer.

When you search for “how to Hide Hard Disk Partition”, you are generally given a list of different software available to purchase. However, you can do the same thing for free yourself, I’m about to show you.

Today I am going to share a trick that you can use to easily Hide the Hard Disk Partition without using any software.

How to Hide Hard Disk Partition:

Step 1 – Click “Start” button and search “Run“ option. Then click “Run”.

run command

Step 2 – In the “Run” command line type “gpedit.msc “and hit enter. This gpedit.msc will open Group Policy Editor for Windows.

gpedit

Step 3 – Then go to “User Configuration” option available in the left hand side. And then click “Administrative Templates” option.

local group policy

Step 4 – After that double click “Windows Components “ available in main window of Policy Editor.

windows component

Step 5 – Then search “Windows Explorer” folder in “Windows Components” and open it with double click.

windows explorer

Step 6 – Now search a file named “Hide these specific drives in my computer” and open it with double click. Now you can see a pop up window.

hide specific drive

pop up

Step 7 – Then select the box next to Enable option and select partition from option available as shown in screenshot. Now click “Apply” button and then Ok and close this window.

hide hard disk partition

Now open “My Computer” and check your selected disk is disappeared or not. If you are getting a pop up asking you to allow some registry changes then click “Yes” button.

If you faced any problem with this trick please comment.
 

* Content archived from “http://blogbl.com/hide-hard-disk-partition-in-windows/” and all credit goes to the original authors. The views or opinions expressed in this article are those of the original author and do not necessarily reflect the views or opinions of Infozill.