Skip to content

Collection of all Cloudflare HTTP Request Headers without the pain.

Notifications You must be signed in to change notification settings

EXELANCE-LLC/readable-cloudflare-http-headers

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 

Repository files navigation

readable-cloudflare-http-headers

Collection of all Cloudflare HTTP Request Headers without the pain. 💀

💡 Information

This collection includes the alpha3 code, country, city, state (if available) and a country-flag image in SVG format.

Collection was last updated on February 22, 2021.

🛠️ Usage

Strip the hashed value from the HTTP request string to get the alpha3 code:

$var = explode('-', $_SERVER['HTTP_CF_RAY'])[1];

Then do whatever you want with it. 🤷

Visit the official cloudflare documentation for more information.

About

Collection of all Cloudflare HTTP Request Headers without the pain.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • PHP 100.0%