in my website there is a graph showing some values . that graph is taken from some other site named www.xxxx.com
graph is displayed . but the problem is that. whenever the graph changes in the www.xxxx.com , the change should also reflect in my website.
change is reflected but only after 3 , 4 hours after the graph changes in www.xxxx.com.
the change should be reflected at once , how is it possible?
below shown is the code for updating the graph
$ch = curl_init("http://www.xxxx.com");
$fp = fopen("location where it is saved", "w");