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.

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.

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.

Create your own Website Hitter Application

Today I am going to share about Website Hitter Application that is only for educational purpose. Please don’t use this tutorial on any live site.

There are lots of website hitter or webpage hitters are available in market. Using these website hitter you can make flood of hits on a website. Mainly we develop these software’s in Visual Basic or in Java.

I am going to share a very small tutorial using this you can easily create your own basic website hitter application to learn how it works.

To run this website hitter application you need to dedicate one browser for it. For example I am going to use Internet Explorer. Using internet explorer because generally we use Firefox or Chrome for daily use.

For this application you need to understand batch file in windows. Batch Files allow Microsoft Windows and DOS users to create commands to run in sequence once the batch file has been executed. A simple .bat (batch) file does not require any programming skills. Any user can do this who have basic understanding of DOS commands.

How to create website hitter:

Step 1-Make a batch file (.bat) with lines given bellow:

@echo off
:1
start C:Progra~1Intern~1iexplore.exe

http://yoursite.com
ping -n 10 127.0.0.1 >nul
taskkill.exe /im iexplore.exe
goto 1

website hitter

To create a batch file open your notepad and copy all the codes mentioned above and save as filename.bat.

save as bat

Number of hits per hour totally depends on your internet speed. Here I am using 1 hit in 10 second. If you have a good internet speed you can increase the number hits  ”ping -n 10 127.0.0.1″.

Here @ECHO OFF  to prevent any  command in the batch file from being displayed. I Used start to start a windows application. For example start C:Progra~1Intern~1iexplore.exe  will start internet explorer application . Here GOTO used  to go to a specific label . An example of GOTO would be to GOTO END.

Step2- Change the default homepage of internet explorer and save the url  as a homepage  where you want to use website hitter.

Now open that batch file and it will automatically start working.
 

* Content archived from “http://blogbl.com/how-website-hitter-application-works-with-example/” 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.

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.

Chromebook Pixel – Review

Just as when the world thought that the laptop and PC market is dominated by Apple and Microsoft, Google has rolled out the Chromebook Pixel which turns out to be a staunch competitor to Apple’s MacBook Air and Windows 8 Ultra-books. The laptop, a new addition to the existing Chromebook laptop series, comes with a much more sophisticated and elegant design as compared to the previous ones.

Chromebook Pixel

The all anodized aluminum 12.8 inch , 3.35 pound construct is powered by a 3rd generation 1.8 GHz Intel i5 processor and comes with 4GB of RAM and Intel 4000 HD Graphics card. It is on par with the Apple and Windows machines on the system performance front, with an average boot time of just 6 seconds. It has a clean, solid and glossy finish with barely any visible screws in the front. The nearly invisible speakers and webcam don’t disappoint. Google claims that there is a hidden microphone beneath the keyboard in order to attenuate the noise during video chats, although the software for the same is expected to be shipped only in the future updates. It features all the standard array of ports: two USB 2.0 ports, a headphone jack, an SD card slot and an optional SIM card slot on the right. It has Bluetooth 3.0, 750p webcam but no built in HDMI, although one can get the Mini Display Port-to-HDMI Adapter. The laptop’s slightly protruding hinge doubles up as a wireless antenna and a heat sink. Surprisingly, the multi-colored Chrome logo isn’t embossed on the laptop lid.

The USP of the laptop is the stunning 2650 X 1700 multi-touch display. This amounts to 4.3 million pixels in 12.8 inches or 239 Pixels per Inch, denser than 227 PPI of Apple’s MacBook Retina Pro. The color, viewing angles outshine those of the MacBook and Windows 8 ultra books. Google claims that the 59WHr battery has a run time of 5 hours, though the magnificent display is expected to take a toll on the battery life. Though the laptop boasts of a fluid ten-point capacitive multi touch interface, quite similar to those on the current Windows 8 ultra books, the Chrome OS doesn’t seem to be more touch-friendly. Unlike Windows 8, there are no navigation friendly touch gestures or UI elements designed to enhance the user experience.

The Pixel runs on the Chrome OS, which seeks to replace the traditional stand alone desktop applications with web apps. It comes with 32 or 64 GB of solid state drive disk storage, although the users get 1 TB storage on Google Drive for 3 years. One major drawback is that all documents and applications are cloud based and require constant Internet connection. Priced at $1,299 for the basic Wi-Fi version and $ 1,499 for the built-in LTE version, it sets the users thinking for a second time as to whether to shell out the quoted figure for just a web browser running on a light weight Linux environment.

As stated by Google, the laptop is designed for power users who have fully embraced the cloud. A common user would rather go in for the competitively priced MacBook Air or any of the Windows 8 ultrabooks. But for the power users, the Chromebook Pixel promises a whole new, wonderful experience.

 

* Content archived from “http://blogbl.com/chromebook-pixel-review/” 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.

image uploading problem in WordPress (permission denied in /includes/file.php on line 348)

Last week I faced image uploading problem in WordPress i.e. “permission denied in /includes/file.php on line 348“. This image uploading problem in WordPress started when I updated my WordPress to 3.4.

Generally we use WordPress for blog and other different  type of sites and images play a very important role. So when my blog started showing the error ”permission denied in /includes/file.php on line 348″ I was unable to upload any image or file on my blog. Every time when I tried to upload and add any image to my article I got error “permission denied in /includes/file.php on line 348″.

I used Google to solve this error but my bad luck I didn’t get any solution. After that I tried to modify the file.php code but “permission denied in /includes/file.php on line 348″ error was still there. Then I thought that maybe there is some problem with my hosting permissions and I made 777  permission for file.php. But after updating the file permission I got the same error so due to security reasons I updated permission of file.php to 755.

To solve this Image uploading problem in WordPress i.e. “permission denied in /includes/file.php on line 348″ I tried lot of different methods and finally got the solution.

Here I am sharing the solution of Image uploading problem in WordPress – “permission denied in /includes/file.php on line 348”:

Step1– Login to your WordPress dashboard.

Step2– Go to the “Settings” tab and click on “Media” option.

wp1

Step 3– At the end of “Media Settings” page you will get a check box option “Organize my uploads into month- and year-based folders”. Select the check box (click the check-box) and save the settings.

wp2

Congratulations you problem is get solved, now you can easily upload image or media in your wordpress blog or website.  How simple this setting is, but it took 2 days to solve this “permission denied in /includes/file.php on line 348″ error.

To verify this solution for Image uploading problem in wordpress works everywhere or not I also checked this trick with different wordpress sites and IP e.g. 192.168.1.1.
 

* Content archived from “http://blogbl.com/image-uploading-problem-in-wordpress-permission-denied-includesfile-php-line-348/” 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 post FREE Ads with OLX

When we think about free classified sites available in India then first name comes in our mind is OLX. With a very short name olx, it creates very positive effect on buyers and sellers. OLX is one of the largest free classified ads portal in India. It offers a wide range of classified services, e.g  sale classified, jobs classified, education related classified ads and many more. It is a next generation of free online classified portal.

Now a days OLX is showing a very interesting TV campaign named – ‘Bech de’. I really enjoy this TV campaign. In “Bech De” TV campaign two sons were planning to sell of their dad’s old desktop. And finally using OLX site they sold that old desktop.

The second TV campaign I liked is ‘Treadmill’ ad, which shows a middle-aged man with a treadmill gathering dust and then it gets sold on OLX.

The ‘Grandfather English’,  ‘Baby Cot’ and ‘OLX Bike’ TV commercials are also have a perfect humor.

Today I am going to show you how easily you can post free classified ads on OLX :

Step 1:  Goto olx.in and you will get “Post a Free Ad” button in the top right side. Click that button:olx

Step 2:  Now you will get a “Post a Free Classified Ad: Just 1 step!” form where you need to information regarding ad you want to post:

  1. Location – First you have to choose the location from where you are providing services or where you want to sell something.
  2. Category – Mention the category and sub category of your ad
  3. Title – Try to post exact and very clear title so user can easily  understand about  you ad
  4. Description – After title, description is one of the most important part of the advertisement. So here you need to describe about services or sales you want to promote using this olx ad.
  5. Email Address– Add your email address, it will help to inform you about your ad. Your email address won’t be shared.
  6. Choose your ad language.
  7. You can also fill the optional fields available there and then click post button.

Now you will get a confirmation message “Congratulations! Your Ad has been Published, You can go to My OLX to view, edit or delete the ad.”

Really you can post free classified ad using OLX very quickly. It will hardly take 1-2 minutes and your will be live.
 

* Content archived from “http://blogbl.com/how-post-free-ads-olx/” 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.