CloudFlare Rule Checker

in #utopian-io8 years ago (edited)

The PHP Page Rule Checker of CloudFlare is implemented in PHP, based on the CloudFlare API.

$ ./rulechecker.php https://codingforspeed.com/archives-of-pagesposts/
Page Rules for https://codingforspeed.com/archives-of-pagesposts/:
1:  https://*codingforspeed.com/archives-of-pagespost*

The core idea of this rule checker is to fetch the list of the page rules for that zone (e.g. domain, parsed from the given URL). The page rules are checked one by one with the widechar replaced by (.*), which matches any single character in regular expressions.

The full PHP source code of PHP CloudFlare Rule Checker can be found at github: https://github.com/DoctorLai/CloudFlare

Proof of Work

doctorlai is my github ID and you can see my steemit profile URL listed at: https://github.com/DoctorLai

Repost to Blog

https://helloacm.com/the-php-page-rule-checker-of-cloudflare/



Posted on Utopian.io - Rewarding Open Source Contributors

Sort:  

This post has received gratitude of 0.95 % from @jout thanks to: @justyy.

You got a 0.07% upvote from @postpromoter courtesy of @jout!

你那能查看前面堵塞的没点赞的文章全都点完了吗?这两天点的百分比好少。

查不到。。
是的,这两天普遍偏低,因为帖子多了,所以平均的低。

Thank you for the contribution. It has been approved.

You can contact us on Discord.
[utopian-moderator]

Thank you, 谢谢您

Hey @justyy I am @utopian-io. I have just upvoted you!

Achievements

  • Seems like you contribute quite often. AMAZING!

Community-Driven Witness!

I am the first and only Steem Community-Driven Witness. Participate on Discord. Lets GROW TOGETHER!

mooncryption-utopian-witness-gif

Up-vote this comment to grow my power and help Open Source contributions like this one. Want to chat? Join me on Discord https://discord.gg/Pc8HG9x