Tim Igoe's Web Design, Development and Hosting Blog

Monthly Archives: October 2006

PHP – Stop Site using too much CPU

Posted on by Tim Igoe

Got a popular site that sometimes gets out of control with CPU usage? Need to curb it so it doesn’t spiral. With this little snippet of code in your page (near the top), it makes a quick check to see … Continue reading

Posted in PHP | Tagged , , | Leave a comment

Javascript – Bypass Click to Activate Flash in IE

Posted on by Tim Igoe

If you’ve found the Click to Activate ‘feature’ that has been added to Internet Explorer annoying, first question is why are you using Internet Explorer? Firefox ( www.getfirefox.com ) is a safer browser. Avoiding the IE vs Firefox flame war … Continue reading

Posted in Javascript | Tagged | Leave a comment

What is my IP?

Posted on by Tim Igoe

The always useful tool to find your current IP Address, wherever you are on the internet. Accurate most of the time, apart from when you are behind a proxy server, in this case, it tries to guess your IP address. … Continue reading

Posted in Misc | Leave a comment

PHP – Geolocation

Posted on by Tim Igoe

Need to know the location of your site users to target some specific data at them? Geolocation is the answer, find out the location of the IP Address that that user is coming from. This tutorial uses Geoip technology from … Continue reading

Posted in PHP | Tagged , | Leave a comment

PHP – Page Generation Time

Posted on by Tim Igoe

This little snippet of code will enable you to put a page generated in bit at the bottom of your pages. function maingetmicrotime() { list($usec, $sec) = explode(” “,microtime()); return((float)$usec + (float)$sec); } function page_start() { global $TheStartTime; $TheStartTime = … Continue reading

Posted in PHP | Tagged , | Leave a comment

Welcome

Posted on by Tim Igoe

Here it is, my new site. Gone are the forums, they suffered too many bot problems. In instead is a custom blog. which hopefully I’ll use a bit more. We shall see 😉

Posted in Misc | Leave a comment