1. Advertising
    y u no do it?

    Advertising (learn more)

    Advertise virtually anything here, with CPM banner ads, CPM email ads and CPC contextual links. You can target relevant areas of the site and show ads based on geographical location of the user if you wish.

    Starts at just $1 per CPM or $0.10 per CPC.

Where to find the line of code that records the IP Address?

Discussion in 'Content Management' started by jaypabs, Feb 2, 2011.

  1. #1
    I am using cloudflare and the IP address that WordPress track under the comment is not the actual IP address of the visitor.

    I already have the code to replace so I can track the real IP address. But I don't know where to change this in WordPress.

    Anyone knows about this?

    Thank you in advance.
     
    jaypabs, Feb 2, 2011 IP
  2. saqiseo

    saqiseo Banned

    Messages:
    659
    Likes Received:
    7
    Best Answers:
    0
    Trophy Points:
    65
    #2
    Try this site there you will find it .
    tutorialized.com
    dynamicdrive.com
     
    saqiseo, Feb 3, 2011 IP
  3. jaypabs

    jaypabs Active Member

    Messages:
    73
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    91
    #3
    LOL. Did you understand my question? I am looking for the code within wordpress.

     
    jaypabs, Feb 3, 2011 IP
  4. Dodger

    Dodger Peon

    Messages:
    1,494
    Likes Received:
    60
    Best Answers:
    0
    Trophy Points:
    0
    #4
    The way I understand how CloudFlare works is it sits between you and the outside world, like a firewall. If CloudFlare is not transmitting the actual IP address to WordPress, then there is no way for you to get it. Look into CloudFlare docs and see if there is a setting that will allow the actual IP address to come through -- either that, or just not use the service.
     
    Dodger, Feb 3, 2011 IP