php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #30297 MySQL module adds headers to output
Submitted: 2004-10-01 02:04 UTC Modified: 2004-11-14 01:00 UTC
Votes:2
Avg. Score:5.0 ± 0.0
Reproduced:2 of 2 (100.0%)
Same Version:2 (100.0%)
Same OS:2 (100.0%)
From: alexejs_mj at navigator dot lv Assigned:
Status: No Feedback Package: MySQL related
PHP Version: 5.0.2 OS: Windows Server 2003
Private report: No CVE-ID: None
View Add Comment Developer Edit
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please — but make sure to vote on the bug!
Your email address:
MUST BE VALID
Solve the problem:
19 + 3 = ?
Subscribe to this entry?

 
 [2004-10-01 02:04 UTC] 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;
			};
		};
	}



Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2004-11-06 07:03 UTC] edink@php.net
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


 [2004-11-14 01:00 UTC] php-bugs at lists dot php dot net
No feedback was provided for this bug for over a week, so it is
being suspended automatically. If you are able to provide the
information that was originally requested, please do so and change
the status of the bug back to "Open".
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Fri Apr 19 04:01:28 2024 UTC