INCLUDE_DATA

myBLOG.com.np

get & learn something new each day…

Archive for the ‘Tutorials’ Category

Friday
Nov 28,2008
www.statbrain.com

www.statbrain.com

StatBrain.com is one of interesting site which has been popular recently with it’s free service to calculate visitor stats of any website. Although any sites on the web can’t provide exact visitor stats without accessing the website logs, I personally like the calculation of StatBrain.com which seems to be close for most of the websites. StatBrain.com use different technologies and calculation methods for showing the visitors stats.

In their own words “It is incredible what a bit of research on the Internet can do. Actually I’m pretty good at it. I usually say: ‘If its out there I can find it’ and most of the time it is true. I’m also a very curious person, some might say a bit too curious. When I see a new site I have to know one thing; how many daily visits does it have? Unfortunately nobody wants to tell you how many visits a site has. So you have to guess and that is kind of difficult. So I built Statbrain.com to help me and everybody else guess.”

Read more »

Thursday
Dec 13,2007

The tutorial many people have been waiting for, is finally here! In this tutorial you will learn to make a FireFox Search Plugin, just like the one in the top right of your browser. Using the search plugin, you can tell it to search your site or forum. You will be able to search, Invision Power Board. vBulletin. Your custom coded script, that’s if its coded well and any software or script that has a search function. This plugin will be able to search it!

Read more »

Wednesday
Oct 3,2007

To continue the script execution on client disconnection, you can use a function provided by PHP called ‘ignore_user_abort’. This function sets whether on client disconnect, should script execution be continued or aborted. Calling the function with the parameter set to ‘TRUE’ should ignore user disconnection and continue with script execution.

Read more »

.htaccess Tutorial – Directory Listing

  • Filed under: Tutorials
Thursday
Aug 30,2007

When a web browser is pointed to a directory on your web site which does not have an index.html file in it, the files in that directory can be listed on a web page.

Read more »

How to install Shoutcast?

Monday
Jul 16,2007

SHOUTcast is Nullsoft’s Free Winamp-based distributed streaming audio system. Thousands of broadcasters around the world are waiting for you to tune in and listen. You can start your own radio station and stream music and live shows. See an example of hundreds of world-wide stations at shoutcast.com

Prepare Yourself
Is is very necessary to have a root level SSH access for the installation of Shoutcast. Root level access is only provided if you have own dedicated server or VPS. If you don’t have root level access then probable you need help from your host. So I am assuming that you have own Dedicated Server or vps with root level SSH or shell access.

Read more »

Blocking users/sites by referrer

  • Filed under: Tutorials
Friday
Jul 13,2007

Blocking users or sites that originate from a particular domain is another useful trick of .htaccess. Lets say you check your logs one day, and see tons of referrals from a particular site, yet upon inspection you can’t find a single visible link to your site on theirs. The referral isn’t a “legitimate” one, with the site most likely hot linking to certain files on your site such as images, .css files, or files you can’t even make out. Remember, your logs will generate a referrer entry for any kind of reference to your site that has a traceable origin. Before I get to the code itself, it’s important to note that blocking access by referrer in .htaccess requires the help of the Apache module mod_rewrite to make out the referrer first. This module is installed by default on most servers (ask your host if you’re not sure). So, to deny access all traffic that originate from a particular domain (referrers) to your site, use the following code:

Read more »

Archives

Languages

English flagItalian flagKorean flagChinese (Simplified) flagPortuguese flagGerman flagFrench flagSpanish flagJapanese flag
Arabic flagRussian flagGreek flagDutch flagBulgarian flagCzech flagCroatian flagDanish flagFinnish flag
Hindi flagPolish flagRomanian flagSwedish flagNorwegian flagCatalan flagFilipino flagHebrew flagIndonesian flag
Latvian flagLithuanian flagSerbian flagSlovak flagSlovenian flagUkrainian flagVietnamese flag  
By N2H