Walking array the PHP way, A look into array_walk()

February 9, 2012 | Miscellaneous, Web Development

If you’ve been developing with PHP for a while, you’ve probably come across this situation in the past:

<?php
foreach ($somearray as &$element) {
$element = some_function($element);
}

It’s a common sight: taking an array and running (well, walking) its elements through a particular function. Luckily, PHP provides a simple yet powerful function to overcome this: array_walk().

Read the full story…

 

How to convert currencies using cURl and Google + PHP

February 7, 2012 | Miscellaneous, Web Development

currency

Converting currency would not have been a big deal if the exchange rate was fixed. But given that the exchange rate changes every other second, we use services from one of the trusted sites to show  the latest exchange rates. Here we take help of Google to find the latest currency exchange rate and convert the currency to required currency. I hope this piece of code helps you.

Read the full story…

 

Top 10 Free Time Tracking Apps for Freelancers

February 2, 2012 | Freelancer, Miscellaneous

Time tracker for freelancer

Usually two words “freelancer” and “time” go together. Freelancers can’t juggle multiple tasks simultaneously and that’s why we need to allocate time carefully. Time is an essential source of freelancer financial success.

There are lots of web apps that help track time and create reports. If you use one of the tools on a daily basis, you can turn your work into a structured schedule, get more spare time for fun, and improve your productivity. Here’s is an overview of 10 top free apps for time management for freelancers. Read the full story…

 

PHP Arrays: Array Functions and Multidimensional Arrays

January 26, 2012 | Miscellaneous, Web Development

The difference between one-dimensional and multidimensional arrays is a simple one: a multidimensional array is a simple array that has simple arrays as elements, rather than strings or scalar variables.

Building a Multidimensional Array

Here is how our $arrBooks example from last week’s article can be expanded into a multidimensional array: Read the full story…

 

What is SOPA, PIPA? And why is it being protested?

January 20, 2012 | Miscellaneous

SOPA-Blackout-Success-1-537x326

Supporters of the Stop Online Piracy Act, or SOPA (and its Senate-sister the Protect Intellectual Property Act, PIPA) legislation — like the Motion Picture Association of America (MPAA) — argue that legislation is needed because online piracy puts jobs and industries at risk.

While I agree that content piracy is a real problem, the language and implications of SOPA has the potential to hurt the very industries and content creators the bills purport to protect.

Read the full story…

 

6 Powerful Google Analytics Features

January 17, 2012 | Miscellaneous, SEO

histats

Google Analytics is much more robust than most people give it credit for. Contrary to popular belief, it can do most of the things more advanced analytics suites can do, except Google does it for free.

Many web designers and developers complain about the limitations of Google Analytics. At first glance, it doesn’t seem as powerful as some of the other web analytics suites out there because it doesn’t let you track outbound links or see data in real time. So, developers flock to premium products like Clicky and Mint, but those services can be expensive, especially if your web project isn’t generating any income yet. Also, while they fix some of the limitations inherent in Google Analytics, they lack some of the Google-only tie-in features, such as Adwords and Adsense tracking.

Read the full story…

 
WordPress SEO fine-tune by Meta SEO Pack from Poradnik Webmastera