Results 1 to 10 of 10

Thread: How do I get the ip address of someone listening to my songs?

  1. #1
    Join Date
    Feb 2009
    Posts
    3
    Thanks
    1
    Thanked 0 Times in 0 Posts

    Default How do I get the ip address of someone 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

  2. #2
    Join Date
    Jan 2009
    Posts
    12
    Thanks
    3
    Thanked 0 Times in 0 Posts

    Default

    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?

  3. #3
    Join Date
    Feb 2009
    Posts
    3
    Thanks
    1
    Thanked 0 Times in 0 Posts

    Default

    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?

  4. #4
    Join Date
    Jan 2008
    Posts
    4,167
    Thanks
    28
    Thanked 628 Times in 624 Posts
    Blog Entries
    1

    Default

    In PHP:
    Code:
    echo $_SERVER['REMOTE_ADDR'];
    But you would need to inert it into a database.
    Jeremy | jfein.net

  5. The Following User Says Thank You to Nile For This Useful Post:

    JS & GC (02-07-2009)

  6. #5
    Join Date
    Feb 2009
    Posts
    3
    Thanks
    1
    Thanked 0 Times in 0 Posts

    Default

    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?

  7. #6
    Join Date
    Mar 2006
    Location
    Illinois, USA
    Posts
    12,162
    Thanks
    263
    Thanked 690 Times in 678 Posts

    Default

    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

  8. #7
    Join Date
    Jun 2005
    Location
    英国
    Posts
    11,878
    Thanks
    1
    Thanked 180 Times in 172 Posts
    Blog Entries
    2

    Default

    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!

  9. #8
    Join Date
    Aug 2009
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    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/

  10. #9
    Join Date
    Jul 2009
    Location
    Croatia
    Posts
    8
    Thanks
    1
    Thanked 0 Times in 0 Posts

    Default

    Also you can use Statcounter.com, they offer listings of your visits with IPs, browsers, country and other details for free

  11. #10
    Join Date
    Nov 2008
    Posts
    19
    Thanks
    7
    Thanked 0 Times in 0 Posts

    Default

    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

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •