Feb 24
Feb 16
grep -ir –exclude=*.{ext1,ext2,ext3} ’searchterm’ .
I needed this when searching for terms that were in javascript and SQL files.
It’s not pretty when they’re included.
Feb 08
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.

Recent Comments