Pourquoi/quand faut-il utiliser CRLF à la fin de header en PHP? Voici un exemple (il est exact pas nécessairement):CRLF ( r n) dans la fonction header() de PHP
header("method: POST\r\n");
header('Host: '.get_option('transact_url')."\r\n");
header('Content-type: application/x-www-form-urlencoded');
header('Content-length: '.strlen($transaction)."\r\n");
header($transaction."\r\n\r\n");
header("Connection: close\r\n\r\n");
header("Location: ".$key_client_url."\r\n");
C'est CRLF pas CLRF. Cela signifie Carriage-Return Line-Feed. – BoltClock