reverse-lookup

Finding the domain name of a site that is hotlinking in Google app engine using web2py

Let's say we have an image in the Google App Engine and sites are hotlinking it. How can I find the domain names of the sites? My first thought was: request.client and then do a reverse lookup but that it's not possible in GAE and would take a lot of time. I am pretty sure that there is a property that allows me to get the url of ...

Does Java have a HashMap with reverse lookup?

I have data that is organized in kind of a "key-key" format, rather than "key-value". It's like a HashMap, but I will need O(1) lookup in both directions. Is there a name for this type of data structure, and is anything like this included in Java's standard libraries? (or maybe Apache Commons?) I could write my own class that basicall...

Reverse IP lookup with PHP

In PHP is there a function to do a reverse lookup on a domain name to find out how many websites are hosted on the particular shared hosting server that domain name is hosted on. Or, a way to do this with PHP? Now, I'm already aware of the online services that offer this. However, I want to write a script to do it myself. I just can't f...