Quite well actually!
Oh, you wanted the technical details....
Ok, well, every time you look at a page on the internet,
your web browser sends a request for all the elements that make up that page.
Along with that request,
it sends enough information about your operating system and browser
to make sure you get code returned which is useable or valid for your
browser and operating system.
I just take that code, in the request for this image, and format it into something more useful.
It doesn't work with all browsers unfortunately because some firewalls
substitute generic information for the information your browser wanted to send.
In that case, I have to script an " if } else { " statement to substitute bad or empty values
for something more interesting.
Anyway, that's the general idea.
If you want to get a better idea how it all works, do a search for
"
PHP manual, referrer "