Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

SERVER_ADDR and REMOTE_ADDR is blank

Discussion in 'General Discussion' started by HappyCoder, May 3, 2012.

  1. HappyCoder

    HappyCoder Member

    Joined:
    Apr 27, 2012
    Messages:
    15
    Likes Received:
    0
    Trophy Points:
    51
    cPanel Access Level:
    Root Administrator
    Hi all,

    I have a bit of a grim problem. When I execute cronjobs I validate ip address of server which attempts to execute the job. But my problem is that the apache server on cPanel platform sends a blank $ _SERVER ["REMOTE_ADDR"] and a blakn $ _SERVER ["SERVER-ADDR"].
    What do I do now to get it resolved?

    Keep me happy :)
    HappyCoder
     
  2. hron84

    hron84 Member

    Joined:
    Feb 5, 2011
    Messages:
    7
    Likes Received:
    0
    Trophy Points:
    51
    What kind of PHP engine do you using? DSO? suPHP? CGI?
     

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice