example.json.is_cloudflare.php

This commit is contained in:
Paul Cesar 2021-04-01 08:26:54 +02:00
parent da089ce9e7
commit 1e708ad68a
1 changed files with 5 additions and 5 deletions

View File

@ -1,16 +1,16 @@
<?php
/*
How to use json file
How to use json file
1. Download .json files: https://codeberg.org/crimeflare/cloudflare-tor/src/branch/master/cloudflare_users/domains
2. Edit path: "/path/to/jsonfiles/"
1. Download .json files: https://codeberg.org/crimeflare/cloudflare-tor/src/branch/master/cloudflare_users/domains
2. Edit path: "/path/to/jsonfiles/"
*/
/*
is_listed_cf(str Domain)
is_listed_cf(string Domain)
return
[false, false]: file error
[true, true]: is cloudflare
@ -29,7 +29,7 @@ function is_listed_cf($domain)
}
/*
is_cloudflare_cached(str Domain)
is_cloudflare_cached(string Domain)
return
true: is cloudflare
false: not listed