example.json.is_cloudflare.php
This commit is contained in:
parent
da089ce9e7
commit
1e708ad68a
|
@ -1,16 +1,16 @@
|
||||||
<?php
|
<?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
|
1. Download .json files: https://codeberg.org/crimeflare/cloudflare-tor/src/branch/master/cloudflare_users/domains
|
||||||
2. Edit path: "/path/to/jsonfiles/"
|
2. Edit path: "/path/to/jsonfiles/"
|
||||||
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
is_listed_cf(str Domain)
|
is_listed_cf(string Domain)
|
||||||
return
|
return
|
||||||
[false, false]: file error
|
[false, false]: file error
|
||||||
[true, true]: is cloudflare
|
[true, true]: is cloudflare
|
||||||
|
@ -29,7 +29,7 @@ function is_listed_cf($domain)
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
is_cloudflare_cached(str Domain)
|
is_cloudflare_cached(string Domain)
|
||||||
return
|
return
|
||||||
true: is cloudflare
|
true: is cloudflare
|
||||||
false: not listed
|
false: not listed
|
||||||
|
|
Loading…
Reference in New Issue