Welcome Guest, Not a member yet? Register   Sign In
set_header invalid?
#1

[eluser]Unknown[/eluser]
hi,all

in my api.php:
<?php
......
$this->output->set_header("Content-Type: application/json; charset=UTF-8");
......
?>
When I visited, the browser returns response_header is "Content-Type:text/html",why?

My environment:
Nginx:1.0.4
PHP-FastCGI:5.2.14




Theme © iAndrew 2016 - Forum software by © MyBB