stream_context_create Syntaxe: StreamContext stream_context_create(array $opts) Paramètres: $opts = array( 'http'=>array( 'method'=>"GET"|"POST"|..., 'header'=>"User-Agent: ...\r\n...", 'host'=>'www.example.com', ) ) Voir aussi: www.php.net/manual/fr/context.http.php