Debug: file_get_contents($url);

Uncategorized 1 Comment »

There is a variable $http_response_header

It contains the header reply information from the server…

$var = file_get_contents($url);

var_dump($http_response_header);

This really helped me figure out some problems when trying to cache google charts.

WP Theme & Icons by N.Design Studio | Akismet has gobbled 332,298 spam comments...Mmmm Tasty :-)
Entries RSS Comments RSS Log in