Hello, is there any possibility to control “Firewall rules” with PHP?
For example => add or delete something from that rule with PHP for example cf-edit.php?;
(http.request.uri.path contains "/blog" and ip.src in {79.100.0.0/16} and not ip.src in {79.100.55.55})
It surely is possible using the API to add/delete/change rules. That’s how Cloudflare WordPress plugins operate.
1 Like
Unfortunately i don’t see a script without wordpress anywhere because I don’t use wordpress. 
You should be able to find PHP sample scripts as well as discussions on stackoverflow.com and similar programming websites.