How to use http headers inside php?
Answer / Kamal Singh Gond
In PHP, you can set HTTP headers using the header() function. For example: header('Content-Type: text/html; charset=UTF-8'); This sets the content type and character encoding of the output.
| Is This Answer Correct ? | 0 Yes | 0 No |
Does php have a future?
•How do you create subdomains using PHP?
What is the substitution of submit in PHP?
Is array a key php?
What good is polymorphism?
How can I convert ereg expressions to preg in php?
What can php do?
What is php rest api?
What is mean by an associative array?
What is htaccess? Why do we use this and where?
How is it possible to cast types in php?
Give small demo of writting OOP in PHP-mysql.