This is the website of an IT geek, technologist, freelance writer, photographer, musician, rock climber, classic mini enthusiast, iPad and Mac zealot.
You have been warned.

Subscribe to RSS - web

web

Robots. Gotta Love 'em!

Submitted by admin on Mon, 2011-09-19 - 20:04

Hidden in firefox are some robots. Look:

firefox-robots

Tags: 

Getting the Connecting Client's IP Address in PHP

Submitted by daemonchild on Mon, 2011-04-18 - 15:19
daemonchild's picture

Sometimes you want to grab the connecting web client's IP address in a PHP script. This is how:

if ( isset($_SERVER["REMOTE_ADDR"]) ) {
echo '' . $_SERVER["REMOTE_ADDR"] . ' ';
} else if ( isset($_SERVER["HTTP_X_FORWARDED_FOR"]) ) {
echo '' . $_SERVER["HTTP_X_FORWARDED_FOR"] . ' ';
} else if ( isset($_SERVER["HTTP_CLIENT_IP"]) ) {
echo '' . $_SERVER["HTTP_CLIENT_IP"] . ' ';
}
?>

Tags: 

Is it Time to Start Paying for Twitter?

Submitted by daemonchild on Wed, 2010-06-09 - 16:50
daemonchild's picture

Twitter is over capacity again as I write. This is no big problem in itself. I can live without the constant stream of witty and insightful interruptions to my day. Hey, I might actually get some work done. But the problem is indicative of Twitter's failure to scale its infrastructure to meet demand. The service is free, so who am I to complain? They might do better if we were paying for the service.

Hello