I have mp3 files on my website and I want to know the geographical region of the people listening to my songs
I have mp3 files on my website and I want to know the geographical region of the people listening to my songs
you could add a form to have them fill out before they listen to the song. a simple zip code check would probably do it?
I doubt many people would use the zip search. I heard something about there is way to get the IP address by copying and pasting html code into the webpage
is that true? if so could someone give me the code?
In PHP:
But you would need to inert it into a database.Code:echo $_SERVER['REMOTE_ADDR'];
Jeremy | jfein.net
JS & GC (02-07-2009)
Thanks nile. I know close to nothing about php except that it is more advanced than html
and is used to create dynamic web pages. Are there any free php programs that I could use or how do I add a database?
Do a search on this forum for an old thread about geo location based on IP.
It's hard to use, can be slow, and generally fairly unreliable, though it may give you a reasonable approximation for the trends of your users (but not reliable for any individual alone).
There are some paid solutions that may work out well, if that is worth it to you. Such a service will work to keep their data up to date.
Daniel - Freelance Web Design | <?php?> | <html>| español | Deutsch | italiano | português | català | un peu de français | some knowledge of several other languages: I can sometimes help translate here on DD | Linguistics Forum
GeoIP is a commercial service with limited access without subscription. It should suffice here.
Twey | I understand English | 日本語が分かります | mi jimpe fi le jbobau | mi esperanton komprenas | je comprends français | entiendo español | tôi ít hiểu tiếng Việt | ich verstehe ein bisschen Deutsch | beware XHTML | common coding mistakes | tutorials | various stuff | argh PHP!
yes you can get the someone's ip address by getting the details through ur administrator. And you can give the domain name & chk the ip address from http://www.ip-details.com/
Also you can use Statcounter.com, they offer listings of your visits with IPs, browsers, country and other details for free
I did little similar on my website in .NET
Before download or play you can trace who is listening your music at the same time.
Bookmarks