Re: configuration mime type problem

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



try forcing an html header:
header('Conent-Type: TEXT/HTML');

you want apache to recognize .php, but the browser should still see it as html (or xml or whatever format you want to use).

-dave

Tony Moore wrote:
Hi, hoping someone can point me to the
correct part of the FAQ or otherwise help me solve this.

Installed the PHP binaries as per the instructions, and configured the httpd.conf for apache 1.3,

once i restarted apache, I tested with the standard hello.php page indicated on the tutorial.

The browsers, both IE and mozilla do not recognise the .php mime type or file extention and are attempting to download the file rather than render the page.
I'm pretty sure I followed the install instructions to the letter, but maybe i srewed something up.

Thanks for any insight.


____________________________________________________________ Find what you are looking for with the Lycos Yellow Pages http://r.lycos.com/r/yp_emailfooter/http://yellowpages.lycos.com/default.asp?SRC=lycos10

-- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [PHP Users]     [PHP Database Programming]     [PHP Install]     [Kernel Newbies]     [Yosemite Forum]     [PHP Books]

  Powered by Linux