Added charset to HTTP header output.
This commit is contained in:
parent
7e72b0cd01
commit
56199acc2f
15 changed files with 19 additions and 21 deletions
|
|
@ -6,6 +6,6 @@ permalink: /cgi/uptime/
|
|||
$uptime = shell_exec('uptime');
|
||||
$version = shell_exec('uptime -V');
|
||||
|
||||
header('Content-Type: text/plain');
|
||||
header('Content-Type: text/plain; charset=utf-8');
|
||||
echo('Server ' . substr($version, 0, -1) . ': ' . $uptime);
|
||||
?>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue