docomo で xhtml + PHP のCSSが効かなかったら

同じコードでhtml拡張しだと反映し、php拡張しだと反映されない場合。

ContentType の問題ですか。

header('Content-Type: application/xhtml+xml; charset=Shift_JIS');

.htaccess でも指定できそうだけど、他に影響でたら嫌だよな。

AddType application/xhtml+xml .php

忘れそうだからメモ。

PHP

— posted by giyu at 08:57 pm   pingTrackBack [0]

T: Y: ALL:
Created in 0.0091 sec.
prev
2012.2
next
      1 2 3 4
5 6 7 8 9 10 11
12 13 14 15 16 17 18
19 20 21 22 23 24 25
26 27 28 29