Log in

View Full Version : Mime Type code for php 5x


Khalid-B
01-28-2008, 06:22 PM
Hello.

Can some one please give me Mime type php code for php 5 or higher?

Thanks

Dismounted
01-29-2008, 04:20 AM
header("Content-Type: $mime");

Marco van Herwaarden
01-29-2008, 06:42 AM
Mime-type describes the content of the HTML output. PHP is a serverside processing language. It can output HTML but has no mime-type as you do not "output PHP to your browser".