Debug: file_get_contents($url);

Uncategorized Add comments

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.

One Response to “Debug: file_get_contents($url);”

  1. Walker Says:

    Thanks for making the effort to describe the terminlogy to the noobs!

Leave a Reply

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