Comments (1)
If you look at Cloudflare's documentation:
CF-Connecting-IP
To provide the client (visitor) IP address for every request to the origin, Cloudflare adds the CF-Connecting-IP header.
"CF-Connecting-IP: A.B.C.D"
Where A.B.C.D is the client's IP address, also known as the original visitor IP address.
So instead of $ip=$_SERVER['REMOTE_ADDR'];
you would use $ip=$_SERVER["HTTP_CF_CONNECTING_IP"];
from getipintel.
Related Issues (17)
- Disambiguate the "-5" error code HOT 1
- Permanent Vpn HOT 2
- Location Flag for Result = 0 HOT 2
- FAQ page does not actually contain your btc/paypal links HOT 1
- FR: Result Value JSON Description Field HOT 1
- Getting non-json result starting with skipped d HOT 3
- Returning the response code value = 0 HOT 2
- Response -6 for all requests HOT 1
- CORS blocked HOT 2
- email? HOT 1
- How to get custom plan? HOT 1
- Integration for Plesk HOT 1
- request for removal system HOT 2
- Can I get any information on why I might have been banned? HOT 1
- Are you implying that all users of VPN connections are malicious? HOT 1
- Move to https HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from getipintel.