Ternary Conditionals

I know most of you allready use them, but there are still people that don`t know about them, so to make the following tutorials easyer, I`ll do a small example.

First of all you must know that all you will see here is a simpler way to write not so complex if statements.
Traditional way:

if (condition) {
    echo "true";
} else {
    echo "false";
}

The shorter way:

echo (condition) ? "true"  : "false";

Another example:

if (date("m")<12) {
    $var = 12-date("m") ." months till december";
}else{
    $var = "It`s December";
}
echo $var;

The shorter way:

$var = (date("m")<12) ? 12-date("m")." months till december" : "It`s December";
echo $var;

I hope you got it and this will make easyer for you to undersand the following tutorials.

Gadgets Advisor Technology News

Here`s a site I found called Gadget Advisor which contains technology news and reviews of the coolest gadgets and computer software out there. The best thing about this site is that they hand pick only the best and coolest of them all, so all you have to do is pick the right one for you.

A few of the things that got my eye are a list of the best Firefox extensions and I must say they picked the most useful ones, best Windows software downloads which includes 34 free applications of high quality and a review for Blaze Media Pro that gives us yet another choice of all-in-one audio and video convertor for CD, MP3, WAV, WMA, OGG, MPEG-1, MPEG-2, AVI etc.

Google Page Rank update protest

It seems Goole started the Page Rank update again after just two months. This time I got kicked again to pr 0. It seems weird since one of my sites that has very little traffic and backlinks went from 0 to 1 and this blog, that has over 15k backlinks went to 0. I`m starting to wonder what the real reason for being kicked is. I admit I did two sponsored posts and set up a ad sale in the sidebar. But still, I don`t see any reason to be punished like this. If you do paid posts, sell links, sell add space etc. using a intermediate site that Google doesn`t like (like ppp probably), you can kiss away your Page Rank. It`s really not fair.
I know Google supports open source, but do they realize that by taking my Page Rank they took my only source of income? It was little income, but kept my web hosting costs to 0. So now I ask them, why would I continue? It wasn`t a big deal, but the two little open source scripts here were downloaded over 5000 times. What`s the point now? Don`t get me wrong, I couldn`t care less, but it seems that Google keeps getting meaner, and unwillingly (I hope) forces us to do different things.
How is a little blogger supposed to make any money under these conditions?

As a protest, I`m removing all external ads from my sites, including AdSense.
If you would like to join or have an opinion on this, please comment.

Host Rating site

If you’re looking for an affordable and reliable web host then you want to check web hosting rating to see the top rank web hosting provider. It’s always a good idea to look around to see the best deal you can get. Just to let you know that Web Hosting Rating is the biggest searchable web hosting directory which features complete information on all web hosting providers.
Their rating system of web hosts is based on customer satisfaction, affordability, reliability, uptime and technical support. The sites directory features complete information on web hosting providers, their web hosting plans, promotional and discount coupons, and unedited reviews by real customers.
Knowing a good and reliable web hosting provider is always good especially if you’re just starting a business and you want your site to be more exposed to get future customer.

Backlink PageRank Checker

BPC is another one of my latest scripts. I made it using php.

It checks the PageRank of your backlinks. It can check 100, 200, 500 or 1000 links.
It can also check the PageRank and Alexa of the domains of the links, if the links are nofollow or not, the total number of outbound links found on the page linking to you, the anchor text of the link and the anchor type (text/image).
It`s easy to install, just copy all the files to your server.

Requirements: php5 and cUrl

Demo: Backlink PageRank Checker Tool
Price: $99 Buy