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="Kooser6" data-source="post: 453451" data-attributes="member: 85580"><p>What does my code look like?</p><p>[automerge]1569969002[/automerge]</p><p></p><p></p><p>I think i found your way.</p><p></p><p><a href="https://devbest.com/threads/php-pdo-vpn-proxy-restriction.81429/" target="_blank">https://devbest.com/threads/php-pdo-vpn-proxy-restriction.81429/</a></p><p></p><p>And you know you only run this against TRUSTED proxies. Key word.</p><p></p><p>Why? any HTTP headers come from the client and can be spoofed.</p><p></p><p>Look at: <a href="https://github.com/zendframework/zend-http/blob/master/src/PhpEnvironment/RemoteAddress.php" target="_blank">https://github.com/zendframework/zend-http/blob/master/src/PhpEnvironment/RemoteAddress.php</a></p></blockquote><p></p>
[QUOTE="Kooser6, post: 453451, member: 85580"] What does my code look like? [automerge]1569969002[/automerge] I think i found your way. [URL]https://devbest.com/threads/php-pdo-vpn-proxy-restriction.81429/[/URL] And you know you only run this against TRUSTED proxies. Key word. Why? any HTTP headers come from the client and can be spoofed. Look at: [URL]https://github.com/zendframework/zend-http/blob/master/src/PhpEnvironment/RemoteAddress.php[/URL] [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
Software Development
Programming
[PHP 7.3^] Kooser Directory.
Top