I have a script that will call prtg to get a graph, how can i do this? I do not want to show the graph on a page, rather download it to a folder for further processing.
$url = "https://monitor.newcoit.com/chart.png?type=graph&width=900&height=420&graphid=1&id=2192&username=username&userhash=somehas"; echo "<img src='" . $url . "'>";
i am trying to use php file_get_contents or fopen() and when it try these, i get the login page for my prtg instance