add headers to file_get_contents in php
<p>I am completely new PHP and want a client program to call an URL web service.I am using file_get_content to get the data.How do add additional headers to the request made using file_get_content.</p>

<p>I also was thinking of using cURL. I wanted to know how cURL can be used to do a GET request.</p>
