
When you write PHP scripts and test them locally, you probably set PHP to show all errors, for easier debugging.
But if, when you use them on a “live” server, you use the “@” operator to suppress errors, then take note of the following…
Problem
Error suppression in PHP is very slow
Get rid of all your error suppressing […]
From now on, I’ll (try to) post, every day, a quick tip, usually regarding PHP programming. (TOTD= tip of the day)
So for today, I’ll show you how to optimise your application speed with a simple trick regarding FOR loops in PHP:
Problem
Lets take the following example:
<?php//let’s suppose $max and $min variables are pulled from a databasefor ($i=1;$i< ($max-$min);$i++) { //do something}?>
This is inefficient, unoptimised, memory and CPU consuming, etc - you […]
Cool pair of glasses. I wonder whether a cyclop person’s worry would be the need to wear glasses :)
I stumbled upon this flash game, Shape Invasion, this morning, and I’ve played it for almost an hour before realising that “I’m wasting time here”.
Anyway, here’s the link: Space Invasion
Some tips: don’t get the turret or the pulse thing as upgrades -they are a waste of money. Instead, buy as soon as possible the rocket […]
Here you go (may be obvious, but the way those sub-images are arranged create a great illusion)
I sometimes wonder whether human stupidity and incompetence has limits (think of Einstein’s quote…he was probably right):
[carefully read the highlighted line]
I’m all healthy and back in business. Therefore, I can blog again - what a relief to be able to do so.
Anyway, as you probably noticed (duh), I’ve changed the theme used here on imbaDev.com
I realised that a 2-column theme doesn’t provide enough room for everything I needed for this blog, so I switched to […]
I had an accident on Sunday and as a result, the doctor forbid me to engage in any activity that requires brain “usage” for some days (3-4 days to 1 week). And that includes watching TV, using a computer, reading etc… Therefore, I won’t be online these days (I just HAD to write this post, […]
I thought I’d express my opinion, just like everyone did, about some recent things.
First of all, Movable Type goes fully open source. I’m using wordpress for this site, but this move from Six Apart team, who owns movably Type, should encourage competition. It will be interesting to see what WP’s next move will be.
Then, it […]
If you search on Google for “Reese Whiterspoon”, without quotes, (the actual name of the actress is Reese Witherspoon) you get some strange images at the top of the search results (distorted, alien-like version of the actress).
See for yourself:
According to Google, you may occasionally see small images at the top of your Google search […]
Recent Comments