#30297 [Opn->Fbk]: MySQL module adds headers to output
| From: | edink@php.net | Date: | Sat, 06 Nov 2004 06:03:26 +0000 |
| Subject: | #30297 [Opn->Fbk]: MySQL module adds headers to output | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-68741@lists.php.net to get a copy of this message | ||
ID: 30297
Updated by: edink@php.net
Reported By: alexejs_mj at navigator dot lv
-Status: Open
+Status: Feedback
Bug Type: MySQL related
Operating System: Windows Server 2003
PHP Version: 5.0.2
New Comment:
Please try using this CVS snapshot:
http://snaps.php.net/php5-STABLE-latest.tar.gz
For Windows:
http://snaps.php.net/win32/php5.0-win32-latest.zip
Previous Comments:
------------------------------------------------------------------------
[2004-10-01 02:04:33] alexejs_mj at navigator dot lv
Description:
------------
When PHP calls mysql_connect two additional headers are added to
output:
File 'C: \mysql\\share\charsets\?.conf' not found (Errcode: 22)
Character set '#33' is not a compiled character set and is not
specified in the 'C: \mysql\\share\charsets\Index' file
Reproduce code:
---------------
function connect() {
if (self::connected()) {
return false;
} else {
if (self::$dblink = mysql_connect(self::$server, self::$user,
self::$pass)) {
return true;
} else {
return false;
};
};
}
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=30297&edit=1