|
View previous topic :: View next topic |
Author |
Message |
sime Guest
|
Posted: 28.09.2004 16:26 Post subject: MIME type i charset za .php? |
|
|
Kako se podesi mime type i charset za .php fileove?
Za html, to mi je bilo lako:
AddType text/html;charset=utf-8 .html
ili ako koristim XHTML:
AddType application/xhtml+xml;charset=utf-8 .html
Ali za .php nemam pojma? |
|
|
Back to top |
|
|
sime Guest
|
Posted: 28.09.2004 17:02 Post subject: |
|
|
Evo skužia sam, ne preko .htaccess-a, nego preko php-a:
<?php
header("Content-Type: text/html;charset=utf-8");
?> |
|
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group
|
|
|
|
|
|