June, 2011Archive for

9 Useful PHP Functions and Features You Need to Know

1. Functions with Arbitrary Number of Arguments You may already know that PHP allows you to define functions with optional arguments. But there is also a method for allowing completely arbitrary number of function arguments. First, here is an example with just optional arguments: Now, let’s see how we can build a function that accepts any number of arguments. This time we are going to utilize func_get_args(): 2. Using Glob() to Find Files Many PHP functions have long and des...

Learn English 2011

Online shopping is the best thing since sliced bread! Online shopping is a new way to shop - so someone "invented/discovered/developed" this new way to shop. Many years ago people ate bread but the bread was not sliced, so they had to pull the bread apart using their hands. Then someone invented/discovered/developed a new way to make the bread easier to handle - they cut the loaf into slices of bread. That was a small invention - not the most important invention in the history of the world, bu...