It seems PHP defaults to content type text/html if not explicitly set otherwise. Is there a global setting for this somewhere?
Is there any documentation regarding this? I looked at http://php.net/manual/en/function.header.php and found no mention of a default or related settings.
If you want to change the default you can edit the default mimetype in the php.ini.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With