fork download
  1. <?php
  2. $apiRoot = "https://a...content-available-to-author-only...s.com";
  3. $macList = array("88:53:2E:67:07:BE", "D4:F4:6F:C9:EF:8D",
  4. "FC:FB:FB:01:FA:21", "4c:72:b9:56:fe:bc", "00-14-22-01-23-45");
  5.  
  6. $curl = curl_init();
  7. curl_setopt($curl, CURLOPT_RETURNTRANSFER, true);
  8. foreach ($macList as $burger) {
  9. curl_setopt($curl, CURLOPT_URL, "$apiRoot/$burger");
  10. echo(curl_exec($curl));
  11. echo("\n");
  12. sleep(2);
  13. }
  14. curl_close($curl);
  15. ?>
Success #stdin #stdout 0.04s 26268KB
stdin
1
2
10
42
11
stdout