Menu
Forums
All threads
Latest threads
New posts
Trending threads
New posts
Search forums
Trending
What's new
New posts
New profile posts
Latest activity
Members
Current visitors
New profile posts
Search profile posts
Upgrades
Log in
Register
What's new
Search
Search
Search titles only
By:
All threads
Latest threads
New posts
Trending threads
New posts
Search forums
Menu
Log in
Register
Navigation
Install the app
Install
More options
Contact us
Close Menu
Forums
Software Development
Programming
[PHP - PDO] VPN/Proxy Restriction
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="MayoMayn" data-source="post: 411576" data-attributes="member: 71840"><p>You still keep avoiding your own statement. You clearly don't know the differences between the various server variables. If you could read PHP code, you would then realize the IP is being validated. Second of all, if it's not even a valid IP in the end, the getipintel will return it as a failed attempt.</p><p></p><p>I get it, you think you know everything because you can figure out how to research. Let me tell you something, if you don't even know what the hell you're searching for in the end that is relevant to the topic, then it doesn't even matter.</p><p></p><p>Do some research and come up with a better solution for receiving the users IP in PHP. That is the only way that validates the IP correctly depending on your own server, and if the visitor is using a proxy or VPN.</p><p></p><p>Tell me, what is the purpose of HTTP_X_FORWARDED_FOR vs HTTP_CLIENT_IP vs REMOTE_ADDR</p><p></p><p>This is an old script I created that could easily be improved if I bothered to code PHP again, but I cba.</p></blockquote><p></p>
[QUOTE="MayoMayn, post: 411576, member: 71840"] You still keep avoiding your own statement. You clearly don't know the differences between the various server variables. If you could read PHP code, you would then realize the IP is being validated. Second of all, if it's not even a valid IP in the end, the getipintel will return it as a failed attempt. I get it, you think you know everything because you can figure out how to research. Let me tell you something, if you don't even know what the hell you're searching for in the end that is relevant to the topic, then it doesn't even matter. Do some research and come up with a better solution for receiving the users IP in PHP. That is the only way that validates the IP correctly depending on your own server, and if the visitor is using a proxy or VPN. Tell me, what is the purpose of HTTP_X_FORWARDED_FOR vs HTTP_CLIENT_IP vs REMOTE_ADDR This is an old script I created that could easily be improved if I bothered to code PHP again, but I cba. [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
Software Development
Programming
[PHP - PDO] VPN/Proxy Restriction
Top