HTTP vastuse päised PHP-s

PHP abil saata HTTP vastuse päised brauserisse. Seda tehakse funktsiooni header abil:

php<?php
  header('Content-Type: text/html');
?>
Задание 1

Seadke päis Content-Type väärtuseks 'text/plain'.

Задание 2

Mõelge oma päis, alustades selle nime tähest 'X'. Seadke see päis.