Set headers with PHP's file_get_contents() Aug 24th 2018 · #php #tweet Did you know that using stream contexts, you can set headers when making HTTP requests with #php's file_get_contents() function? pic.twitter.com/bBoS5bksbt— Liam Hammett (@LiamHammett) August 24, 2018