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 7.3^] Kooser Directory.
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: 453492" data-attributes="member: 71840"><p>Man, you gotta learn how to read.</p><p>When did I ever mention spoofing?</p><p>If you have your server sitting behind a NGINX proxy, and you don't/or do forward the request headers, then checking against $_SERVER['REMOTE_ADDR'] will be useless as it will always resolve to the IP of the proxy and not the incoming request.</p><p>That's why you check the x-forwarded-for header.</p><p></p><p>This is pretty basic stuff dude and the list of checks to do is long.</p><p>The thread you linked to is almost 3 years old btw.</p></blockquote><p></p>
[QUOTE="MayoMayn, post: 453492, member: 71840"] Man, you gotta learn how to read. When did I ever mention spoofing? If you have your server sitting behind a NGINX proxy, and you don't/or do forward the request headers, then checking against $_SERVER['REMOTE_ADDR'] will be useless as it will always resolve to the IP of the proxy and not the incoming request. That's why you check the x-forwarded-for header. This is pretty basic stuff dude and the list of checks to do is long. The thread you linked to is almost 3 years old btw. [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
Software Development
Programming
[PHP 7.3^] Kooser Directory.
Top