The PHP Page Rule Checker of CloudFlare is implemented in [PHP](https://helloacm.com/how-to-whitelist-the-cloudflare-ips/), 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](https://helloacm.com/the-php-page-rule-checker-of-cloudflare/) 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](https://helloacm.com/php7-shortens-the-google-page-crawling-time/) 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/](https://helloacm.com/the-php-page-rule-checker-of-cloudflare/) <br /><hr/><em>Posted on <a href="https://utopian.io/utopian-io/@justyy/cloudflare-rule-checker">Utopian.io - Rewarding Open Source Contributors</a></em><hr/>
author | justyy | ||||||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
permlink | cloudflare-rule-checker | ||||||||||||||||||||||||||||||||||||||||||||||||
category | utopian-io | ||||||||||||||||||||||||||||||||||||||||||||||||
json_metadata | "{"community":"utopian","app":"steemit/0.1","format":"markdown","repository":{"id":84647741,"name":"CloudFlare","full_name":"DoctorLai/CloudFlare","owner":{"login":"DoctorLai","id":1764434,"avatar_url":"https://avatars3.githubusercontent.com/u/1764434?v=4","gravatar_id":"","url":"https://api.github.com/users/DoctorLai","html_url":"https://github.com/DoctorLai","followers_url":"https://api.github.com/users/DoctorLai/followers","following_url":"https://api.github.com/users/DoctorLai/following{/other_user}","gists_url":"https://api.github.com/users/DoctorLai/gists{/gist_id}","starred_url":"https://api.github.com/users/DoctorLai/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DoctorLai/subscriptions","organizations_url":"https://api.github.com/users/DoctorLai/orgs","repos_url":"https://api.github.com/users/DoctorLai/repos","events_url":"https://api.github.com/users/DoctorLai/events{/privacy}","received_events_url":"https://api.github.com/users/DoctorLai/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/DoctorLai/CloudFlare","description":"CloudFlare Rule Checker","fork":false,"url":"https://api.github.com/repos/DoctorLai/CloudFlare","forks_url":"https://api.github.com/repos/DoctorLai/CloudFlare/forks","keys_url":"https://api.github.com/repos/DoctorLai/CloudFlare/keys{/key_id}","collaborators_url":"https://api.github.com/repos/DoctorLai/CloudFlare/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/DoctorLai/CloudFlare/teams","hooks_url":"https://api.github.com/repos/DoctorLai/CloudFlare/hooks","issue_events_url":"https://api.github.com/repos/DoctorLai/CloudFlare/issues/events{/number}","events_url":"https://api.github.com/repos/DoctorLai/CloudFlare/events","assignees_url":"https://api.github.com/repos/DoctorLai/CloudFlare/assignees{/user}","branches_url":"https://api.github.com/repos/DoctorLai/CloudFlare/branches{/branch}","tags_url":"https://api.github.com/repos/DoctorLai/CloudFlare/tags","blobs_url":"https://api.github.com/repos/DoctorLai/CloudFlare/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/DoctorLai/CloudFlare/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/DoctorLai/CloudFlare/git/refs{/sha}","trees_url":"https://api.github.com/repos/DoctorLai/CloudFlare/git/trees{/sha}","statuses_url":"https://api.github.com/repos/DoctorLai/CloudFlare/statuses/{sha}","languages_url":"https://api.github.com/repos/DoctorLai/CloudFlare/languages","stargazers_url":"https://api.github.com/repos/DoctorLai/CloudFlare/stargazers","contributors_url":"https://api.github.com/repos/DoctorLai/CloudFlare/contributors","subscribers_url":"https://api.github.com/repos/DoctorLai/CloudFlare/subscribers","subscription_url":"https://api.github.com/repos/DoctorLai/CloudFlare/subscription","commits_url":"https://api.github.com/repos/DoctorLai/CloudFlare/commits{/sha}","git_commits_url":"https://api.github.com/repos/DoctorLai/CloudFlare/git/commits{/sha}","comments_url":"https://api.github.com/repos/DoctorLai/CloudFlare/comments{/number}","issue_comment_url":"https://api.github.com/repos/DoctorLai/CloudFlare/issues/comments{/number}","contents_url":"https://api.github.com/repos/DoctorLai/CloudFlare/contents/{+path}","compare_url":"https://api.github.com/repos/DoctorLai/CloudFlare/compare/{base}...{head}","merges_url":"https://api.github.com/repos/DoctorLai/CloudFlare/merges","archive_url":"https://api.github.com/repos/DoctorLai/CloudFlare/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/DoctorLai/CloudFlare/downloads","issues_url":"https://api.github.com/repos/DoctorLai/CloudFlare/issues{/number}","pulls_url":"https://api.github.com/repos/DoctorLai/CloudFlare/pulls{/number}","milestones_url":"https://api.github.com/repos/DoctorLai/CloudFlare/milestones{/number}","notifications_url":"https://api.github.com/repos/DoctorLai/CloudFlare/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/DoctorLai/CloudFlare/labels{/name}","releases_url":"https://api.github.com/repos/DoctorLai/CloudFlare/releases{/id}","deployments_url":"https://api.github.com/repos/DoctorLai/CloudFlare/deployments","created_at":"2017-03-11T12:15:46Z","updated_at":"2017-12-12T21:25:39Z","pushed_at":"2017-12-12T21:27:07Z","git_url":"git://github.com/DoctorLai/CloudFlare.git","ssh_url":"git@github.com:DoctorLai/CloudFlare.git","clone_url":"https://github.com/DoctorLai/CloudFlare.git","svn_url":"https://github.com/DoctorLai/CloudFlare","homepage":"https://helloacm.com/the-php-page-rule-checker-of-cloudflare/","size":4,"stargazers_count":0,"watchers_count":0,"language":"PHP","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit"},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master","score":14.380587},"pullRequests":[],"platform":"github","type":"development","tags":["utopian-io","cloudflare","rule-checker","php-checker"],"links":["https://helloacm.com/how-to-whitelist-the-cloudflare-ips/","https://helloacm.com/the-php-page-rule-checker-of-cloudflare/","https://helloacm.com/php7-shortens-the-google-page-crawling-time/","https://github.com/DoctorLai/CloudFlare","https://github.com/DoctorLai","https://utopian.io/utopian-io/@justyy/cloudflare-rule-checker"]}" | ||||||||||||||||||||||||||||||||||||||||||||||||
created | 2017-12-12 21:30:00 | ||||||||||||||||||||||||||||||||||||||||||||||||
last_update | 2017-12-15 17:13:54 | ||||||||||||||||||||||||||||||||||||||||||||||||
depth | 0 | ||||||||||||||||||||||||||||||||||||||||||||||||
children | 7 | ||||||||||||||||||||||||||||||||||||||||||||||||
last_payout | 2017-12-19 21:30:00 | ||||||||||||||||||||||||||||||||||||||||||||||||
cashout_time | 1969-12-31 23:59:59 | ||||||||||||||||||||||||||||||||||||||||||||||||
total_payout_value | 50.956 HBD | ||||||||||||||||||||||||||||||||||||||||||||||||
curator_payout_value | 17.082 HBD | ||||||||||||||||||||||||||||||||||||||||||||||||
pending_payout_value | 0.000 HBD | ||||||||||||||||||||||||||||||||||||||||||||||||
promoted | 0.000 HBD | ||||||||||||||||||||||||||||||||||||||||||||||||
body_length | 1,303 | ||||||||||||||||||||||||||||||||||||||||||||||||
author_reputation | 280,616,224,641,976 | ||||||||||||||||||||||||||||||||||||||||||||||||
root_title | "CloudFlare Rule Checker" | ||||||||||||||||||||||||||||||||||||||||||||||||
beneficiaries |
| ||||||||||||||||||||||||||||||||||||||||||||||||
max_accepted_payout | 1,000,000.000 HBD | ||||||||||||||||||||||||||||||||||||||||||||||||
percent_hbd | 10,000 | ||||||||||||||||||||||||||||||||||||||||||||||||
post_id | 23,288,825 | ||||||||||||||||||||||||||||||||||||||||||||||||
net_rshares | 15,491,077,584,930 | ||||||||||||||||||||||||||||||||||||||||||||||||
author_curate_reward | "" |
voter | weight | wgt% | rshares | pct | time |
---|---|---|---|---|---|
icaro | 0 | 61,200,793 | 1% | ||
fundurian | 0 | 19,715,735,996 | 15% | ||
tensaix2j | 0 | 2,454,279,710 | 100% | ||
archiles | 0 | 97,844,434 | 100% | ||
ericsim1991 | 0 | 97,021,412 | 100% | ||
freyman | 0 | 1,869,809,979 | 50% | ||
ericsim1989 | 0 | 96,362,201 | 100% | ||
justyy | 0 | 513,296,333,709 | 100% | ||
luneknight | 0 | 1,385,339,645 | 100% | ||
yuxi | 0 | 3,191,095,496 | 25% | ||
happyukgo | 0 | 1,403,441,667 | 100% | ||
coldhair | 0 | 14,679,932,844 | 7% | ||
sv67216721 | 0 | 1,256,471,694 | 5% | ||
frankintaiwan | 0 | 82,151,670 | 20% | ||
nationalpark | 0 | 6,274,812,082 | 100% | ||
shenchensucc | 0 | 6,106,645,512 | 100% | ||
pearica | 0 | 1,924,615,257 | 20% | ||
susanli3769 | 0 | 13,781,442,099 | 100% | ||
davidmendel | 0 | 15,258,898,966 | 100% | ||
catwomanteresa | 0 | 9,168,592,451 | 20% | ||
oldman28 | 0 | 16,811,424,625 | 52% | ||
jiangchen | 0 | 1,648,423,048 | 100% | ||
kangnajiang | 0 | 1,485,803,275 | 100% | ||
geass | 0 | 1,214,225,612 | 100% | ||
moonvoid | 0 | 618,510,734 | 100% | ||
ericsim | 0 | 244,710,400 | 100% | ||
fivestargroup | 0 | 162,317,149 | 0.02% | ||
xuran | 0 | 6,184,386,266 | 100% | ||
awiwea1974 | 0 | 1,278,694,196 | 100% | ||
superbing | 0 | 10,809,569,409 | 100% | ||
dailyfortune | 0 | 8,472,974,135 | 100% | ||
dailystats | 0 | 12,316,021,023 | 100% | ||
lixing | 0 | 2,059,247,223 | 100% | ||
victory622 | 0 | 21,176,818,728 | 20% | ||
wangwenjing | 0 | 2,107,367,411 | 30% | ||
ayman101 | 0 | 645,463,004 | 100% | ||
vandadream | 0 | 2,044,345,421 | 100% | ||
jout | 0 | 1,798,744,402 | 1% | ||
ivysrono | 0 | 456,191,723 | 1% | ||
utopian-io | 0 | 14,650,868,845,933 | 10.49% | ||
nada101 | 0 | 595,120,624 | 100% | ||
jaff8 | 0 | 8,812,142,373 | 25% | ||
rabamaker | 0 | 504,743,426 | 100% | ||
utopy | 0 | 126,409,159,634 | 100% | ||
tomscott | 0 | 150,307,539 | 50% |
Thank you for the contribution. It has been approved. You can contact us on [Discord](https://discord.gg/UCvqCsx). **[[utopian-moderator]](https://utopian.io/moderators)**
author | codingdefined |
---|---|
permlink | re-justyy-cloudflare-rule-checker-20171213t042644869z |
category | utopian-io |
json_metadata | {"tags":["utopian-io"],"community":"busy","app":"busy/1.0.0"} |
created | 2017-12-13 04:26:45 |
last_update | 2017-12-13 04:26:45 |
depth | 1 |
children | 1 |
last_payout | 2017-12-20 04:26:45 |
cashout_time | 1969-12-31 23:59:59 |
total_payout_value | 0.000 HBD |
curator_payout_value | 0.000 HBD |
pending_payout_value | 0.000 HBD |
promoted | 0.000 HBD |
body_length | 172 |
author_reputation | 526,172,032,176,921 |
root_title | "CloudFlare Rule Checker" |
beneficiaries | [] |
max_accepted_payout | 1,000,000.000 HBD |
percent_hbd | 10,000 |
post_id | 23,319,667 |
net_rshares | 0 |
Thank you, 谢谢您
author | justyy |
---|---|
permlink | re-codingdefined-re-justyy-cloudflare-rule-checker-20171213t111854786z |
category | utopian-io |
json_metadata | {"tags":["utopian-io"],"app":"steemit/0.1"} |
created | 2017-12-13 11:19:00 |
last_update | 2017-12-13 11:19:00 |
depth | 2 |
children | 0 |
last_payout | 2017-12-20 11:19:00 |
cashout_time | 1969-12-31 23:59:59 |
total_payout_value | 0.208 HBD |
curator_payout_value | 0.067 HBD |
pending_payout_value | 0.000 HBD |
promoted | 0.000 HBD |
body_length | 14 |
author_reputation | 280,616,224,641,976 |
root_title | "CloudFlare Rule Checker" |
beneficiaries | [] |
max_accepted_payout | 1,000,000.000 HBD |
percent_hbd | 10,000 |
post_id | 23,352,934 |
net_rshares | 53,118,110,313 |
author_curate_reward | "" |
voter | weight | wgt% | rshares | pct | time |
---|---|---|---|---|---|
justyy | 0 | 53,118,110,313 | 10.37% |
This post has received gratitude of 0.95 % from @jout thanks to: @justyy.
author | jout |
---|---|
permlink | re-justyy-cloudflare-rule-checker-20171212t213811822z |
category | utopian-io |
json_metadata | {"tags":["utopian-io"],"users":["jout","justyy"],"app":"steemit/0.1"} |
created | 2017-12-12 21:38:09 |
last_update | 2017-12-12 21:38:09 |
depth | 1 |
children | 1 |
last_payout | 2017-12-19 21:38:09 |
cashout_time | 1969-12-31 23:59:59 |
total_payout_value | 0.386 HBD |
curator_payout_value | 0.126 HBD |
pending_payout_value | 0.000 HBD |
promoted | 0.000 HBD |
body_length | 73 |
author_reputation | 29,033,735,920,223 |
root_title | "CloudFlare Rule Checker" |
beneficiaries | [] |
max_accepted_payout | 1,000,000.000 HBD |
percent_hbd | 10,000 |
post_id | 23,289,510 |
net_rshares | 104,759,973,642 |
author_curate_reward | "" |
voter | weight | wgt% | rshares | pct | time |
---|---|---|---|---|---|
postpromoter | 0 | 104,759,973,642 | 0.07% |
You got a 0.07% upvote from @postpromoter courtesy of @jout!
author | postpromoter |
---|---|
permlink | re-jout-re-justyy-cloudflare-rule-checker-20171212t213811822z-20171218t001918284z |
category | utopian-io |
json_metadata | {"app":"postpromoter/1.6.0"} |
created | 2017-12-18 00:19:18 |
last_update | 2017-12-18 00:19:18 |
depth | 2 |
children | 0 |
last_payout | 2017-12-25 00:19:18 |
cashout_time | 1969-12-31 23:59:59 |
total_payout_value | 0.000 HBD |
curator_payout_value | 0.000 HBD |
pending_payout_value | 0.000 HBD |
promoted | 0.000 HBD |
body_length | 60 |
author_reputation | 12,722,616,650,811 |
root_title | "CloudFlare Rule Checker" |
beneficiaries | [] |
max_accepted_payout | 1,000,000.000 HBD |
percent_hbd | 10,000 |
post_id | 23,946,955 |
net_rshares | 0 |
### 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. <a href="https://discord.gg/zTrEMqB">Participate on Discord</a>. Lets GROW TOGETHER! - <a href="https://v2.steemconnect.com/sign/account-witness-vote?witness=utopian-io&approve=1">Vote for my Witness With SteemConnect</a> - <a href="https://v2.steemconnect.com/sign/account-witness-proxy?proxy=utopian-io&approve=1">Proxy vote to Utopian Witness with SteemConnect</a> - Or vote/proxy on <a href="https://steemit.com/~witnesses">Steemit Witnesses</a> [](https://steemit.com/~witnesses) **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**
author | utopian-io |
---|---|
permlink | re-justyy-cloudflare-rule-checker-20171214t024336335z |
category | utopian-io |
json_metadata | {"tags":["utopian-io"],"community":"utopian","app":"utopian/1.0.0"} |
created | 2017-12-14 02:43:36 |
last_update | 2017-12-14 02:43:36 |
depth | 1 |
children | 0 |
last_payout | 2017-12-21 02:43:36 |
cashout_time | 1969-12-31 23:59:59 |
total_payout_value | 0.000 HBD |
curator_payout_value | 0.000 HBD |
pending_payout_value | 0.000 HBD |
promoted | 0.000 HBD |
body_length | 1,004 |
author_reputation | 152,955,367,999,756 |
root_title | "CloudFlare Rule Checker" |
beneficiaries | [] |
max_accepted_payout | 1,000,000.000 HBD |
percent_hbd | 10,000 |
post_id | 23,440,401 |
net_rshares | 0 |
你那能查看前面堵塞的没点赞的文章全都点完了吗?这两天点的百分比好少。
author | victory622 |
---|---|
permlink | re-justyy-cloudflare-rule-checker-20171212t232445732z |
category | utopian-io |
json_metadata | {"tags":["utopian-io"],"app":"steemit/0.1"} |
created | 2017-12-12 23:24:45 |
last_update | 2017-12-12 23:24:45 |
depth | 1 |
children | 1 |
last_payout | 2017-12-19 23:24:45 |
cashout_time | 1969-12-31 23:59:59 |
total_payout_value | 0.000 HBD |
curator_payout_value | 0.000 HBD |
pending_payout_value | 0.000 HBD |
promoted | 0.000 HBD |
body_length | 34 |
author_reputation | 132,772,573,652,848 |
root_title | "CloudFlare Rule Checker" |
beneficiaries | [] |
max_accepted_payout | 1,000,000.000 HBD |
percent_hbd | 10,000 |
post_id | 23,297,549 |
net_rshares | 0 |
查不到。。 是的,这两天普遍偏低,因为帖子多了,所以平均的低。
author | justyy |
---|---|
permlink | re-victory622-re-justyy-cloudflare-rule-checker-20171213t111520692z |
category | utopian-io |
json_metadata | {"tags":["utopian-io"],"app":"steemit/0.1"} |
created | 2017-12-13 11:15:27 |
last_update | 2017-12-13 11:15:27 |
depth | 2 |
children | 0 |
last_payout | 2017-12-20 11:15:27 |
cashout_time | 1969-12-31 23:59:59 |
total_payout_value | 0.244 HBD |
curator_payout_value | 0.051 HBD |
pending_payout_value | 0.000 HBD |
promoted | 0.000 HBD |
body_length | 31 |
author_reputation | 280,616,224,641,976 |
root_title | "CloudFlare Rule Checker" |
beneficiaries | [] |
max_accepted_payout | 1,000,000.000 HBD |
percent_hbd | 10,000 |
post_id | 23,352,591 |
net_rshares | 57,040,172,099 |
author_curate_reward | "" |
voter | weight | wgt% | rshares | pct | time |
---|---|---|---|---|---|
justyy | 0 | 53,118,110,313 | 10.37% | ||
victory622 | 0 | 3,922,061,786 | 3% |