Web >> Development >> PHP >> How to set the server response as content-type text/plain


<?php header("Content-Type: text/plain");
print "Hello world in plain text";
?>