Php's REMOTE_ADDR feature is returning null insted of the address. My site uses that feature for logins. Will and when will this be fixed?
Php's REMOTE_ADDR feature is returning null insted of the address. My site uses that feature for logins. Will and when will this be fixed?
I see you're on Starka. The web server running on Starka was recently switched from Apache to litespeed. A difference in the setup required for the new server software appears to have been responsible for the REMOTE_ADDR not being set. Corey has changed the setup, which should have resolved the problem (thanks, Corey). Test your site now.
Be sure to read all pages linked in this post; they have further information that should prove useful. When asking for help, make sure you follow Eric Raymond's and Jon Skeet's guidelines for prompt, accurate responses. Please answer any questions I ask; they're not rhetorical (probably). Any posted code is intended as illustrative example, rather than a solution to your problem to be copied without alteration. Study it to learn how to write your own solution.Misson, not Mission.