Yeah i just removed that function and now i am using only $user_ip = $_SERVER['REMOTE_ADDR'];
It works flawless and i dont see any wrong using it like this. I was figuring out whole day what is wrong with the above code and i was not able to figure it out so i guess this is the best solution :D
rproffitt commented: By not denying access. +16
rproffitt commented: I didn't seek it out. It came in an email from Twitter itself! +0
gce517 commented: Did you donate yet? ;-) +1
gce517 commented: Can you share the source for core.php? +1
Shantun commented: You must apply src-set for image tag for various device along with google AMP +0
Jawass commented: Nav bar- drop-down menu html (xhref) coded inline script $? Before consule to be upgrade to mobile application(APK) +2
rproffitt commented: Will take a look at that. Thanks for sharing. +15
rproffitt commented: Also, you are really going to want a secure smart home afterwards. "Would you like some toast?" +12
ddanbe commented: Ha,ha I would have used 666 instead of 703! +15
rproffitt commented: Now google diafol. +0
rproffitt commented: What, no Futurama quote? "Whatever you did, professor, I'm sure there's a reasonable explanation." +12
cereal commented: yeah, I know about those services ;) +14
JamesCherrill commented: That's a good idea +15
rproffitt commented: Thanks for sharing what it was. +11