Tuesday, September 28, 2010

Php: Easy way for creating a Global Function.


Starting php script:


echo 'Lets make a global function';

function createglobal() {

global $my_global;
$my_global = 10;


}

$my_global = 5;

echo "The value of \$my_global is '$my_global'
";

createglobal();

echo "The value of \$my_global is '$my_global'
";



ending php script

Before the createglobal(); is called the value of variable stays to local value. Which is 5. But as soon as the function is called the value becomes to 10 which was defined in the createglobal function.

Saturday, September 18, 2010

Free Calls from Gmail could be misused

I think it's fair to say that while this is an amazing service but then again a lot of people could be misusing this service as well.

For example, many people could start making prank calls or sales calls from other countries to U.S. or Canada. Getting the ability for free calls is only going to give air to such acts which is going to make many people very annoyed.

I think Google should introduce some type of credibility before people can use this service from any gmail account.

Friday, September 10, 2010

I seriously need to upgrade my PC!

I have a 2.4 Giga Processor and 1 GB ram. That's pretty much what I know about my PC. But I am going to completely upgrade my system because I'm going to get into serious gaming from now on.

So for that I will need a very powerful system. Something like Intel Core Duo with a GForce Card.

Will have to save up some cash before I can do that.

Monday, September 6, 2010

Eid is coming soon ..

I'm really anxious for Eid this time because I'll get to eat in day light again after the whole month of torment and thirst with the summer on our heads.

You know, you can't eat in ramazan etc. I mean, I am not complaining about all the blessings of God in this month but still this Ramazan has been physically really challenging.

Thursday, August 26, 2010

Donate To Me In Forum Signatures?

You know, it's one thing going about asking for donations on a separate page on your website. It's alright if you put a donate to me button on overall footers of the website. I can go with that, but, the nerve of some people putting them right up into their forum signatures.

That's pretty amazing isn't it? No it's not! It's very lame and stupid.

I mean, it's not that it makes any difference to me or anyone for that matter. But I saw an admin/moderator on a very huge forum who has a donate to me button on his forum signature.

On a forum where they actually block some people's signature in certain categories so that people don't take advantage of those and use them as a form of advertisement.

So I think this is very cheap and hypocritical at best.

Step Up 3D - Flo Rida ft. David Guetta: The club can't handle me music video

This song good!



Looking for Steel Shelves?

It's so hard to find good shelves for books and other stuff these days. So I was surfing and found this nice blog/ website about all types of shelves. They're really doing some nice work the huge product line they have.

This particular steel shelve I was interested in is a box beam design which can be adjusted for your liking and each shelve can hold upto 725 lbs.

Check this out if you want to here.

Wednesday, August 25, 2010

Free Calls to U.S. and Canada via Gmail?

I just noticed a few minutes ago when I opened my Gmail that they're allowing free calls to U.S and Canada from Gmail. That's pretty amazing. Google Rocks!

Check your Gmail Inbox for details. :)

I work for Google?


So I was in chat one day, in a room for web designers etc. So a girl comes online and starts marketing her website. Her website this, her website that. It was just a plain old website anyway.

Obviously people passed a few comments that it's not good or something, I don't actually remember what they said but the girl replies saying something like I'm still better than you because "I work for Google". Everybody was like, 'WTF? You work for Google!'.

Turns out she was running Google Ads on her website so thought she was actually an employee. Haha.

Now that's worth laughing. No?

I deleted all my Facebook Pictures

Why? Because it's the only decent thing to do. I don't like having my pictures online on the internet. It just feels seriously creepy to me.

Always best to have them offline.

If you're wondering how to delete facebook albums, it's very easy. Just go to your particular album and click on 'edit info' then click on delete. That's it, you're rid of your facebook album. 

Tuesday, August 24, 2010

One of the coolest cars at the moment Ferrari 458

I sure would love to drive this one if I got a chance. Looks so awesome and performs just the same. The Ferrari 458 Italia reaches 0-100 kmph acceleration in under 3.4 seconds and a maximum speed in excess of 325 km/h. The supercar offers extremely rapid turn-in and body control whilst maintaining superior ride comfort. The ECU governs the high-performance ABS, providing even more precise control over the logic threshold and greater efficiency. The brakes also feature a prefill function whereby the pistons in the callipers move the pads into contact with the discs on lift off to minimise delay in the brakes being applied. This combined with the ABS has cut the 100-0 km/h braking distance to a mere 32.5 metres.

Ear Profits With Resale Rights Club

Master resell rights membership provides you a very good way for reselling a lot of products. Once you join the website you'll get offers from a range of products that you can sell from yourself to make money. It's an amazing way to make money just try the website for yourself to find out.

Sunday, August 22, 2010

Cool Linux products from Code Sages

If you need proper Linux help, custom coding and advanced software more suited to your business or home environmental needs then Buy Linux is the best option out there for you.

With a team of highly skilled professionals in Linux Based system they provide the best and guaranteed work with the highest amount of satisfaction.

Do check them out.