ID:               31146
 Updated by:       [EMAIL PROTECTED]
 Reported By:      mitya at demos dot su
-Status:           Open
+Status:           Feedback
 Bug Type:         PHP options/info functions
 Operating System: Solaris 9
 PHP Version:      4.3.10
 New Comment:

What was the configure line you used to configure PHP?



Previous Comments:
------------------------------------------------------------------------

[2004-12-30 11:51:04] [EMAIL PROTECTED]

I've never had magic_quotes_gpc set to anything but 'off'. 
So I still can't reproduce this.


------------------------------------------------------------------------

[2004-12-24 12:59:37] mitya at demos dot su

The problem becomes much less bogus if I add the following
information:

1) I use apache from Solaris packages (SUNWapchr, SUNWapchu)
with the latest patches available (113146-06)
2) The vital part of php.ini to reproduce the problem is:
magic_quotes_gpc = Off

Without this line the problem does not exist.
To reveal the problem use the following php.ini:
[PHP]
magic_quotes_gpc = Off
default_charset = "koi8-r"

------------------------------------------------------------------------

[2004-12-17 10:36:54] [EMAIL PROTECTED]

I can not reproduce this, it works fine for me. (On both PHP 4 and 5).

------------------------------------------------------------------------

[2004-12-17 10:31:06] mitya at demos dot su

Description:
------------
I am using PHP 4.3.10 with Apache 1.3.29 as DSO module.
I changed default_charset variable in php.ini to a custom
value ("koi8-r").  phpinfo() reports that the value of this variable is
in fact "koi8-r".

But HTTP headers for any PHP page on my server looks as follows:
Content-type=text/html; charset=

that is charset is empty.

I wonder is it a bug or an intended behaviour (what are the reasons to
not apply the value of charset specified in php.ini in that case)?

Thanks in advance!



------------------------------------------------------------------------


-- 
Edit this bug report at http://bugs.php.net/?id=31146&edit=1

Reply via email to