A while ago I bought an USB flash drive. Lately, I’ve been storing some materials for a new site, and some other important data (such as a site engine in development). I had no backup anywhere, and a couple of days ago, it crashed. It just crashed, and all my data was gone down the [...]
If you have a script on a remote server and you are using PHP5, then you will not be able to use include() or require(). I learned that while trying to include a script on a subdomain (for speed). The only solution is to use the file_get_contents() function instead. That’s all. Your remote inclusion will [...]
You might have a text file with a lot of emails, extracted from a mail client or a CSV file created with some script. Nonetheless, you want to extract all the valid email addresses (user@domain.ext) from the file. Pass this function a file (you can rename it to .php, or .txt, or .csv) and it [...]
I’ve been trying to enhance one of my current themes with a dynamic header. The header was supposed to show different images with different links to section of the blog. While searching on the internet for a viable PHP array randomizer function, this is what I ended up with. It works perfectly. Download: PHP Random [...]
I’m running some AdSense optimization on my web sites and I’m trying to decide where to my readers click the most. That’s where I should concentrate my efforts. The key is to place an image ad to drw their attention. You might ask if that’s not dangerous, as the image ad might lead the visitor [...]
Revolutionize your blog using AdSense units. Are you using AdSense to earn money? Try to diversify their placement and their colour scheme. Below are some basic advice for you to follow every 3 or 6 months, depending on your niche and on your traffic level. 1. Are you blending in your ad units? Make them [...]
The Christmas holiday is coming fast, and then the New Year, and then comes a “dead” period. This is how we call it. No contracts, no clients, no work. This is the perfect time to work and add more content and value both to your blog and to your readers. You also have more time [...]
All CSS design should start with a clean reset. Just like working on a Windows PC A killer collection of global CSS reset styles Keep your code clean, format, indent, and you’ll be a bit happier next month when you’ll upgrade it or make some additions. 12 principles for keeping your code clean With the [...]
I’ve been a great fan of the Max Payne game series, and I was looking forward to see the movie ever since I heard about it. I’ve seen the movie last night and it was great. I wondered what the hell were those Valkyries, and what were they doing in the movie, and then I [...]








