bonjour, mon cookie n'est pas pris en compte dans ce code php, est-ce que c'est normal ?
merci.
le code :
<?php
$context = stream_context_create(array("http" => array ("header" => "Cookie:
PHPSESSID=c75232a1453f71318375aab48d40f6e9\r\n")))
;
echo
file_get_contents("http://127.0.0.1/hellocookie.ph
p", false, $context) ;
?>