update page now
Longhorn PHP 2026 - Call For Papers

Voting

: nine plus zero?
(Example: nine)

The Note You're Voting On

Brian Gottier
16 years ago
In some cases, set a header option as an array, and not a string, depending on server configuration.

<?php
$opts = array(
  'http'=> array(
    'method'=>   "GET",
    'header'=>    array( "Cookie: foo="bar"l ),
    'user_agent'=>    $_SERVER['HTTP_USER_AGENT']
  )
);
?>

<< Back to user notes page

To Top