Entries from April 2008

PHP: Get IP/Host and Proxy Information

April 12th, 2008 · 3 Comments

Below is a method I use to detect the IP Address and Host Name as well as Proxy Information of a visitors. if ($HTTP_SERVER_VARS["HTTP_X_FORWARDED_FOR"] != ""){      // for proxy      $IP = $HTTP_SERVER_VARS["HTTP_X_FORWARDED_FOR"];      $proxy = $HTTP_SERVER_VARS["REMOTE_ADDR"];      $host = @gethostbyaddr($HTTP_SERVER_VARS["HTTP_X_FORWARDED_FOR"]); }else{      // for normal user     […]

[Read more →]

Tags: PHP

PHP Function: URLDecode All Properties of an Object

April 12th, 2008 · No Comments

I haven’t had a whole lot to blog about lately as I have been stuck doing some Java work that won’t ever really see the light of day (as far as the to the public), so I decided to start posting some of my commonly used PHP functions. I use this function urldecodeObject() along with […]

[Read more →]

Tags: PHP

Internet April Fools Roundup

April 1st, 2008 · No Comments

It’s April 1st and some of the websites I frequent are pulling out the usual this April Fools Day. The one I look forward to every year is WorldOfWarcraft.com.  They are saying they’re coming out with a new console game, World Of Warcraft: The Molten Core – the graphics on this would make your Atari […]

[Read more →]

Tags: Fun

Spry Tab Switching with Regular Links

April 1st, 2008 · 56 Comments

I recently decided to use one of the cool new features of Dreamweaver CS3 in a site I was developing – the Spry AJAX Framework – more specifically the Spry Tab widget.  After Googling for a bit I couldn’t seem to find any page that showed how to make the tabs switch by clicking a […]

[Read more →]

Tags: Dreamweaver · Javascript · Spry