how to purge cloudflare single file in php

Solutions on MaxInterview for how to purge cloudflare single file in php by the best coders in the world

showing results for - "how to purge cloudflare single file in php"
Lilie
02 Jan 2018
11function getZones($key, $email, $page = 1, $per_page = 100) {
2  $cmd = 'curl -s -X GET "https://api.cloudflare.com/client/v4/zones?'.
3        'status=active&page=$page&per_page=$per_page&order=status&direction=desc&match=all" -H "X-Auth-Email: '.$email.
4        '" -H "X-Auth-Key: '.$key.
5        '" -H "Content-Type: application/json"';
6  return json_decode(shell_exec($cmd));
7}  
82
93
104
115
126
137
14