Showing posts with label maps. Show all posts
Showing posts with label maps. Show all posts

Saturday, 2 April 2011

Php Code tip. Displaying your server location by exploding time

I was playing with some php code earlier today and wondering if i could write a little piece of lazy code to write the local location of my server instead of having to type the city/town and country each time. And then i remembered the timezone gave almost exactly what i want.

You know, this bit of code:
<?php echo date('e'); ?>


except it is backwards and can have up to three fields all with a pedantic / in the middle, so i thought ok, how about i strip out the slash and reverse the order. Close enough.

<?php
$zones = explode("/", date('e'));
echo "$zones[2] ";
echo "$zones[1] ";
echo "$zones[0] ";
?>

and then i thought, oh yeah, that works. But i can't be bothered with it anymore. Maybe some else is looking for it. And there it is

Monday, 28 March 2011

Google Real Estate Search Retired

Sadly, Google retired their Real Estate Search feature in February 2011. It was a really useful tool which you could find houses to buy or rent in any area with a bunch of useful fields like from how much to how much, or number of bedrooms etc.. And when you scrolled the map this way or that, the page would refresh with the results for that page. It made house hunting a breeze. But in Oz at least, we are pushed back into the dark ages wondering exactly where the heck a property might be and the amount of time it takes just to go through the motions...

The google article points to a new android tool which apparently does the same thing, and the online maps are supplied by Bing, and funnily enough, the big aussie R/E's are now also using Bing maps for their location maps too.

I wonder if Bing will introduce this easy search feature for those of us who really liked it? It would definitely give me cause to consider Bing in a new positive light...