creo si no estoy equivocado es asi:
Código PHP:
Ver original<?php
// Create a stream
'method'=>"GET",
'header'=>"Accept-language: en\r\n" .
"Cookie: foo=bar\r\n"
)
);
?>
Creo que es lo que buscabas cualquier cosa consulta el manual de php en
[URL="http://php.net/manual/es/function.file-get-contents.php"]http://php.net/manual/es/function.file-get-contents.php[/URL]