From: [EMAIL PROTECTED]
Operating system:
PHP version: 4.0.6
PHP Bug Type: Apache related
Bug description: php sets the wrong default header (use not mimetypes)
i want to parse .wml sites with php, the problem is the default
header.
when i not have added
AddType application/x-httpd-php .wml
in the httpd.conf, then everything its fine and apache returned
the korrekt header in pure .wml sites (without php stuff).
my mimetype entry
text/vnd.wap.wmlwml
works in this case.
when i add
AddType application/x-httpd-php .wml
to the apache config, the mimetype settings are useless :-(
apache sends by default text/html and i have to rework als .wml
sites and have to add a line at first::
?php header(Content-Type: text/vnd.wap.wml);?
thats very bad, if i have lots of such sites, which were at first
plain wml.
i wanted to rename all .php sites to .wml, if they produce wml
code, because i want to avoid problems with wap browsers
which are looking for the filepostfix...
imho should php set the header using mimetypes settings.
--
Edit bug report at: http://bugs.php.net/?id=12989edit=1
--
PHP Development Mailing List http://www.php.net/
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]