Categories


Archives


Recent Posts


Categories


Next Time, I’ll Pay Attention

astorm

Frustrated by Magento? Then you’ll love Commerce Bug, the must have debugging extension for anyone using Magento. Whether you’re just starting out or you’re a seasoned pro, Commerce Bug will save you and your team hours everyday. Grab a copy and start working with Magento instead of against it.

No Frills Magento Layout is the only Magento front end book you'll ever need. Get your copy today!

Your IP Adress is: An older feature, disabled in this age of rugged, clumsy CMS systems.

If you’d been smart enough to register whatismyip.com, and smart enough to make the URL do what one would think it should do, then you’d be $386,000 U.S. dollars richer today, minus attorney fees.

I’ve been having serious dot com envy today. I was too young (not really) and insecure (ding) to take advantage of the gold rush, and I’m getting to the point where having a house of my own would be nice. Instead I blew my early internet years on celebrity worship.

Which isn’t the point. The point is there’s no telling what’s going to happen to the whatismyip.com site now that’s it’s under new ownership. Some have recommended using IP Chicken. I say, setup a page on your PHP enabled Apache web server with the following code


    print($_SERVER['REMOTE_ADDR']);

Which will do exactly what whatismyip.com did. That code is worth 1/3 of a million dollars. I give it freely, and of my own will, to you.

If you’re not using apache, the Remote Address environmental variable is probably still available. Execute the following PHP code and view source (for formating) to find the correct key


    var_export($_SERVER);

Copyright © Alan Storm 1975 – 2017 All Rights Reserved

Originally Posted: 24th February 2005