View Full Version : How do I get the ip address of someone listening to my songs?
JS & GC
02-05-2009, 02:24 PM
I have mp3 files on my website and I want to know the geographical region of the people listening to my songs
blackballoon
02-05-2009, 03:24 PM
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?
JS & GC
02-06-2009, 12:01 PM
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:
echo $_SERVER['REMOTE_ADDR'];
But you would need to inert it into a database.
JS & GC
02-07-2009, 07:14 AM
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?
djr33
02-07-2009, 07:37 AM
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.
GeoIP is a commercial service with limited access without subscription. It should suffice here.
tis007
08-03-2009, 09:35 AM
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/
shaimaik
08-04-2009, 09:53 AM
Also you can use Statcounter.com, they offer listings of your visits with IPs, browsers, country and other details for free
nighthawks
08-04-2009, 11:08 PM
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.
Powered by vBulletin® Version 4.2.2 Copyright © 2021 vBulletin Solutions, Inc. All rights reserved.