[PHP-DEV] Bug #12432 Updated: not valid mysql ressource
ID: 12432 User updated by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] Old Status: Closed Status: Open Bug Type: MySQL related Operating System: GNU Linux PHP Version: 4.0.6 New Comment: The eMail system is not working correctly, there is some more sourcecode in my message, please watch it directly http://www.php.net/bugs.php?id=12432 First I thought it is some sort of scope problem, but it is also reproducable with different var Names. I think he ignores the link variable totally. Maybe closes the default link (first created) Previous Comments: [2001-07-27 20:43:22] [EMAIL PROTECTED] This is currently a feature. Although you haven't given full source I assume both 'mysql_connect()'s were the same. Two or more connects with the same parameter reuse the allready established connection and don't create a new one. So, closing one of them closes all other, too. Re-Open if my assumption were wrong. [2001-07-27 13:31:35] [EMAIL PROTECTED] $eLink = mysql_connect(...); . . . class test { function einTest() { $eLink = mysql_connect(); mysql_close($eLink); } } $aVar = new test(); $aVar-einTest(); mysql_query(...,$eLink); - not valid mysql ressource After einTest() it looks like it closes the outside mysql_connection ($eLink) no matter how the connection var in einTest() is named! Serious stuff! Edit this bug report at http://bugs.php.net/?id=12432edit=1 -- PHP Development Mailing List http://www.php.net/ To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
[PHP-DEV] Bug #12432 Updated: not valid mysql ressource
ID: 12432 User updated by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] Status: Closed Bug Type: MySQL related Operating System: GNU Linux PHP Version: 4.0.6 New Comment: I don't think it's a feature, its bug 8634, sorry I missed that entry. 8634 is a urgent one I think! Previous Comments: [2001-07-30 05:56:44] [EMAIL PROTECTED] This is still a feature, not a bug. [2001-07-30 02:59:28] [EMAIL PROTECTED] The eMail system is not working correctly, there is some more sourcecode in my message, please watch it directly http://www.php.net/bugs.php?id=12432 First I thought it is some sort of scope problem, but it is also reproducable with different var Names. I think he ignores the link variable totally. Maybe closes the default link (first created) [2001-07-27 20:43:22] [EMAIL PROTECTED] This is currently a feature. Although you haven't given full source I assume both 'mysql_connect()'s were the same. Two or more connects with the same parameter reuse the allready established connection and don't create a new one. So, closing one of them closes all other, too. Re-Open if my assumption were wrong. [2001-07-27 13:31:35] [EMAIL PROTECTED] $eLink = mysql_connect(...); . . . class test { function einTest() { $eLink = mysql_connect(); mysql_close($eLink); } } $aVar = new test(); $aVar-einTest(); mysql_query(...,$eLink); - not valid mysql ressource After einTest() it looks like it closes the outside mysql_connection ($eLink) no matter how the connection var in einTest() is named! Serious stuff! Edit this bug report at http://bugs.php.net/?id=12432edit=1 -- PHP Development Mailing List http://www.php.net/ To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
[PHP-DEV] Bug #12432 Updated: not valid mysql ressource
ID: 12432 User updated by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] Old Status: Closed Status: Duplicate Bug Type: MySQL related Operating System: GNU Linux PHP Version: 4.0.6 Previous Comments: [2001-07-30 05:56:44] [EMAIL PROTECTED] This is still a feature, not a bug. [2001-07-30 02:59:28] [EMAIL PROTECTED] The eMail system is not working correctly, there is some more sourcecode in my message, please watch it directly http://www.php.net/bugs.php?id=12432 First I thought it is some sort of scope problem, but it is also reproducable with different var Names. I think he ignores the link variable totally. Maybe closes the default link (first created) [2001-07-27 20:43:22] [EMAIL PROTECTED] This is currently a feature. Although you haven't given full source I assume both 'mysql_connect()'s were the same. Two or more connects with the same parameter reuse the allready established connection and don't create a new one. So, closing one of them closes all other, too. Re-Open if my assumption were wrong. [2001-07-27 13:31:35] [EMAIL PROTECTED] $eLink = mysql_connect(...); . . . class test { function einTest() { $eLink = mysql_connect(); mysql_close($eLink); } } $aVar = new test(); $aVar-einTest(); mysql_query(...,$eLink); - not valid mysql ressource After einTest() it looks like it closes the outside mysql_connection ($eLink) no matter how the connection var in einTest() is named! Serious stuff! Edit this bug report at http://bugs.php.net/?id=12432edit=1 -- PHP Development Mailing List http://www.php.net/ To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
[PHP-DEV] Bug #12432: not valid mysql ressource
From: [EMAIL PROTECTED] Operating system: GNU Linux PHP version: 4.0.6 PHP Bug Type: MySQL related Bug description: not valid mysql ressource $eLink = mysql_connect(...); . . . class test { function einTest() { $eLink = mysql_connect(); mysql_close($eLink); } } $aVar = new test(); $aVar-einTest(); mysql_query(...,$eLink); - not valid mysql ressource After einTest() it looks like it closes the outside mysql_connection ($eLink) no matter how the connection var in einTest() is named! Serious stuff! -- Edit bug report at: http://bugs.php.net/?id=12432edit=1 -- PHP Development Mailing List http://www.php.net/ To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
[PHP-DEV] Bug #12433: Curl Crush, CURLOPT_WRITEHEADER
From: [EMAIL PROTECTED] Operating system: GNU Linux PHP version: 4.0.6 PHP Bug Type: cURL related Bug description: Curl Crush, CURLOPT_WRITEHEADER After using curl_setopt - CURLOPT_WRITEHEADER to a valid filepointer curl somehow crushes. Excerpt from apache error_log [notice] child pid 14646 exit signal Segmentation fault (11) Bad Stuff! -- Edit bug report at: http://bugs.php.net/?id=12433edit=1 -- PHP Development Mailing List http://www.php.net/ To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]