With PHP, is it possible to send HTTP headers with file_get_contents() ?
file_get_contents()
I know you can send the user agent from your php.ini file. However
php.ini
Using the php cURL libraries will probably be the right way to go, as this library has more features than the simple file_get_contents(...).
file_get_contents(...)
An example: