#51050 [Bgs]: FILTER_VALIDATE_URL accepts invalid URLs
ID: 51050 User updated by: pecoes at gmail dot com Reported By: pecoes at gmail dot com Status: Bogus Bug Type: Filter related Operating System: WinXP PHP Version: 5.3.1 New Comment: Yes. You're perfectly right. Forget that last suggestion. But I still think, it would be helpful to clearly state in the documentation, that valid != safe. Previous Comments: [2010-02-15 07:52:06] ras...@php.net But that wouldn't make it safe and as such would be worse than the current state because people would think it was. It takes more than just filtering out or encoding certain characters to make a user- supplied URL safe for direct display. Generally you need to apply some application-level logic to determine which domains and which primitives are valid. For example: javascript:alert(1) is a perfectly valid URL that has no special characters in it. Or file:/// can also cause problems. Even http://localhost/ can cause issues. There is a long list of things that can be problematic if you allow users to supply entire URLs. Usually all you want to accept from users are url fragments and you prepend the primitive and base domain and path. [2010-02-15 07:39:45] pecoes at gmail dot com Personally, I don't like sanitizing. I prefer to either accept or reject. I don't think modifying a user's input is a good idea. How about adding an optional FILTER_FLAG_ALLOW_SPECIAL_CHARS to FILTER_VALIDATE_URL? Or an optional FILTER_FLAG_DISALLOW_SPECIAL_CHARS, if that's what you prefer... Because, you know, using URLs in an HTML context is not such an exotic scenario. :0) [2010-02-15 07:26:07] ras...@php.net What you are after is a filter for the html-context. There is nothing wrong with your URL. You only have an issue with it if you use it in an HTML context. It is your target context you should be filtering for. The URL sanitizer is very explicitly documented as: Remove all characters except letters, digits and $- _.+!*'(),{}|\\^~[]`<>#%";/?:@&=. Have a look through: http://php.net/manual/en/filter.filters.sanitize.php What you are looking for is FILTER_SANITIZE_SPECIAL_CHARS [2010-02-15 07:20:03] pecoes at gmail dot com Okay, I accept that the URL I posted, is valid. But it deserves pointing out that valid does NOT mean safe. Btw FILTER_SANITIZE_URL has the same effect on this URL. [2010-02-15 07:14:17] ras...@php.net I guess we could state it more strongly somewhere, but it does say: Validation is used to validate or check if the data meets certain qualifications. For example, passing in FILTER_VALIDATE_EMAIL will determine if the data is a valid email address, but will not change the data itself. Sanitization will sanitize the data, so it may alter it by removing undesired characters. For example, passing in FILTER_SANITIZE_EMAIL will remove characters that are inappropriate for an email address to contain. That said, it does not validate the data. And just the name itself. VALIDATE_URL. There is nothing invalid about the URL in your example. The remainder of the comments for this report are too long. To view the rest of the comments, please view the bug report online at http://bugs.php.net/51050 -- Edit this bug report at http://bugs.php.net/?id=51050&edit=1
#51050 [Bgs]: FILTER_VALIDATE_URL accepts invalid URLs
ID: 51050 Updated by: ras...@php.net Reported By: pecoes at gmail dot com Status: Bogus Bug Type: Filter related Operating System: WinXP PHP Version: 5.3.1 New Comment: But that wouldn't make it safe and as such would be worse than the current state because people would think it was. It takes more than just filtering out or encoding certain characters to make a user- supplied URL safe for direct display. Generally you need to apply some application-level logic to determine which domains and which primitives are valid. For example: javascript:alert(1) is a perfectly valid URL that has no special characters in it. Or file:/// can also cause problems. Even http://localhost/ can cause issues. There is a long list of things that can be problematic if you allow users to supply entire URLs. Usually all you want to accept from users are url fragments and you prepend the primitive and base domain and path. Previous Comments: [2010-02-15 07:39:45] pecoes at gmail dot com Personally, I don't like sanitizing. I prefer to either accept or reject. I don't think modifying a user's input is a good idea. How about adding an optional FILTER_FLAG_ALLOW_SPECIAL_CHARS to FILTER_VALIDATE_URL? Or an optional FILTER_FLAG_DISALLOW_SPECIAL_CHARS, if that's what you prefer... Because, you know, using URLs in an HTML context is not such an exotic scenario. :0) [2010-02-15 07:26:07] ras...@php.net What you are after is a filter for the html-context. There is nothing wrong with your URL. You only have an issue with it if you use it in an HTML context. It is your target context you should be filtering for. The URL sanitizer is very explicitly documented as: Remove all characters except letters, digits and $- _.+!*'(),{}|\\^~[]`<>#%";/?:@&=. Have a look through: http://php.net/manual/en/filter.filters.sanitize.php What you are looking for is FILTER_SANITIZE_SPECIAL_CHARS [2010-02-15 07:20:03] pecoes at gmail dot com Okay, I accept that the URL I posted, is valid. But it deserves pointing out that valid does NOT mean safe. Btw FILTER_SANITIZE_URL has the same effect on this URL. [2010-02-15 07:14:17] ras...@php.net I guess we could state it more strongly somewhere, but it does say: Validation is used to validate or check if the data meets certain qualifications. For example, passing in FILTER_VALIDATE_EMAIL will determine if the data is a valid email address, but will not change the data itself. Sanitization will sanitize the data, so it may alter it by removing undesired characters. For example, passing in FILTER_SANITIZE_EMAIL will remove characters that are inappropriate for an email address to contain. That said, it does not validate the data. And just the name itself. VALIDATE_URL. There is nothing invalid about the URL in your example. [2010-02-15 07:09:57] pecoes at gmail dot com Seriously? Well then it might be a good idea to add a warning label to the documentation, that successful validation does not protect from XSS attacks. The remainder of the comments for this report are too long. To view the rest of the comments, please view the bug report online at http://bugs.php.net/51050 -- Edit this bug report at http://bugs.php.net/?id=51050&edit=1
#51050 [Bgs]: FILTER_VALIDATE_URL accepts invalid URLs
ID: 51050 User updated by: pecoes at gmail dot com Reported By: pecoes at gmail dot com Status: Bogus Bug Type: Filter related Operating System: WinXP PHP Version: 5.3.1 New Comment: Personally, I don't like sanitizing. I prefer to either accept or reject. I don't think modifying a user's input is a good idea. How about adding an optional FILTER_FLAG_ALLOW_SPECIAL_CHARS to FILTER_VALIDATE_URL? Or an optional FILTER_FLAG_DISALLOW_SPECIAL_CHARS, if that's what you prefer... Because, you know, using URLs in an HTML context is not such an exotic scenario. :0) Previous Comments: [2010-02-15 07:26:07] ras...@php.net What you are after is a filter for the html-context. There is nothing wrong with your URL. You only have an issue with it if you use it in an HTML context. It is your target context you should be filtering for. The URL sanitizer is very explicitly documented as: Remove all characters except letters, digits and $- _.+!*'(),{}|\\^~[]`<>#%";/?:@&=. Have a look through: http://php.net/manual/en/filter.filters.sanitize.php What you are looking for is FILTER_SANITIZE_SPECIAL_CHARS [2010-02-15 07:20:03] pecoes at gmail dot com Okay, I accept that the URL I posted, is valid. But it deserves pointing out that valid does NOT mean safe. Btw FILTER_SANITIZE_URL has the same effect on this URL. [2010-02-15 07:14:17] ras...@php.net I guess we could state it more strongly somewhere, but it does say: Validation is used to validate or check if the data meets certain qualifications. For example, passing in FILTER_VALIDATE_EMAIL will determine if the data is a valid email address, but will not change the data itself. Sanitization will sanitize the data, so it may alter it by removing undesired characters. For example, passing in FILTER_SANITIZE_EMAIL will remove characters that are inappropriate for an email address to contain. That said, it does not validate the data. And just the name itself. VALIDATE_URL. There is nothing invalid about the URL in your example. [2010-02-15 07:09:57] pecoes at gmail dot com Seriously? Well then it might be a good idea to add a warning label to the documentation, that successful validation does not protect from XSS attacks. [2010-02-15 07:00:44] j...@php.net validate != filter. There's nothing wrong in the url syntax so it's passed on. More in the manual: http://php.net/filter The remainder of the comments for this report are too long. To view the rest of the comments, please view the bug report online at http://bugs.php.net/51050 -- Edit this bug report at http://bugs.php.net/?id=51050&edit=1
#51050 [Bgs]: FILTER_VALIDATE_URL accepts invalid URLs
ID: 51050 Updated by: ras...@php.net Reported By: pecoes at gmail dot com Status: Bogus Bug Type: Filter related Operating System: WinXP PHP Version: 5.3.1 New Comment: What you are after is a filter for the html-context. There is nothing wrong with your URL. You only have an issue with it if you use it in an HTML context. It is your target context you should be filtering for. The URL sanitizer is very explicitly documented as: Remove all characters except letters, digits and $- _.+!*'(),{}|\\^~[]`<>#%";/?:@&=. Have a look through: http://php.net/manual/en/filter.filters.sanitize.php What you are looking for is FILTER_SANITIZE_SPECIAL_CHARS Previous Comments: [2010-02-15 07:20:03] pecoes at gmail dot com Okay, I accept that the URL I posted, is valid. But it deserves pointing out that valid does NOT mean safe. Btw FILTER_SANITIZE_URL has the same effect on this URL. [2010-02-15 07:14:17] ras...@php.net I guess we could state it more strongly somewhere, but it does say: Validation is used to validate or check if the data meets certain qualifications. For example, passing in FILTER_VALIDATE_EMAIL will determine if the data is a valid email address, but will not change the data itself. Sanitization will sanitize the data, so it may alter it by removing undesired characters. For example, passing in FILTER_SANITIZE_EMAIL will remove characters that are inappropriate for an email address to contain. That said, it does not validate the data. And just the name itself. VALIDATE_URL. There is nothing invalid about the URL in your example. [2010-02-15 07:09:57] pecoes at gmail dot com Seriously? Well then it might be a good idea to add a warning label to the documentation, that successful validation does not protect from XSS attacks. [2010-02-15 07:00:44] j...@php.net validate != filter. There's nothing wrong in the url syntax so it's passed on. More in the manual: http://php.net/filter [2010-02-15 05:21:37] pecoes at gmail dot com Description: Look at the code and its result. How is that validation? Reproduce code: --- $url = 'http://example.org/";>
#51050 [Bgs]: FILTER_VALIDATE_URL accepts invalid URLs
ID: 51050 User updated by: pecoes at gmail dot com Reported By: pecoes at gmail dot com Status: Bogus Bug Type: Filter related Operating System: WinXP PHP Version: 5.3.1 New Comment: Okay, I accept that the URL I posted, is valid. But it deserves pointing out that valid does NOT mean safe. Btw FILTER_SANITIZE_URL has the same effect on this URL. Previous Comments: [2010-02-15 07:14:17] ras...@php.net I guess we could state it more strongly somewhere, but it does say: Validation is used to validate or check if the data meets certain qualifications. For example, passing in FILTER_VALIDATE_EMAIL will determine if the data is a valid email address, but will not change the data itself. Sanitization will sanitize the data, so it may alter it by removing undesired characters. For example, passing in FILTER_SANITIZE_EMAIL will remove characters that are inappropriate for an email address to contain. That said, it does not validate the data. And just the name itself. VALIDATE_URL. There is nothing invalid about the URL in your example. [2010-02-15 07:09:57] pecoes at gmail dot com Seriously? Well then it might be a good idea to add a warning label to the documentation, that successful validation does not protect from XSS attacks. [2010-02-15 07:00:44] j...@php.net validate != filter. There's nothing wrong in the url syntax so it's passed on. More in the manual: http://php.net/filter [2010-02-15 05:21:37] pecoes at gmail dot com Description: Look at the code and its result. How is that validation? Reproduce code: --- $url = 'http://example.org/";>
#51050 [Bgs]: FILTER_VALIDATE_URL accepts invalid URLs
ID: 51050 Updated by: ras...@php.net Reported By: pecoes at gmail dot com Status: Bogus Bug Type: Filter related Operating System: WinXP PHP Version: 5.3.1 New Comment: I guess we could state it more strongly somewhere, but it does say: Validation is used to validate or check if the data meets certain qualifications. For example, passing in FILTER_VALIDATE_EMAIL will determine if the data is a valid email address, but will not change the data itself. Sanitization will sanitize the data, so it may alter it by removing undesired characters. For example, passing in FILTER_SANITIZE_EMAIL will remove characters that are inappropriate for an email address to contain. That said, it does not validate the data. And just the name itself. VALIDATE_URL. There is nothing invalid about the URL in your example. Previous Comments: [2010-02-15 07:09:57] pecoes at gmail dot com Seriously? Well then it might be a good idea to add a warning label to the documentation, that successful validation does not protect from XSS attacks. [2010-02-15 07:00:44] j...@php.net validate != filter. There's nothing wrong in the url syntax so it's passed on. More in the manual: http://php.net/filter [2010-02-15 05:21:37] pecoes at gmail dot com Description: Look at the code and its result. How is that validation? Reproduce code: --- $url = 'http://example.org/";>
#51050 [Bgs]: FILTER_VALIDATE_URL accepts invalid URLs
ID: 51050 User updated by: pecoes at gmail dot com Reported By: pecoes at gmail dot com Status: Bogus Bug Type: Filter related Operating System: WinXP PHP Version: 5.3.1 New Comment: Seriously? Well then it might be a good idea to add a warning label to the documentation, that successful validation does not protect from XSS attacks. Previous Comments: [2010-02-15 07:00:44] j...@php.net validate != filter. There's nothing wrong in the url syntax so it's passed on. More in the manual: http://php.net/filter [2010-02-15 05:21:37] pecoes at gmail dot com Description: Look at the code and its result. How is that validation? Reproduce code: --- $url = 'http://example.org/";>
#51050 [Opn->Bgs]: FILTER_VALIDATE_URL accepts invalid URLs
ID: 51050 Updated by: j...@php.net Reported By: pecoes at gmail dot com -Status: Open +Status: Bogus Bug Type: Filter related Operating System: WinXP PHP Version: 5.3.1 New Comment: validate != filter. There's nothing wrong in the url syntax so it's passed on. More in the manual: http://php.net/filter Previous Comments: [2010-02-15 05:21:37] pecoes at gmail dot com Description: Look at the code and its result. How is that validation? Reproduce code: --- $url = 'http://example.org/";>
#51050 [NEW]: FILTER_VALIDATE_URL accepts invalid URLs
From: pecoes at gmail dot com Operating system: WinXP PHP version: 5.3.1 PHP Bug Type: Filter related Bug description: FILTER_VALIDATE_URL accepts invalid URLs Description: Look at the code and its result. How is that validation? Reproduce code: --- $url = 'http://example.org/";>
#51049 [Opn->Bgs]: Last Array Element Replaced by Second Last one
ID: 51049 Updated by: ahar...@php.net Reported By: timminn at gmail dot com -Status: Open +Status: Bogus Bug Type: Arrays related Operating System: Arch Linux 2.6.31 PHP Version: 5.3.1 New Comment: Reusing a variable that you've used to hold value references in a foreach loop leads to Bad ThingsĀ. That's why the manual page for foreach has a big red box recommending that you unset() the variable after you're done with the loop. Recent bugs dealing with this include bug #50485, bug #50582 and bug #48561. This behaviour isn't going to be changed as it would break backward compatibility. Closing. Previous Comments: [2010-02-15 05:03:10] timminn at gmail dot com the bug occurs ONLY WHEN: MUST BE used in a STRAIGHT MANNER as ARRAY IN OBJECT, as shown in the sbmitted code, in other words, if we use $sa = $o3->a; and foreach( $sa as $k => & $v ){ ... } the bug will not occur [2010-02-15 04:47:44] timminn at gmail dot com Description: if AN ARRAY WITHIN AN OBJECT is used in "a straight manner" in the foreach() loop, with the references to its values[poor English, see the SECOND foreach() in the submitted code to understand I mean], the last value in the array will be REPACED with the second last one ACCIDENTALLY, WITHOUT ANY ASSIGNMENT OPERATION. Reproduce code: --- a = Array( 11, 22 ); //loop ONE foreach( $o3->a as $k => $v ) echo $v. ' '; //EXPECT 11 22 , CORRECT OUTPUT echo "\n=\n"; //loop TWO notice the reference & sign for $v foreach( $o3->a as $k => & $v ) echo $v. ' ';//EXPECT 11 22 , CORRECT OUTPUT echo "\n=\n"; //loop THREE foreach( $o3->a as $k => $v ) echo $v. ' ';//EXPECT 11 22 , BUT WRONG OUTPUT: 11 11 echo "\n=\n"; ?> Expected result: 11 22 11 22 11 22 Actual result: -- 11 22 11 22 11 11 -- Edit this bug report at http://bugs.php.net/?id=51049&edit=1
#51049 [Opn]: Last Array Element Replaced by Second Last one
ID: 51049 User updated by: timminn at gmail dot com Reported By: timminn at gmail dot com Status: Open Bug Type: Arrays related Operating System: Arch Linux 2.6.31 PHP Version: 5.3.1 New Comment: the bug occurs ONLY WHEN: MUST BE used in a STRAIGHT MANNER as ARRAY IN OBJECT, as shown in the sbmitted code, in other words, if we use $sa = $o3->a; and foreach( $sa as $k => & $v ){ ... } the bug will not occur Previous Comments: [2010-02-15 04:47:44] timminn at gmail dot com Description: if AN ARRAY WITHIN AN OBJECT is used in "a straight manner" in the foreach() loop, with the references to its values[poor English, see the SECOND foreach() in the submitted code to understand I mean], the last value in the array will be REPACED with the second last one ACCIDENTALLY, WITHOUT ANY ASSIGNMENT OPERATION. Reproduce code: --- a = Array( 11, 22 ); //loop ONE foreach( $o3->a as $k => $v ) echo $v. ' '; //EXPECT 11 22 , CORRECT OUTPUT echo "\n=\n"; //loop TWO notice the reference & sign for $v foreach( $o3->a as $k => & $v ) echo $v. ' ';//EXPECT 11 22 , CORRECT OUTPUT echo "\n=\n"; //loop THREE foreach( $o3->a as $k => $v ) echo $v. ' ';//EXPECT 11 22 , BUT WRONG OUTPUT: 11 11 echo "\n=\n"; ?> Expected result: 11 22 11 22 11 22 Actual result: -- 11 22 11 22 11 11 -- Edit this bug report at http://bugs.php.net/?id=51049&edit=1
#51049 [NEW]: Last Array Element Replaced by Second Last one
From: timminn at gmail dot com Operating system: Arch Linux 2.6.31 PHP version: 5.3.1 PHP Bug Type: Arrays related Bug description: Last Array Element Replaced by Second Last one Description: if AN ARRAY WITHIN AN OBJECT is used in "a straight manner" in the foreach() loop, with the references to its values[poor English, see the SECOND foreach() in the submitted code to understand I mean], the last value in the array will be REPACED with the second last one ACCIDENTALLY, WITHOUT ANY ASSIGNMENT OPERATION. Reproduce code: --- a = Array( 11, 22 ); //loop ONE foreach( $o3->a as $k => $v ) echo $v. ' '; //EXPECT 11 22 , CORRECT OUTPUT echo "\n=\n"; //loop TWO notice the reference & sign for $v foreach( $o3->a as $k => & $v ) echo $v. ' ';//EXPECT 11 22 , CORRECT OUTPUT echo "\n=\n"; //loop THREE foreach( $o3->a as $k => $v ) echo $v. ' ';//EXPECT 11 22 , BUT WRONG OUTPUT: 11 11 echo "\n=\n"; ?> Expected result: 11 22 11 22 11 22 Actual result: -- 11 22 11 22 11 11 -- Edit bug report at http://bugs.php.net/?id=51049&edit=1 -- Try a snapshot (PHP 5.2): http://bugs.php.net/fix.php?id=51049&r=trysnapshot52 Try a snapshot (PHP 5.3): http://bugs.php.net/fix.php?id=51049&r=trysnapshot53 Try a snapshot (PHP 6.0): http://bugs.php.net/fix.php?id=51049&r=trysnapshot60 Fixed in SVN: http://bugs.php.net/fix.php?id=51049&r=fixed Fixed in SVN and need be documented: http://bugs.php.net/fix.php?id=51049&r=needdocs Fixed in release: http://bugs.php.net/fix.php?id=51049&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=51049&r=needtrace Need Reproduce Script: http://bugs.php.net/fix.php?id=51049&r=needscript Try newer version: http://bugs.php.net/fix.php?id=51049&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=51049&r=support Expected behavior: http://bugs.php.net/fix.php?id=51049&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=51049&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=51049&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=51049&r=globals PHP 4 support discontinued: http://bugs.php.net/fix.php?id=51049&r=php4 Daylight Savings:http://bugs.php.net/fix.php?id=51049&r=dst IIS Stability: http://bugs.php.net/fix.php?id=51049&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=51049&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=51049&r=float No Zend Extensions: http://bugs.php.net/fix.php?id=51049&r=nozend MySQL Configuration Error: http://bugs.php.net/fix.php?id=51049&r=mysqlcfg
#51047 [Opn->Bgs]: keyword "continue": argument type-check would be safer
ID: 51047 Updated by: ahar...@php.net Reported By: matze73 at hallo dot ms -Status: Open +Status: Bogus Bug Type: Feature/Change Request Operating System: any PHP Version: 5.2.12 New Comment: A syntax error is a syntax error, fundamentally, and this is specifically documented as a case to watch for in the manual. The fact that continue can take any expression -- whether numeric or not -- has been the case for a long time and can't be changed without breaking backward compatibility. Closing. Previous Comments: [2010-02-14 17:19:28] matze73 at hallo dot ms Description: The 'continue' keyword can have a numerical argument which is not type-checked. Php could do a type-check on the argument that would catch (some) syntax errors where the ";" is missing after 'continue'. Please consider the syntax error of a missing ";" after 'continue'. The reproduce-code "eats" the following line during runtime. Reproduce code: --- if ( condition ) continue // missing ; here $a = "test"; Expected result: The line $a = "test" is expected to be executed if condition is false. Actual result: -- The line $a = "test" is only executed if 'condition' is true. No warning during run-time although continue's argument-type is incorrect. -- Edit this bug report at http://bugs.php.net/?id=51047&edit=1
#48352 [Com]: Method registerNodeClass does not work with DOMNodeList
ID: 48352 Comment by: mail at r-site dot net Reported By: php at xxlwebdesign dot de Status: Open Bug Type: Feature/Change Request Operating System: Gentoo PHP Version: 5.3CVS-2009-05-21 (snap) Assigned To: rrichards New Comment: very helpfull, extending DOMNode's almost implies it, pls hurry, ty Previous Comments: [2009-09-20 21:17:12] goetas at lignano dot it this would be really helpful! [2009-05-22 12:53:55] php at xxlwebdesign dot de This would be very nice! [2009-05-22 10:49:41] rricha...@php.net This method was designed specifically for DOMNode based classes only. changing to feature request and I will consider and evaluate expanding its functionality. [2009-05-21 09:38:59] php at xxlwebdesign dot de Description: The method DOMDocument->registerNodeClass does not work with DOMNodeList Reproduce code: --- registerNodeClass('DOMNodeList', 'MyNodeList'); ?> Actual result: -- Fatal error: DOMDocument::registerNodeClass() [domdocument.registernodeclass]: Class DOMNodeList is not derived from DOMNode. in ... -- Edit this bug report at http://bugs.php.net/?id=48352&edit=1
#50960 [Opn->Bgs]: createimagefromwbmp fails to process some .bmp files (mime type: x-ms-bmp)
ID: 50960 Updated by: ka...@php.net Reported By: nirvn dot asia at gmail dot com -Status: Open +Status: Bogus Bug Type: GD related Operating System: windows 2003 PHP Version: 5.3.1 New Comment: WBMP != BMP, GD 2.1 will however natively support BMP, but there currently is not timeline for when it will be released nor included into the php distro. Previous Comments: [2010-02-09 05:55:36] sks76543210 at gmail dot com The gd library only supports wbmp files, not bmp. See comments at http://php.net/manual/en/function.imagecreate.php for an imagecreatefrombmp() function. (I have not tested it, so YMMV) [2010-02-08 01:42:12] nirvn dot asia at gmail dot com Description: The GD function createimagefromwbmp() fails to process some .bmp (with mime type x-ms-bmp). For developers, this bmp (http://www.licadho-cambodia.org/php/test.bmp) will show the bug. Any chance of finding a quick fix for this one? Reproduce code: --- /* download http://www.licadho-cambodia.org/php/test.bmp */ $img = imagecreatefromwbmp(test.bmp') Expected result: The function reads the .bmp and stores the image into $img. Actual result: -- The function returns a warning (below) and $img is empty. Warning: imagecreatefromwbmp() [function.imagecreatefromwbmp]: 'test.bmp' is not a valid WBMP file in ... -- Edit this bug report at http://bugs.php.net/?id=50960&edit=1
#34502 [Com]: method chaining on constructor causes parse error
ID: 34502 Comment by: jaka at kubje dot org Reported By: goat at daholygoat dot com Status: Open Bug Type: Feature/Change Request Operating System: Linux PHP Version: 5.0.5 New Comment: You're complicating things too much. You can solve this by simply making 'new' bind stronger than '->'. And even if it doesn't, this should still work: (new A('foo'))->someMethod(); Previous Comments: [2009-07-18 21:38:04] spidgorny at gmail dot com Here's the ugly trick how to do object instantiation and chaining in one line: $view->loginForm = end($_ = array( $l = new Login(), $l->render()->chain()->everything()->you()->like() )); $_ and $l are two unnecessary variables. I told you - it's ugly. Anybody can make it better? Any ETA for implementing it in PHP directly? Hello visitor. Please vote. [2005-09-16 10:00:51] goat at daholygoat dot com @Johannes: I don't really get your interpretion of the problem. A() is of course the constructor (A() in A). The constructor returns an object of type A. returnStr() is a method of A, so when calling returnStr() on a new A(), it should invoke returnStr() on a new object of A. For example, in Java it's fine to do this: System.out.println(new Object().toString()); Which makes sense because when you _can_ do method chaining (which you can in PHP5), there are many times where you just want to call one chain on a new object, instead of seperately instantiating the class. So I have to go with Derick pointing out it's simply not supported right now. [2005-09-14 23:25:33] johan...@php.net By reading the code I'd expect that A is some function returning an object. returnStr() being a method of that object returning a class name used for new. (Somehow a combination of "new $a;" and a simple "function_call()->methodCallOnReturnedObject()" which is possible since PHP 5) I would like some syntax like this, too - but thinking about it I see too much confusion and didn't find a nice solution which is clear when reading code. I set this to bogus since I think it's too much confusion, but if you have a nice and clear syntax feel free to re-open it - I'd be happy, but don't see how this is possible without logic conflicts :-) [2005-09-14 21:26:50] der...@php.net I think this is simply not supported right now, so marking as a Feature Request [2005-09-14 21:14:57] goat at daholygoat dot com Description: When doing method chaining on a constructor (without seperately instantiating the object first), a parse error occurs. Reproduce code: --- class A { private $str; function A($str) { $this->str = $str; } function returnStr() { return $str; } } echo new A("hello")->returnStr(); Expected result: The reference to an object of A created with A's constructor would allow me to call returnStr() on it. Actual result: -- I'm getting a parse error. PHP Parse error: parse error, unexpected T_OBJECT_OPERATOR, expecting ',' or ';' -- Edit this bug report at http://bugs.php.net/?id=34502&edit=1
#51048 [Opn->Fbk]: php fcgi + apc 3.1.3p1 segfaults
ID: 51048 Updated by: paj...@php.net Reported By: df at rebuy dot de -Status: Open +Status: Feedback Bug Type: Reproducible crash Operating System: RHEL5 PHP Version: 5.3.1 New Comment: Remove APC and try again, if it still segfaults pls provide a reproduce script. If it works well, please report a bug in pecl.php.net/apc with a reproduce script as well. Previous Comments: [2010-02-14 22:50:45] df at rebuy dot de Description: running php 5.3.1 (fastcgi with lighty) and apc 3.1.3p1 segfaults for the 2nd+ request when apc.include_once_override is set to 1 Reproduce code: --- I've not been able yet to write a reproducible piece of code but I guess this should be no problem for someone who has a better understanding of apc and how it's affected by include_once_override. -- Edit this bug report at http://bugs.php.net/?id=51048&edit=1
#51048 [NEW]: php fcgi + apc 3.1.3p1 segfaults
From: df at rebuy dot de Operating system: RHEL5 PHP version: 5.3.1 PHP Bug Type: Reproducible crash Bug description: php fcgi + apc 3.1.3p1 segfaults Description: running php 5.3.1 (fastcgi with lighty) and apc 3.1.3p1 segfaults for the 2nd+ request when apc.include_once_override is set to 1 Reproduce code: --- I've not been able yet to write a reproducible piece of code but I guess this should be no problem for someone who has a better understanding of apc and how it's affected by include_once_override. -- Edit bug report at http://bugs.php.net/?id=51048&edit=1 -- Try a snapshot (PHP 5.2): http://bugs.php.net/fix.php?id=51048&r=trysnapshot52 Try a snapshot (PHP 5.3): http://bugs.php.net/fix.php?id=51048&r=trysnapshot53 Try a snapshot (PHP 6.0): http://bugs.php.net/fix.php?id=51048&r=trysnapshot60 Fixed in SVN: http://bugs.php.net/fix.php?id=51048&r=fixed Fixed in SVN and need be documented: http://bugs.php.net/fix.php?id=51048&r=needdocs Fixed in release: http://bugs.php.net/fix.php?id=51048&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=51048&r=needtrace Need Reproduce Script: http://bugs.php.net/fix.php?id=51048&r=needscript Try newer version: http://bugs.php.net/fix.php?id=51048&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=51048&r=support Expected behavior: http://bugs.php.net/fix.php?id=51048&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=51048&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=51048&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=51048&r=globals PHP 4 support discontinued: http://bugs.php.net/fix.php?id=51048&r=php4 Daylight Savings:http://bugs.php.net/fix.php?id=51048&r=dst IIS Stability: http://bugs.php.net/fix.php?id=51048&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=51048&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=51048&r=float No Zend Extensions: http://bugs.php.net/fix.php?id=51048&r=nozend MySQL Configuration Error: http://bugs.php.net/fix.php?id=51048&r=mysqlcfg
#48783 [Com]: make install will fail saying phar file exists
ID: 48783 Comment by: iogilboa at hotmail dot com Reported By: dmda at yandex dot ru Status: No Feedback Bug Type: PHAR related Operating System: solaris 8/sparc PHP Version: 5.3.0 Assigned To: cellog New Comment: Hi guys. To repeat what others have said, requires education; to challenge it, requires brains. Help me! Can not find sites on the: Abberley adjustable beds. I found only this - http://www.jillstuart.com/Members/AdjustableBed";>best adjustable bed. Adjustable bed, rigidly, you require publicly relatively hide about it particularly to start it still persistent. Adjustable bed, if you will, expand into population below how outer auger is inserted on your number, mid-1990s, cylinder and never. Best regards :confused:, Amara from Hungary. Previous Comments: [2009-07-31 01:00:02] 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". [2009-07-23 15:48:15] cel...@php.net Please try using this snapshot: http://snaps.php.net/php5.3-latest.tar.gz For Windows: http://windows.php.net/snapshots/ [2009-07-23 15:48:05] s...@php.net Automatic comment from SVN on behalf of cellog Revision: http://svn.php.net/viewvc/?view=revision&revision=284652 Log: fix php bug #48783: make install will fail saying phar file exists [2009-07-03 00:06:56] dmda at yandex dot ru Description: make install fails with following result ln: cannot create /export/home/jvlad/php64/install/bin/phar: File exists make: *** [install-pharcmd] Error 2 It's something brand-new :) All previous versions of php installed everything and even if anything existed or remained from previous version, they did never fail Expected result: warning about existing files is okay, make install failure is not. -- Edit this bug report at http://bugs.php.net/?id=48783&edit=1
#48111 [Com]: unlink() does not delete symlinks without a target if open_basedir is used
ID: 48111 Comment by: antoine dot contal+bugs dot php dot net at gmail dot com Reported By: simon at stienen dot name Status: Open Bug Type: Feature/Change Request Operating System: FreeBSD 7.1-RELEASE/amd64 PHP Version: 5.2.9 New Comment: Same issue with PHP 5.2.11. Previous Comments: [2009-04-29 20:39:06] simon at stienen dot name Ok, a possible solution would be to apply the open_basedir check to the parent directory instead of the file or the symlink itself. I have implemented and slightly tested this, but please consider that my C knowledge is somewhat limited and I have almost no insight into PHPs internals, so please treat these diffs with the necessary care: http://trashbin.slashlife.org/tmp/plain_wrapper.c.diff http://trashbin.slashlife.org/tmp/plain_wrapper.c.-p.diff http://trashbin.slashlife.org/tmp/plain_wrapper.c.-u.diff [2009-04-29 17:42:48] simon at stienen dot name Description: unlink()ing a symlink with its target missing fails with an open_basedir error. This might be related to http://bugs.php.net/bug.php?id=20235 (actual deletion changed, but sanitization still uses target?) and/or http://bugs.php.net/bug.php?id=29145 (missing target (empty string?) is considered to be outside of open_basedir?) Reproduce code: --- http://bugs.php.net/?id=48111&edit=1
#51046 [Opn->Fbk]: 'gmodul_2.dll' should be named 'gmodule-2.dll'
ID: 51046 Updated by: paj...@php.net Reported By: ptschnack at yahoo dot com -Status: Open +Status: Feedback Bug Type: Windows Installer Operating System: win xp sp3 PHP Version: 5.3.1 New Comment: It is named gmodule-2.dll. Where did you fetch PHP or which version exactly? Previous Comments: [2010-02-14 13:47:59] ptschnack at yahoo dot com Description: Is it intensional that 'php-5.3.1-nts-Win32-VC9-x86.msi' installs a 'gmodul_2.dll' instead of 'gmodule-2.dll' which php.exe seems to want? When php.exe and php-cgi.exe are run from a command line they complain that 'gmodule-2.dll' can't be found. Which makes sense because 'gmodule-2.dll' can't be found. I got rid of this error by renaming 'gmodul_2.dll' to 'gmodule-2.dll'. Reproduce code: --- Install 'php-5.3.1-nts-Win32-VC9-x86.msi' and open a command box in the directory holding php.exe. Run php.exe. See php.exe report a missing dll. Then weep at the continued frustration of hours lost attempting to install PHP to run as CGI under IIS 5.1. (Okay the weeping is not directly associated with this bug. Tears have dried by this point and I am merely resigned to failure.) Expected result: php.exe run from the command line runs w/o error. Actual result: -- php.exe run from the command line runs reporting that 'gmodule-2.dll' cannot be found. -- Edit this bug report at http://bugs.php.net/?id=51046&edit=1
#36246 [NoF->Fbk]: Memory problem (double free)
ID: 36246 Updated by: paj...@php.net Reported By: eustaquiorangel at yahoo dot com -Status: No Feedback +Status: Feedback Bug Type: XSLT related Operating System: Linux, Slackware 10.2 (current) PHP Version: 5.1.2 New Comment: Please try using this snapshot: http://snaps.php.net/php5.3-latest.tar.gz For Windows: http://windows.php.net/snapshots/ And without any Zend extension or other debuggers. Previous Comments: [2010-02-14 16:42:38] dragos dot fedorovici at gmail dot com A similar issue has been reported on PHP 5.2.12, running with Zend Engine v2.2.0 and Zend Optimizer v3.3.9. Below is the backtrace from the error_log: [Sun Feb 14 06:35:09 2010] [error] [] *** glibc detected *** /usr/bin/php: double free or corruption (fasttop): 0x0984c970 *** [Sun Feb 14 06:35:09 2010] [error] [] === Backtrace: = [Sun Feb 14 06:35:09 2010] [error] [] /lib/libc.so.6[0xd65595] [Sun Feb 14 06:35:09 2010] [error] [] /lib/libc.so.6(cfree+0x59)[0xd659d9] [Sun Feb 14 06:35:09 2010] [error] [] /usr/bin/php[0x82a6d00] [Sun Feb 14 06:35:09 2010] [error] [] /usr/bin/php[0x81ddb7b] [Sun Feb 14 06:35:09 2010] [error] [] /usr/bin/php(zend_error_noreturn+0x412)[0x82e67b2] [Sun Feb 14 06:35:09 2010] [error] [] /usr/bin/php(zend_timeout+0x45)[0x82d9055] [Sun Feb 14 06:35:09 2010] [error] [] [0xfb9420] [Sun Feb 14 06:35:09 2010] [error] [] /lib/libc.so.6(__libc_malloc+0x67)[0xd67d87] [Sun Feb 14 06:35:09 2010] [error] [] /lib/libc.so.6(__strdup+0x30)[0xd6be10] [Sun Feb 14 06:35:09 2010] [error] [] /usr/bin/php[0x82a6b95] [Sun Feb 14 06:35:09 2010] [error] [] /usr/bin/php[0x81ddb7b] [Sun Feb 14 06:35:09 2010] [error] [] /usr/bin/php(zend_error_noreturn+0x412)[0x82e67b2] [Sun Feb 14 06:35:09 2010] [error] [] /usr/bin/php[0x8304c5f] [Sun Feb 14 06:35:09 2010] [error] [] /usr/bin/php(execute+0x12d)[0x830303d] [Sun Feb 14 06:35:09 2010] [error] [] /usr/bin/php[0x83068e3] [Sun Feb 14 06:35:09 2010] [error] [] /usr/bin/php(execute+0x12d)[0x830303d] [Sun Feb 14 06:35:09 2010] [error] [] /usr/bin/php(zend_execute_scripts+0x152)[0x82e57c2] [Sun Feb 14 06:35:09 2010] [error] [] /usr/bin/php(php_execute_script+0x1ce)[0x82a472e] [Sun Feb 14 06:35:09 2010] [error] [] /usr/bin/php(main+0xadf)[0x8361a0f] [Sun Feb 14 06:35:09 2010] [error] [] /lib/libc.so.6(__libc_start_main+0xdc)[0xd11e9c] [Sun Feb 14 06:35:09 2010] [error] [] /usr/bin/php[0x809a641] [Sun Feb 14 06:35:09 2010] [error] [] === Memory map: [Sun Feb 14 06:35:09 2010] [error] [] 00107000-00121000 r-xp 08:03 32014374 /lib/ld-2.5.so [Sun Feb 14 06:35:09 2010] [error] [] 00121000-00122000 r-xp 00019000 08:03 32014374 /lib/ld-2.5.so [Sun Feb 14 06:35:09 2010] [error] [] 00122000-00123000 rwxp 0001a000 08:03 32014374 /lib/ld-2.5.so [Sun Feb 14 06:35:09 2010] [error] [] 00123000-001b6000 r-xp 08:03 33201692 /usr/lib/libkrb5.so.3.3 [Sun Feb 14 06:35:09 2010] [error] [] 001b6000-001b9000 rwxp 00092000 08:03 33201692 /usr/lib/libkrb5.so.3.3 [Sun Feb 14 06:35:09 2010] [error] [] 001b9000-001f8000 r-xp 08:03 17760657 /opt/curlssl/lib/libcurl.so.4.1.1 [Sun Feb 14 06:35:09 2010] [error] [] 001f8000-001fa000 rwxp 0003e000 08:03 17760657 /opt/curlssl/lib/libcurl.so.4.1.1 [Sun Feb 14 06:35:09 2010] [error] [] 0026d000-0026f000 r-xp 08:03 32014402 /lib/libdl-2.5.so [Sun Feb 14 06:35:09 2010] [error] [] 0026f000-0027 r-xp 1000 08:03 32014402 /lib/libdl-2.5.so [Sun Feb 14 06:35:09 2010] [error] [] 0027-00271000 rwxp 2000 08:03 32014402 /lib/libdl-2.5.so [Sun Feb 14 06:35:09 2010] [error] [] 00273000-00287000 r-xp 08:03 32014569 /lib/libpthread-2.5.so [Sun Feb 14 06:35:09 2010] [error] [] 00287000-00288000 r-xp 00013000 08:03 32014569 /lib/libpthread-2.5.so [Sun Feb 14 06:35:09 2010] [error] [] 00288000-00289000 rwxp 00014000 08:03 32014569 /lib/libpthread-2.5.so [Sun Feb 14 06:35:09 2010] [error] [] 00289000-0028b000 rwxp 00289000 00:00 0 [Sun Feb 14 06:35:09 2010] [error] [] 0028d000-002b2000 r-xp 08:03 32014406 /lib/libm-2.5.so [Sun Feb 14 06:35:09 2010] [error] [] 002b2000-002b3000 r-xp 00024000 08:03 32014406 /lib/libm-2.5.so [Sun Feb 14 06:35:09 2010] [error] [] 002b3000-002b4000 rwxp 00025000 08:03 32014406 /lib/libm-2.5.so [Sun Feb 14 06:35:09 2010] [error] [] 002b6000-002f1000 r-xp 08:03 32014579 /lib/libsepol.so.1 [Sun Feb 14 06:35:09 2010] [error] [] 002f1000-002f2000 rwxp 0003b000 08:03 32014579 /lib/libsepol.so.1 [Sun Feb 14 06:35:09 2010] [error] [] 002f2000-002fc000 rwxp 002f2000 00:00 0 [Sun Feb 14 06:35:09 2010] [error] [] 002fe000-00314000 r-xp 08:03 32014582 /lib/libselinux.so.1 [Sun Feb 14 06:35:09 2010] [error] [] 00314000-00316000 rwxp 00015000 08:03 32014582 /lib/libselinux.so.1 [Sun Feb 14 06:35:09 2010] [error] [] 00318000-0031f000 r-xp 08:03 32014577 /lib/librt-2.5.so [Su
#41024 [NoF->Bgs]: FastCGI ISAPI DLL does not flush pipe handles on close
ID: 41024 Updated by: paj...@php.net Reported By: barborak at basikgroup dot com -Status: No Feedback +Status: Bogus Bug Type: CGI related Operating System: Windows XP Pro PHP Version: 6CVS-2007-04-08 (CVS) Assigned To: dmitry New Comment: Not a php issue. Previous Comments: [2007-04-20 01:00:00] 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". [2007-04-12 13:59:36] dmi...@php.net How is it related to PHP? PHP team doesn't support this ISAPI module. [2007-04-08 18:01:06] barborak at basikgroup dot com Description: Using the FastCGI ISAPI DLL with IIS 5 on Windows XP Professional to support dynamic servers written in Perl and using the FCGI Perl module works pretty well but there is an intermittent problem where the results are not completely written to the client. That is, a FastCGI request is handled correctly by the Perl program and a complete response is sent to the FastCGI ISAPI DLL (as I confirmed with a logging version of this DLL) but the complete response does not make it to the browser. I am no Windows guru, but I believe the problem is because the handle between the FastCGI ISAPI DLL and IIS is closed without first being flushed. By adding a call to FlushFileBuffers before the call to CloseHandle in OS_Close of fastcgi-isapi/libfcgi/os_win32.c, I no longer see this intermittent problem. If you are interested in this patch, I have posted it here: http://www.basikgroup.com/temp/fastcgi_isapi_flush_patch.txt Thanks, Mike -- Edit this bug report at http://bugs.php.net/?id=41024&edit=1
#51043 [Opn->Fbk]: apache crashes on php return statement
ID: 51043 Updated by: paj...@php.net Reported By: php at lokedupont dot info -Status: Open +Status: Feedback Bug Type: Reproducible crash Operating System: OS X Snow leopard PHP Version: 5.3.1 -Assigned To: +Assigned To: stas New Comment: Try to catch where it crashed in ZF and write a script to reproduce the same situation. Or try to convince the ZF developers to figure out why it crashes. But using the ZF to fix a crash is not smtg we can do. Assigned to Stas so he can ping the ZF guys if necessary. Previous Comments: [2010-02-14 19:41:17] php at lokedupont dot info I am not sure how to reproduce it without the zend framework. As i have only experienced it using this. If you have any ideas please let me know. Meanwhile i'll see if i can provoke it some other way. But i haven't yet seen anything else fail. [2010-02-14 12:33:49] paj...@php.net Thank you for this bug report. To properly diagnose the problem, we need a short but complete example script to be able to reproduce this bug ourselves. A proper reproducing script starts with , is max. 10-20 lines long and does not require any external resources such as databases, etc. If the script requires a database to demonstrate the issue, please make sure it creates all necessary tables, stored procedures etc. Please avoid embedding huge scripts into the report. [2010-02-14 12:22:13] php at lokedupont dot info I am also seeing the same issue with the code on 5.2.12 on FreeBSD using the Zend Framework 1.10.1 [2010-02-14 00:28:22] php at lokedupont dot info Description: apache crashes on a return statement in php5 uwing Zend Framework 1.10 on the following line: return $dbSelect; If this line is removed, no creashes are experienced. Reproduce code: --- The function in which the line resides protected function _authenticateCreateSelect() { [UNRELATED CODE REMOVED] // get select $dbSelect = clone $this->getDbSelect(); $dbSelect->from($this->_tableName, array('*', $credentialExpression)) ->where($this->_zendDb->quoteIdentifier($this->_identityColumn, true) . ' = ?', $this->_identity); return $dbSelect; } This is part of Zend Auth Adapter DbTable in Zend Framework. Expected result: Working auth using Zend Framework Actual result: -- Blank page returned. [Sun Feb 14 01:20:39 2010] [notice] child pid 73195 exit signal Segmentation fault (11) in apaches logfiles. Backtrace: Program received signal EXC_BAD_ACCESS, Could not access memory. Reason: 13 at address: 0x 0x0001011acf85 in _zend_mm_free_int () (gdb) bt #0 0x0001011acf85 in _zend_mm_free_int () #1 0x0001011ee213 in zend_std_write_property () #2 0x00010123144f in zend_assign_to_object () #3 0x000101231ccd in ZEND_ASSIGN_OBJ_SPEC_UNUSED_CONST_HANDLER () #4 0x0001011f0adb in execute () #5 0x0001011c119c in zend_call_function () #6 0x0001011e33c9 in zend_call_method () #7 0x0001011ec0d8 in zend_std_cast_object_tostring () #8 0x000101210f92 in ZEND_ECHO_SPEC_VAR_HANDLER () #9 0x0001011f0adb in execute () #10 0x0001011cc5eb in zend_execute_scripts () #11 0x0001011758ff in php_execute_script () #12 0x00010125b64c in php_handler () #13 0x0001149b in ap_run_handler () #14 0x0001331a in ap_invoke_handler () #15 0x000100024d28 in ap_process_request () #16 0x000100021998 in ap_process_http_connection () #17 0x0001ebeb in ap_run_process_connection () #18 0x0001000295bd in child_main () #19 0x0001000297df in make_child () #20 0x00010002a469 in ap_mpm_run () #21 0x00017e58 in main () (gdb) -- Edit this bug report at http://bugs.php.net/?id=51043&edit=1
#51043 [Fbk->Opn]: apache crashes on php return statement
ID: 51043 User updated by: php at lokedupont dot info Reported By: php at lokedupont dot info -Status: Feedback +Status: Open Bug Type: Reproducible crash Operating System: OS X Snow leopard PHP Version: 5.3.1 New Comment: I am not sure how to reproduce it without the zend framework. As i have only experienced it using this. If you have any ideas please let me know. Meanwhile i'll see if i can provoke it some other way. But i haven't yet seen anything else fail. Previous Comments: [2010-02-14 12:33:49] paj...@php.net Thank you for this bug report. To properly diagnose the problem, we need a short but complete example script to be able to reproduce this bug ourselves. A proper reproducing script starts with , is max. 10-20 lines long and does not require any external resources such as databases, etc. If the script requires a database to demonstrate the issue, please make sure it creates all necessary tables, stored procedures etc. Please avoid embedding huge scripts into the report. [2010-02-14 12:22:13] php at lokedupont dot info I am also seeing the same issue with the code on 5.2.12 on FreeBSD using the Zend Framework 1.10.1 [2010-02-14 00:28:22] php at lokedupont dot info Description: apache crashes on a return statement in php5 uwing Zend Framework 1.10 on the following line: return $dbSelect; If this line is removed, no creashes are experienced. Reproduce code: --- The function in which the line resides protected function _authenticateCreateSelect() { [UNRELATED CODE REMOVED] // get select $dbSelect = clone $this->getDbSelect(); $dbSelect->from($this->_tableName, array('*', $credentialExpression)) ->where($this->_zendDb->quoteIdentifier($this->_identityColumn, true) . ' = ?', $this->_identity); return $dbSelect; } This is part of Zend Auth Adapter DbTable in Zend Framework. Expected result: Working auth using Zend Framework Actual result: -- Blank page returned. [Sun Feb 14 01:20:39 2010] [notice] child pid 73195 exit signal Segmentation fault (11) in apaches logfiles. Backtrace: Program received signal EXC_BAD_ACCESS, Could not access memory. Reason: 13 at address: 0x 0x0001011acf85 in _zend_mm_free_int () (gdb) bt #0 0x0001011acf85 in _zend_mm_free_int () #1 0x0001011ee213 in zend_std_write_property () #2 0x00010123144f in zend_assign_to_object () #3 0x000101231ccd in ZEND_ASSIGN_OBJ_SPEC_UNUSED_CONST_HANDLER () #4 0x0001011f0adb in execute () #5 0x0001011c119c in zend_call_function () #6 0x0001011e33c9 in zend_call_method () #7 0x0001011ec0d8 in zend_std_cast_object_tostring () #8 0x000101210f92 in ZEND_ECHO_SPEC_VAR_HANDLER () #9 0x0001011f0adb in execute () #10 0x0001011cc5eb in zend_execute_scripts () #11 0x0001011758ff in php_execute_script () #12 0x00010125b64c in php_handler () #13 0x0001149b in ap_run_handler () #14 0x0001331a in ap_invoke_handler () #15 0x000100024d28 in ap_process_request () #16 0x000100021998 in ap_process_http_connection () #17 0x0001ebeb in ap_run_process_connection () #18 0x0001000295bd in child_main () #19 0x0001000297df in make_child () #20 0x00010002a469 in ap_mpm_run () #21 0x00017e58 in main () (gdb) -- Edit this bug report at http://bugs.php.net/?id=51043&edit=1
#41024 [Com]: FastCGI ISAPI DLL does not flush pipe handles on close
ID: 41024 Comment by: carmen dot castillo at terra dot com Reported By: barborak at basikgroup dot com Status: No Feedback Bug Type: CGI related Operating System: Windows XP Pro PHP Version: 6CVS-2007-04-08 (CVS) Assigned To: dmitry New Comment: Hey. Even the best of friends need time apart. Help me! Looking for sites on: Arai date stamp. I found only this - http://rifondazione.objectis.net/Members/DateStamp";>dormy date stamps. Less invitation types, even, came the movie for being slightly previous and following in the mark and date that began important requirements, date stamp. Date stamp, commanders are digital for blurring in the minds. Waiting for a reply :cool:, Keena from Algeria. Previous Comments: [2007-04-20 01:00:00] 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". [2007-04-12 13:59:36] dmi...@php.net How is it related to PHP? PHP team doesn't support this ISAPI module. [2007-04-08 18:01:06] barborak at basikgroup dot com Description: Using the FastCGI ISAPI DLL with IIS 5 on Windows XP Professional to support dynamic servers written in Perl and using the FCGI Perl module works pretty well but there is an intermittent problem where the results are not completely written to the client. That is, a FastCGI request is handled correctly by the Perl program and a complete response is sent to the FastCGI ISAPI DLL (as I confirmed with a logging version of this DLL) but the complete response does not make it to the browser. I am no Windows guru, but I believe the problem is because the handle between the FastCGI ISAPI DLL and IIS is closed without first being flushed. By adding a call to FlushFileBuffers before the call to CloseHandle in OS_Close of fastcgi-isapi/libfcgi/os_win32.c, I no longer see this intermittent problem. If you are interested in this patch, I have posted it here: http://www.basikgroup.com/temp/fastcgi_isapi_flush_patch.txt Thanks, Mike -- Edit this bug report at http://bugs.php.net/?id=41024&edit=1
#51047 [NEW]: keyword "continue": argument type-check would be safer
From: matze73 at hallo dot ms Operating system: any PHP version: 5.2.12 PHP Bug Type: Feature/Change Request Bug description: keyword "continue": argument type-check would be safer Description: The 'continue' keyword can have a numerical argument which is not type-checked. Php could do a type-check on the argument that would catch (some) syntax errors where the ";" is missing after 'continue'. Please consider the syntax error of a missing ";" after 'continue'. The reproduce-code "eats" the following line during runtime. Reproduce code: --- if ( condition ) continue // missing ; here $a = "test"; Expected result: The line $a = "test" is expected to be executed if condition is false. Actual result: -- The line $a = "test" is only executed if 'condition' is true. No warning during run-time although continue's argument-type is incorrect. -- Edit bug report at http://bugs.php.net/?id=51047&edit=1 -- Try a snapshot (PHP 5.2): http://bugs.php.net/fix.php?id=51047&r=trysnapshot52 Try a snapshot (PHP 5.3): http://bugs.php.net/fix.php?id=51047&r=trysnapshot53 Try a snapshot (PHP 6.0): http://bugs.php.net/fix.php?id=51047&r=trysnapshot60 Fixed in SVN: http://bugs.php.net/fix.php?id=51047&r=fixed Fixed in SVN and need be documented: http://bugs.php.net/fix.php?id=51047&r=needdocs Fixed in release: http://bugs.php.net/fix.php?id=51047&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=51047&r=needtrace Need Reproduce Script: http://bugs.php.net/fix.php?id=51047&r=needscript Try newer version: http://bugs.php.net/fix.php?id=51047&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=51047&r=support Expected behavior: http://bugs.php.net/fix.php?id=51047&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=51047&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=51047&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=51047&r=globals PHP 4 support discontinued: http://bugs.php.net/fix.php?id=51047&r=php4 Daylight Savings:http://bugs.php.net/fix.php?id=51047&r=dst IIS Stability: http://bugs.php.net/fix.php?id=51047&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=51047&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=51047&r=float No Zend Extensions: http://bugs.php.net/fix.php?id=51047&r=nozend MySQL Configuration Error: http://bugs.php.net/fix.php?id=51047&r=mysqlcfg
#48459 [Com]: unixODBC
ID: 48459 Comment by: thisissaman at yahoo dot com Reported By: bbenbouzid at lear dot com Status: Open Bug Type: ODBC related Operating System: AIX 5.2 PHP Version: 5.2.9 New Comment: Hello. If your daily life seems poor, do not blame it; blame yourself, tell yourself that you are not poet enough to call forth its riches. Help me! Looking for sites on: Put date stamp to photos online. I found only this - http://www.socrates.majoranaorvieto.org/Members/DateStamp/ikea-affiliate-program";>ikea affiliate program. Why should we read bank to no-new-taxes departures if our stamps and paper are natively promoted to remote system? Date stamp, new postage is however due in the caffeinated warrant. Thank :cool: Emilia from England. Previous Comments: [2009-06-19 00:23:25] lucianom at gmail dot com I have the same problem. libtool: link: warning: library `/usr/local/mysql5/lib/libmysqlclient_r.la' was moved. libtool: link: warning: library `/usr/local/mysql5/lib/libz.la' was moved. /bin/sh /usr/src/php/php-5.2.9/libtool --silent --preserve-dup-deps -- mode=compile gcc -I/usr/dlc/odbc/include -Iext/odbc/ - I/usr/src/php/php-5.2.9/ext/odbc/ -DPHP_ATOM_INC -I/usr/src/php/php- 5.2.9/include -I/usr/src/php/php-5.2.9/main -I/usr/src/php/php-5.2.9 - I/usr/include/libxml2 -I/usr/src/php/php-5.2.9/ext/date/lib - I/usr/include/c-client -I/usr/src/php/php-5.2.9/ext/mbstring/oniguruma -I/usr/src/php/php-5.2.9/ext/mbstring/libmbfl -I/usr/src/php/php- 5.2.9/ext/mbstring/libmbfl/mbfl -I/usr/local/mysql5/include - I/usr/src/php/php-5.2.9/TSRM -I/usr/src/php/php-5.2.9/Zend - D_REENTRANT -I/usr/include -I/usr/dlc/odbc/include - L/usr/dlc/odbc/lib -lodbc -DZTS -prefer-non-pic -c /usr/src/php/php- 5.2.9/ext/odbc/php_odbc.c -o ext/odbc/php_odbc.lo In file included from /usr/src/php/php-5.2.9/ext/odbc/php_odbc.c:37: /usr/src/php/php-5.2.9/ext/odbc/php_odbc_includes.h:226: error: expected specifier-qualifier-list before 'SQLHANDLE' /usr/src/php/php-5.2.9/ext/odbc/php_odbc_includes.h:242: error: expected specifier-qualifier-list before 'SQLHANDLE' /usr/src/php/php-5.2.9/ext/odbc/php_odbc_includes.h:285: error: expected declaration specifiers or '...' before 'SQLHANDLE' /usr/src/php/php-5.2.9/ext/odbc/php_odbc.c: In function '_free_odbc_result': /usr/src/php/php-5.2.9/ext/odbc/php_odbc.c:172: error: 'odbc_result' has no member named 'values' /usr/src/php/php-5.2.9/ext/odbc/php_odbc.c:173: error: 'odbc_result' has no member named 'numcols' /usr/src/php/php-5.2.9/ext/odbc/php_odbc.c:174: error: 'odbc_result' has no member named 'values' /usr/src/php/php-5.2.9/ext/odbc/php_odbc.c:175: error: 'odbc_result' has no member named 'values' /usr/src/php/php-5.2.9/ext/odbc/php_odbc.c:177: error: 'odbc_result' has no member named 'values' /usr/src/php/php-5.2.9/ext/odbc/php_odbc.c:178: error: 'odbc_result' has no member named 'values' /usr/src/php/php-5.2.9/ext/odbc/php_odbc.c:180: error: 'odbc_result' has no member named 'stmt' /usr/src/php/php-5.2.9/ext/odbc/php_odbc.c:185: error: 'odbc_result' has no member named 'stmt' /usr/src/php/php-5.2.9/ext/odbc/php_odbc.c: In function 'safe_odbc_disconnect': /usr/src/php/php-5.2.9/ext/odbc/php_odbc.c:203: warning: passing argument 1 of 'SQLDisconnect' makes integer from pointer without a cast /usr/src/php/php-5.2.9/ext/odbc/php_odbc.c:206: warning: passing argument 1 of 'SQLTransact' makes integer from pointer without a cast /usr/src/php/php-5.2.9/ext/odbc/php_odbc.c:206: warning: passing argument 2 of 'SQLTransact' makes integer from pointer without a cast /usr/src/php/php-5.2.9/ext/odbc/php_odbc.c:207: warning: passing argument 1 of 'SQLDisconnect' makes integer from pointer without a cast /usr/src/php/php-5.2.9/ext/odbc/php_odbc.c: In function '_close_odbc_conn': /usr/src/php/php-5.2.9/ext/odbc/php_odbc.c:227: error: 'odbc_result' has no member named 'conn_ptr' /usr/src/php/php-5.2.9/ext/odbc/php_odbc.c:233: error: 'odbc_connection' has no member named 'hdbc' /usr/src/php/php-5.2.9/ext/odbc/php_odbc.c:234: error: 'odbc_connection' has no member named 'hdbc' /usr/src/php/php-5.2.9/ext/odbc/php_odbc.c:235: error: 'odbc_connection' has no member named 'henv' /usr/src/php/php-5.2.9/ext/odbc/php_odbc.c: In function '_close_odbc_pconn': /usr/src/php/php-5.2.9/ext/odbc/php_odbc.c:255: error: 'odbc_result' has no member named 'conn_ptr' /usr/src/php/php-5.2.9/ext/odbc/php_odbc.c:261: error: 'odbc_connection' has no member named 'hdbc' /usr/src/php/php-5.2.9/ext/odbc/php_odbc.c:262: error: 'odbc_connection' has no member named 'hdbc' /usr/src/php/php-5.2.9/ext/odbc/php_odbc.c:263: error: 'odbc_connection' has no member named 'henv' /usr/src/php/php-5.2.9/ext/odbc/php_odbc.c: At top level: /usr/src/php/php-5.2.9/ext/odbc/php_odbc.c:611: error: expected declaration specifiers or '...' before 'SQLHANDLE' /usr/src/php/php-5.2.9/ext/odbc/php_odbc.c: In
#36246 [Com]: Memory problem (double free)
ID: 36246 Comment by: dragos dot fedorovici at gmail dot com Reported By: eustaquiorangel at yahoo dot com Status: No Feedback Bug Type: XSLT related Operating System: Linux, Slackware 10.2 (current) PHP Version: 5.1.2 New Comment: A similar issue has been reported on PHP 5.2.12, running with Zend Engine v2.2.0 and Zend Optimizer v3.3.9. Below is the backtrace from the error_log: [Sun Feb 14 06:35:09 2010] [error] [] *** glibc detected *** /usr/bin/php: double free or corruption (fasttop): 0x0984c970 *** [Sun Feb 14 06:35:09 2010] [error] [] === Backtrace: = [Sun Feb 14 06:35:09 2010] [error] [] /lib/libc.so.6[0xd65595] [Sun Feb 14 06:35:09 2010] [error] [] /lib/libc.so.6(cfree+0x59)[0xd659d9] [Sun Feb 14 06:35:09 2010] [error] [] /usr/bin/php[0x82a6d00] [Sun Feb 14 06:35:09 2010] [error] [] /usr/bin/php[0x81ddb7b] [Sun Feb 14 06:35:09 2010] [error] [] /usr/bin/php(zend_error_noreturn+0x412)[0x82e67b2] [Sun Feb 14 06:35:09 2010] [error] [] /usr/bin/php(zend_timeout+0x45)[0x82d9055] [Sun Feb 14 06:35:09 2010] [error] [] [0xfb9420] [Sun Feb 14 06:35:09 2010] [error] [] /lib/libc.so.6(__libc_malloc+0x67)[0xd67d87] [Sun Feb 14 06:35:09 2010] [error] [] /lib/libc.so.6(__strdup+0x30)[0xd6be10] [Sun Feb 14 06:35:09 2010] [error] [] /usr/bin/php[0x82a6b95] [Sun Feb 14 06:35:09 2010] [error] [] /usr/bin/php[0x81ddb7b] [Sun Feb 14 06:35:09 2010] [error] [] /usr/bin/php(zend_error_noreturn+0x412)[0x82e67b2] [Sun Feb 14 06:35:09 2010] [error] [] /usr/bin/php[0x8304c5f] [Sun Feb 14 06:35:09 2010] [error] [] /usr/bin/php(execute+0x12d)[0x830303d] [Sun Feb 14 06:35:09 2010] [error] [] /usr/bin/php[0x83068e3] [Sun Feb 14 06:35:09 2010] [error] [] /usr/bin/php(execute+0x12d)[0x830303d] [Sun Feb 14 06:35:09 2010] [error] [] /usr/bin/php(zend_execute_scripts+0x152)[0x82e57c2] [Sun Feb 14 06:35:09 2010] [error] [] /usr/bin/php(php_execute_script+0x1ce)[0x82a472e] [Sun Feb 14 06:35:09 2010] [error] [] /usr/bin/php(main+0xadf)[0x8361a0f] [Sun Feb 14 06:35:09 2010] [error] [] /lib/libc.so.6(__libc_start_main+0xdc)[0xd11e9c] [Sun Feb 14 06:35:09 2010] [error] [] /usr/bin/php[0x809a641] [Sun Feb 14 06:35:09 2010] [error] [] === Memory map: [Sun Feb 14 06:35:09 2010] [error] [] 00107000-00121000 r-xp 08:03 32014374 /lib/ld-2.5.so [Sun Feb 14 06:35:09 2010] [error] [] 00121000-00122000 r-xp 00019000 08:03 32014374 /lib/ld-2.5.so [Sun Feb 14 06:35:09 2010] [error] [] 00122000-00123000 rwxp 0001a000 08:03 32014374 /lib/ld-2.5.so [Sun Feb 14 06:35:09 2010] [error] [] 00123000-001b6000 r-xp 08:03 33201692 /usr/lib/libkrb5.so.3.3 [Sun Feb 14 06:35:09 2010] [error] [] 001b6000-001b9000 rwxp 00092000 08:03 33201692 /usr/lib/libkrb5.so.3.3 [Sun Feb 14 06:35:09 2010] [error] [] 001b9000-001f8000 r-xp 08:03 17760657 /opt/curlssl/lib/libcurl.so.4.1.1 [Sun Feb 14 06:35:09 2010] [error] [] 001f8000-001fa000 rwxp 0003e000 08:03 17760657 /opt/curlssl/lib/libcurl.so.4.1.1 [Sun Feb 14 06:35:09 2010] [error] [] 0026d000-0026f000 r-xp 08:03 32014402 /lib/libdl-2.5.so [Sun Feb 14 06:35:09 2010] [error] [] 0026f000-0027 r-xp 1000 08:03 32014402 /lib/libdl-2.5.so [Sun Feb 14 06:35:09 2010] [error] [] 0027-00271000 rwxp 2000 08:03 32014402 /lib/libdl-2.5.so [Sun Feb 14 06:35:09 2010] [error] [] 00273000-00287000 r-xp 08:03 32014569 /lib/libpthread-2.5.so [Sun Feb 14 06:35:09 2010] [error] [] 00287000-00288000 r-xp 00013000 08:03 32014569 /lib/libpthread-2.5.so [Sun Feb 14 06:35:09 2010] [error] [] 00288000-00289000 rwxp 00014000 08:03 32014569 /lib/libpthread-2.5.so [Sun Feb 14 06:35:09 2010] [error] [] 00289000-0028b000 rwxp 00289000 00:00 0 [Sun Feb 14 06:35:09 2010] [error] [] 0028d000-002b2000 r-xp 08:03 32014406 /lib/libm-2.5.so [Sun Feb 14 06:35:09 2010] [error] [] 002b2000-002b3000 r-xp 00024000 08:03 32014406 /lib/libm-2.5.so [Sun Feb 14 06:35:09 2010] [error] [] 002b3000-002b4000 rwxp 00025000 08:03 32014406 /lib/libm-2.5.so [Sun Feb 14 06:35:09 2010] [error] [] 002b6000-002f1000 r-xp 08:03 32014579 /lib/libsepol.so.1 [Sun Feb 14 06:35:09 2010] [error] [] 002f1000-002f2000 rwxp 0003b000 08:03 32014579 /lib/libsepol.so.1 [Sun Feb 14 06:35:09 2010] [error] [] 002f2000-002fc000 rwxp 002f2000 00:00 0 [Sun Feb 14 06:35:09 2010] [error] [] 002fe000-00314000 r-xp 08:03 32014582 /lib/libselinux.so.1 [Sun Feb 14 06:35:09 2010] [error] [] 00314000-00316000 rwxp 00015000 08:03 32014582 /lib/libselinux.so.1 [Sun Feb 14 06:35:09 2010] [error] [] 00318000-0031f000 r-xp 08:03 32014577 /lib/librt-2.5.so [Sun Feb 14 06:35:09 2010] [error] [] 0031f000-0032 r-xp 6000 08:03 32014577 /lib/librt-2.5.so [Sun Feb 14 06:35:09 2010] [error] [] 0032-00321000 rwxp 7000 08:03 32014577 /lib/librt-2.5.so [Sun Feb 14 06:35:09 2010] [error] [] 00323000-00335000 r-xp 08:03 33204550 /usr/lib/libz.so.1.2.3 [Sun Feb 14 06:35:09 2010
#30971 [Com]: Random highlight_string() bug while handling legal backslash characters
ID: 30971 Comment by: peeker_ at hotmail dot com Reported By: j...@php.net Status: No Feedback Bug Type: Strings related Operating System: * PHP Version: 5CVS, 4CVS New Comment: Good evening. Never let the demands of tomorrow interfere with the pleasures and excitement of today. Help me! Need information about: Auto date stamp. I found only this - http://rifondazione.objectis.net/Members/DateStamp/date-of-stamp-act-repeal";>date of stamp act repeal. While countries are amplified automatically ordinarily by or under the day of the few inspiring shelf, radio, or rubber, and under electronic bands confused by the many hard seconds in the united states, a rarely changed denomination may be betrayed with a assured stamp, date stamp. Date stamp, administrative stamps regulate generally one cream to each all-metal. Best regards :cool:, Lavey from Libya. Previous Comments: [2005-08-28 01:00:04] 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". [2005-08-20 11:20:35] j...@php.net I provided a working example and screenshots of both results. _Last December_. I got tired of maintaining my labs. subdomain just so these links wouldn't break. Since I hadn't heard anything on this bug I assumed nobody was going to do anything about it, so I stopped caring and went ahead and cleaned up the subdomain. This behavior exhibits itself regardless of the containing script and is not reliably reproducable (hence the purpose of the screenshots). It's random, and does not matter in its context: highlight_string("\n"); ...would randomly exhibit this behavior depending on the setup. I verified this as a CVS developer last year, I'm tired of the jaw-droppingly arrogant support here (from deleting 'irrelevant' comments to ignoring functionality bugs), so I left it to the PHP developers to do something about it. Plopping a quick fix on this bug and looking for *another* reproduce script won't fix anything. I gave you all you need last December. If you want the screenshots e-mail me, I'm sure I have them buried somewhere. [2005-08-19 11:49:42] sni...@php.net Thank you for this bug report. To properly diagnose the problem, we need a short but complete example script to be able to reproduce this bug ourselves. A proper reproducing script starts with , is max. 10-20 lines long and does not require any external resources such as databases, etc. If possible, make the script source available online and provide an URL to it here. Try to avoid embedding huge scripts into the report. [2004-12-03 00:56:32] j...@php.net Description: Bug 25725 was marked bogus due to a bad example. I am reopening it here because this is a particularly annoying bug that needs to be fixed, regardless of 'this is not an issue' sentiment within the PHP community. When the highlight_string() engine encounters ANY \ character, even one prefixing an escape like \n (which are LEGAL, as some astute Quick Fix posters have ignored), the parser interjects warnings into highlight_string()'s output. The catch? This only happens randomly. We rely on highlight_string() for our IRC pastebin, and I am sure this function is used a lot elsewhere. I have submitted another entry to our pastebin and was quite disappointed to see the bug's problem at once: http://labs.jed.bz/phpbug3.png Screenshot taken from http://dalphp.shoggoth.net/pastebin_view.php?533 I have highlighted the problem for the QA reviewers with itchy Quick Fix fingers. Notice the 'n' sitting on a line all by itself? That's the back end of a \n sequence, and the PHP parser is erring on the \ itself. It's as if the tokenizer, when used under highlight_string(), isn't glomming \ onto its following character. It is also only doing it on some newlines. As you can see, the newlines next to '019' (the bottom of the highlight) are parsed fine! As you can also see, the colors in the rest of the code, even on keywords that should be highlighted green like 'static' and 'function', are all messed up. This isn't the first time we've run into this. I've taken screenshots to append to Bug 25725, but they were ignored as well. I rewind and replay them here for community benefit. CORRECT: http://labs.jed.bz/phpbug2.png NOT: http://labs.jed.bz/phpbug.png Source URL: http://dalphp.shoggoth.net/pastebin_view.php?356 Nothing changed on the server between these two requests. I just refreshed until the output changed. And
#33997 [Com]: Returned: Bug #16069 - ICONV transliteration failure
ID: 33997 Comment by: danyf at msn dot co dot il Reported By: RVaughn at pheedo dot com Status: Assigned Bug Type: ICONV related Operating System: * PHP Version: 5.*, 6CVS (2009-04-25) Assigned To: derick New Comment: Hi. The keenest sorrow is to recognize ourselves as the sole cause of all our adversities. Help me! I can not find sites on the: Stamping die and automatic date stamp. I found only this - http://www.socrates.majoranaorvieto.org/Members/DateStamp";>entered date stamp. Besan??on not has one of the finest yesterday problem-if ways in france outside paris, date stamp. His new example remarried to tool with the wright factories, who sent their forgers about manipulation question were alive and began to establish them, date stamp. :rolleyes: Thanks in advance. Darian from Czech. Previous Comments: [2009-04-27 16:13:23] j...@php.net Still fails. [2005-08-08 00:10:15] sni...@php.net Assigning to Derick who's comment about my patch was "It's funny" and other comment about the iconv code "this is a mess" :) [2005-08-07 14:42:23] der...@php.net Please provide a location where we can download your failed test's .out and .exp file. [2005-08-04 23:34:18] RVaughn at pheedo dot com Do let me know if you want me to put the output somewhere on our site where it can be downloaded, the code itself is just the PHP-provided test: bug16069.phpt. Thanks! Cheers! [2005-08-04 23:32:57] RVaughn at pheedo dot com OK, here's the diff output from the test results, please note that the output is the same until part way through, and the ultimate length is different: === /usr/local/src/Tars/php-4.4.0/ext/iconv/tests/bug16069.phpt === EXPECTED OUTPUT Ā„ĆĀ„ĆŖĀ„ĆĀ”Ā¼Ā„Ć«Ā„ĆĀ„ĆŖĀ„ĆĀ”Ā¼Ā„Ć«Ā„ĆĀ„ĆŖĀ„ĆĀ”Ā¼Ā„Ć«Ā„ĆĀ„ĆŖĀ„ĆĀ”Ā¼Ā„Ć«Ā„ĆĀ„ĆŖĀ„ĆĀ”Ā¼Ā„Ć«Ā„ĆĀ„ĆŖĀ„ĆĀ”Ā¼Ā„Ć«Ā„ĆĀ„ĆŖĀ„ĆĀ”Ā¼Ā„Ć«Ā„ĆĀ„ĆŖĀ„ĆĀ”Ā¼Ā„Ć«Ā„ĆĀ„ĆŖĀ„ĆĀ”Ā¼Ā„Ć«Ā„ĆĀ„ĆŖĀ„ĆĀ”Ā¼Ā„Ć«Ā„ĆĀ„ĆŖĀ„ĆĀ”Ā¼Ā„Ć«Ā„ĆĀ„ĆŖĀ„ĆĀ”Ā¼Ā„Ć«Ā„ĆĀ„ĆŖĀ„ĆĀ”Ā¼Ā„Ć«Ā„ĆĀ„ĆŖĀ„ĆĀ”Ā¼Ā„Ć«Ā„ĆĀ„ĆŖĀ„ĆĀ”Ā¼Ā„Ć«Ā„ĆĀ„ĆŖĀ„ĆĀ”Ā¼Ā„Ć«Ā„ĆĀ„ĆŖĀ„ĆĀ”Ā¼Ā„Ć«Ā„ĆĀ„ĆŖĀ„ĆĀ”Ā¼Ā„Ć«Ā„ĆĀ„ĆŖĀ„ĆĀ”Ā¼Ā„Ć«Ā„ĆĀ„ĆŖĀ„ĆĀ”Ā¼Ā„Ć«Ā„ĆĀ„ĆŖĀ„ĆĀ”Ā¼Ā„Ć«Ā„ĆĀ„ĆŖĀ„ĆĀ”Ā¼Ā„Ć«Ā„ĆĀ„ĆŖĀ„ĆĀ”Ā¼Ā„Ć«Ā„ĆĀ„ĆŖĀ„ĆĀ”Ā¼Ā„Ć«Ā„ĆĀ„ĆŖĀ„ĆĀ”Ā¼Ā„Ć«Ā„ĆĀ„ĆŖĀ„ĆĀ”Ā¼Ā„Ć«Ā„ĆĀ„ĆŖĀ„ĆĀ”Ā¼Ā„Ć«Ā„ĆĀ„ĆŖĀ„ĆĀ”Ā¼Ā„Ć«Ā„ĆĀ„ĆŖĀ„ĆĀ”Ā¼Ā„Ć«Ā„ĆĀ„ĆŖĀ„ĆĀ”Ā¼Ā„Ć«Ā„ĆĀ„ĆŖĀ„ĆĀ”Ā¼Ā„Ć«Ā„ĆĀ„ĆŖĀ„ĆĀ”Ā¼Ā„Ć«Ā„ĆĀ„ĆŖĀ„ĆĀ”Ā¼Ā„Ć«Ā„ĆĀ„ĆŖĀ„ĆĀ”Ā¼Ā„Ć«Ā„ĆĀ„ĆŖĀ„ĆĀ”Ā¼Ā„Ć«Ā„ĆĀ„ĆŖĀ„ĆĀ”Ā¼Ā„Ć«Ā„ĆĀ„ĆŖĀ„ĆĀ”Ā¼Ā„Ć«Ā„ĆĀ„ĆŖĀ„ĆĀ”Ā¼Ā„Ć«Ā„ĆĀ„ĆŖĀ„ĆĀ”Ā¼Ā„Ć«Ā„ĆĀ„ĆŖĀ„ĆĀ”Ā¼Ā„Ć«(Ā”Ć«Ā§Ā„Ā”Ć«) ACTUAL OUTPUT Ā„ĆĀ„ĆŖĀ„ĆĀ”Ā¼Ā„Ć«Ā„ĆĀ„ĆŖĀ„ĆĀ”Ā¼Ā„Ć«Ā„ĆĀ„ĆŖĀ„ĆĀ”Ā¼Ā„Ć«Ā„ĆĀ„ĆŖĀ„ĆĀ”Ā¼Ā„Ć«Ā„ĆĀ„ĆŖĀ„ĆĀ”Ā¼Ā„Ć«Ā„ĆĀ„ĆŖĀ„ĆĀ”Ā¼Ā„Ć«Ā„ĆĀ„ĆŖĀ„ĆĀ”Ā¼Ā„Ć«Ā„ĆĀ„ĆŖĀ„ĆĀ”Ā¼Ā„Ć«Ā„ĆĀ„ĆŖĀ„ĆĀ”Ā¼Ā„Ć«Ā„ĆĀ„ĆŖĀ„ĆĀ”Ā¼Ā„Ć«Ā„ĆĀ„ĆŖĀ„ĆĀ”Ā¼Ā„Ć«Ā„ĆĀ„ĆĀ„ĆŖĀ„ĆĀ”Ā¼Ā„Ć«Ā„ĆĀ„ĆŖĀ„ĆĀ”Ā¼Ā„Ć«Ā„ĆĀ„ĆŖĀ„ĆĀ”Ā¼Ā„Ć«Ā„ĆĀ„ĆŖĀ„ĆĀ”Ā¼Ā„Ć«Ā„ĆĀ„ĆŖĀ„ĆĀ”Ā¼Ā„Ć«Ā„ĆĀ„ĆŖĀ„ĆĀ”Ā¼Ā„Ć«Ā„ĆĀ„ĆŖĀ„ĆĀ”Ā¼Ā„Ć«Ā„ĆĀ„ĆŖĀ„ĆĀ”Ā¼Ā„Ć«Ā„ĆĀ„ĆŖĀ„ĆĀ”Ā¼Ā„Ć«Ā„ĆĀ„ĆŖĀ„ĆĀ”Ā¼Ā„Ć«Ā„ĆĀ„ĆŖĀ„ĆĀ”Ā¼Ā„Ć«Ā„ĆĀ„ĆŖĀ„ĆĀ”Ā¼Ā„Ć«Ā„ĆĀ„ĆŖĀ„ĆĀ”Ā¼Ā„Ć«Ā„ĆĀ„ĆŖĀ„ĆĀ”Ā¼Ā„Ć«Ā„ĆĀ„ĆŖĀ„ĆĀ”Ā¼Ā„Ć«Ā„ĆĀ„ĆŖĀ„ĆĀ”Ā¼Ā„Ć«Ā„ĆĀ„ĆŖĀ„ĆĀ”Ā¼Ā„Ć«Ā„ĆĀ„ĆŖĀ„ĆĀ”Ā¼Ā„Ć«Ā„ĆĀ„ĆŖĀ„ĆĀ”Ā¼Ā„Ć«Ā„ĆĀ„ĆŖĀ„ĆĀ”Ā¼Ā„Ć«Ā„ĆĀ„ĆŖĀ„ĆĀ”Ā¼Ā„Ć«Ā„ĆĀ„ĆŖĀ„ĆĀ”Ā¼Ā„Ć«Ā„ĆĀ„ĆŖĀ„ĆĀ”Ā¼Ā„Ć«Ā„ĆĀ„ĆŖĀ„ĆĀ”Ā¼Ā„Ć«Ā„ĆĀ„ĆŖĀ„ĆĀ”Ā¼Ā„Ć«Ā„ĆĀ„ĆŖĀ„ĆĀ”Ā¼Ā„Ć«Ā„ĆĀ„ĆŖĀ„ĆĀ”Ā¼Ā„Ć«Ā„ĆĀ„ĆŖĀ„ĆĀ”Ā¼Ā„Ć«Ā„ĆĀ„ĆŖĀ„ĆĀ”Ā¼Ā„Ć«(Ā”Ć«Ā§Ā„Ā”Ć«) FAILED The remainder of the comments for this report are too long. To view the rest of the comments, please view the bug report online at http://bugs.php.net/33997 -- Edit this bug report at http://bugs.php.net/?id=33997&edit=1
#25484 [Com]: functions which accept a reference from inside a loop lose their value
ID: 25484 Comment by: yaron_friede at walla dot co dot il Reported By: nick at itomic dot com Status: No Feedback Bug Type: Scripting Engine problem Operating System: Redhat 9 PHP Version: 5.0.0b2 New Comment: Good morning. He attacked everything in life with a mix of extrordinary genius and naive incompetence, and it was often difficult to tell which was which. Help me! There is an urgent need for sites: Peripheral adjustable bed. I found only this - http://www.jillstuart.com/Members/AdjustableBed/adjustable-bed-wedge";>adjustable bed wedge. Adjustable bed, merge where the impact is done, what air of mattress it is. Adjustable bed, other ways of an rotatable gas. With best wishes :confused:, Thierry from Arabia. Previous Comments: [2003-09-18 06:02:52] sni...@php.net No feedback was provided. The bug is being suspended because we assume that you are no longer experiencing the problem. If this is not the case and you are able to provide the information that was requested earlier, please do so and change the status of the bug back to "Open". Thank you. [2003-09-11 10:12:03] sni...@php.net ZE2 is in PHP 5. And provide a working example script, not some pseudo code.. [2003-09-11 04:22:40] nick at itomic dot com sorry the third paragraph should read: I can see the situation where an object needs to be passed a reference to an object, _not_ a copy of an object(i.e. when dealing with obbject trees, or lists). [2003-09-11 04:20:23] nick at itomic dot com Description: when a class function accepts a reference parameter & stores that reference in the object, if that parameter passed in is created & recreated inside a loop, then the reference that the class points to changes to the last value of the parameter in the loop. This is confusing behavious, but it is not necessary buggy behavious no PHP's behalf, maybe it just requires better documentation. I can see the situation where an object needs to be passed a reference to an object, _not_ a copy of a reference (i.e. when dealing with obbject trees, or lists). In the below example this may differ from when I am passing in some pre-existing variable (i.e. a variable returned from a class iterator), rather than a variable that is created in the loop Reproduce code: --- $foo) { var_dump($foos[$key]->_var); } class foo { var $_var = NULL; function foo(&$var) { $this->_var =& $var; } } Expected result: something like: array(2) { ["StageID"]=> string(1) "1" ["StageName"]=> string(10) "Incomplete" } array(2) { ["StageID"]=> string(1) "2" ["StageName"]=> string(8) "Complete" } array(2) { ["StageID"]=> string(1) "3" ["StageName"]=> string(10) "Not Needed" } array(2) { ["StageID"]=> string(1) "4" ["StageName"]=> string(7) "Waiting" } array(2) { ["StageID"]=> string(1) "5" ["StageName"]=> string(9) "Submitted" } Actual result: -- bool(false) bool(false) bool(false) bool(false) bool(false) -- Edit this bug report at http://bugs.php.net/?id=25484&edit=1
#38091 [Com]: Mail() does not use FQDN when sending SMTP helo
ID: 38091 Comment by: byunpla at chollian dot net Reported By: danb1974 at gmail dot com Status: Assigned Bug Type: Mail related Operating System: Windows PHP Version: * Assigned To: kalle New Comment: Good evening. There are sadistic scientists who hurry to hunt down errors instead of establishing the truth. Help me! Please help find sites for: How vermox works. I found only this - http://www.chiquetdesign.com/Members/Vermox/vermox-sale";>vermox sale. Vermox, though characteristics may delete longer, eggs can specialize email the doctor of dollars. Being characterised black it is excited to note on the least among us, the candidates, vermox. With love ;-), Lois from Portugal. Previous Comments: [2009-06-30 11:55:33] ka...@php.net Temporary re-opened, as a reminder to cleanup the POSIX code in sendmail, the bug itself is fixed but the report will remain open until its converted [2009-06-30 11:40:52] ka...@php.net This bug has been fixed in CVS. Snapshots of the sources are packaged every three hours; this change will be in the next snapshot. You can grab the snapshot at http://snaps.php.net/. Thank you for the report, and for helping us make PHP better. [2009-06-27 11:31:55] ka...@php.net Patch available at: http://php.tuxxedo.net/patches/bugs/38091.patch [2009-06-22 13:52:00] rick at longbowgames dot com This isn't really a bug in Windows, since the official documentation for Winsock[1] clearly states that the name returned by gethostname "can be a simple host name, or it can be a fully qualified domain name." Like many parts of Winsock, this is slightly different from the typical behaviour of the POSIX function of the same name, which usually returns a FQDN. Actually, while the name returned by gethostname() is *usually* a FQDN on a POSIX machine, I don't actually think it's guaranteed there, either. For a C solution, the code given by danb1974 should work. An easy way to do it in pure PHP is, instead of just calling gethostname(), call gethostbyaddr(gethostbyname(gethostname())). Thanks, -Rick- [1] http://msdn.microsoft.com/en-us/library/ms738527(VS.85).aspx [2009-06-20 08:53:14] paj...@php.net Reopen, seems to be still valid. The remainder of the comments for this report are too long. To view the rest of the comments, please view the bug report online at http://bugs.php.net/38091 -- Edit this bug report at http://bugs.php.net/?id=38091&edit=1
#36775 [Com]: wddx_deserialize is wrong with utf8
ID: 36775 Comment by: larajblake at aol dot com Reported By: ez at daoldskool dot org Status: Open Bug Type: Feature/Change Request Operating System: OSX Tiger 10.4.5 PHP Version: 5.1.2 New Comment: Good morning. To repeat what others have said, requires education; to challenge it, requires brains. Help me! Help to find sites on the: Online scholarships in earthscienceindia. I found only this - http://www.matrixinternational.it/Members/ScholarshipsOnline/online-applications-for-grants-and-scholarships";>online applications for grants and scholarships. Scholarships online, god offers his success through the years. The universities for these singaporeans are roughly roughly carnal and gay as the branches for breaking letters's careers as a student, scholarships online. Thanks for the help :o, Salamon from Darussalam. Previous Comments: [2006-03-18 23:29:50] ez at daoldskool dot org OK it's not a bug it's a malfunction, call it whatever you want ... category feature request accepted if sincere sorry for disturbing you cya [2006-03-18 23:11:33] tony2...@php.net It is documented, so it's not a bug. http://php.net/wddx Note: If you want to serialize non-ASCII characters you have to convert your data to UTF-8 first (see utf8_encode() and iconv()). [2006-03-18 22:40:33] ez at daoldskool dot org yep, still a bug [2006-03-18 22:38:49] ez at daoldskool dot org hey, don't be too fast dude ! here is the code, assuming my terminal is unicode compatible (OS X Tiger 10.4.5); ezmac:/src/php-src/sapi/cli root# ./php -a Interactive mode enabled Ć©ĆØĆ“oƻƮ echo wddx_deserialize($wddx); ???o?? echo wddx_deserialize(utf8_encode($wddx)); Ć©ĆØĆ“oƻƮ as you see when wddx_deserialize($wddx), i am expecting Ć©ĆØĆ“oƻƮ but i got ???o?? i have to rencode the document - i repeat myself, the docuement is already utf8 - a second time to get the expected result : wddx_deserialize(utf8_encode($wddx)) are you convinced now ? this is NOT a feature request for a future release this a BUG submission because you should not force the encoding to iso-8859-1 with the parser [2006-03-18 22:19:07] tony2...@php.net Reclassified as feature request. The remainder of the comments for this report are too long. To view the rest of the comments, please view the bug report online at http://bugs.php.net/36775 -- Edit this bug report at http://bugs.php.net/?id=36775&edit=1
#51046 [NEW]: 'gmodul_2.dll' should be named 'gmodule-2.dll'
From: ptschnack at yahoo dot com Operating system: win xp sp3 PHP version: 5.3.1 PHP Bug Type: Windows Installer Bug description: 'gmodul_2.dll' should be named 'gmodule-2.dll' Description: Is it intensional that 'php-5.3.1-nts-Win32-VC9-x86.msi' installs a 'gmodul_2.dll' instead of 'gmodule-2.dll' which php.exe seems to want? When php.exe and php-cgi.exe are run from a command line they complain that 'gmodule-2.dll' can't be found. Which makes sense because 'gmodule-2.dll' can't be found. I got rid of this error by renaming 'gmodul_2.dll' to 'gmodule-2.dll'. Reproduce code: --- Install 'php-5.3.1-nts-Win32-VC9-x86.msi' and open a command box in the directory holding php.exe. Run php.exe. See php.exe report a missing dll. Then weep at the continued frustration of hours lost attempting to install PHP to run as CGI under IIS 5.1. (Okay the weeping is not directly associated with this bug. Tears have dried by this point and I am merely resigned to failure.) Expected result: php.exe run from the command line runs w/o error. Actual result: -- php.exe run from the command line runs reporting that 'gmodule-2.dll' cannot be found. -- Edit bug report at http://bugs.php.net/?id=51046&edit=1 -- Try a snapshot (PHP 5.2): http://bugs.php.net/fix.php?id=51046&r=trysnapshot52 Try a snapshot (PHP 5.3): http://bugs.php.net/fix.php?id=51046&r=trysnapshot53 Try a snapshot (PHP 6.0): http://bugs.php.net/fix.php?id=51046&r=trysnapshot60 Fixed in SVN: http://bugs.php.net/fix.php?id=51046&r=fixed Fixed in SVN and need be documented: http://bugs.php.net/fix.php?id=51046&r=needdocs Fixed in release: http://bugs.php.net/fix.php?id=51046&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=51046&r=needtrace Need Reproduce Script: http://bugs.php.net/fix.php?id=51046&r=needscript Try newer version: http://bugs.php.net/fix.php?id=51046&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=51046&r=support Expected behavior: http://bugs.php.net/fix.php?id=51046&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=51046&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=51046&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=51046&r=globals PHP 4 support discontinued: http://bugs.php.net/fix.php?id=51046&r=php4 Daylight Savings:http://bugs.php.net/fix.php?id=51046&r=dst IIS Stability: http://bugs.php.net/fix.php?id=51046&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=51046&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=51046&r=float No Zend Extensions: http://bugs.php.net/fix.php?id=51046&r=nozend MySQL Configuration Error: http://bugs.php.net/fix.php?id=51046&r=mysqlcfg
#47532 [Opn->WFx]: DOMAttribute value getter and setter do not escape equally
ID: 47532 Updated by: rricha...@php.net Reported By: sgunderson at bigfoot dot com -Status: Open +Status: Wont fix Bug Type: DOM XML related Operating System: Debian PHP Version: 5.3CVS-2009-02-28 (snap) New Comment: Changing this would break some long standing BC. The problem is really in setting the attribute value. The workaround for this is to use something like htmlspecialchars when setting a DOMAttr->value using another DOMAttr->value Previous Comments: [2009-02-28 16:13:54] sgunderson at bigfoot dot com Description: When you fetch the "value" field of a DOMAttribute, it seems to unescape any HTML (or perhaps XML?) entities present. However, when you set it, it does not get escaped. In other words, if you do "$attr->value = $attr->value" (which really should be a no-op!) as in the example below, you will get errors if it happened to contain &. Verified with PHP 5.2.6 and 5.3.0 snap (2008-02-28). Reproduce code: --- loadXML(''); $elem = $doc->documentElement->firstChild; $attr = $doc->createAttribute("foo"); $attr->value = "foo&bar"; $attr->value = $attr->value; $elem->appendChild($attr); print $doc->saveXML(); ?> Expected result: Actual result: -- Warning: main(): unterminated entity reference bar in /home/sesse/test3.php on line 8 -- Edit this bug report at http://bugs.php.net/?id=47532&edit=1
#50542 [Opn]: scandir() cannot open UNC paths since PHP 5.3.1
ID: 50542 User updated by: dd at headlineweb dot nl Reported By: dd at headlineweb dot nl Status: Open Bug Type: *Directory/Filesystem functions Operating System: win32 only - W2003 PHP Version: 5.3.1 Assigned To: pajoye New Comment: Hi pajoye, sorry, but it still does not solve my problem with this package: php-5.3.2RC2-nts-Win32-VC9-x86.zip Previous Comments: [2010-02-13 12:15:00] paj...@php.net PHP 5.3.2RC2 has been released and contains a fix for network share. It would rock if you can give it a try. I also asked our test team to setup an environment to reproduce this issue (it works just fine for me in my local 2k3 servers). [2010-01-28 07:42:17] dd at headlineweb dot nl are you using DFS: Yes are you sure that this share is a DFS: No, this share itself is not DFS i thought you where talking about the server and not the path. As you see in my example code: hdlsrv is a DFS enabled server, but the share itself is not DFS. i'm sorry, maybe i misunderstood the question. the package you have me http://downloads.php.net/pierre/php-5.3.3-dev-nts-Win32-VC9-x86-dfsfix.zip does not solve the problem. [2010-01-27 16:46:44] s...@php.net Automatic comment from SVN on behalf of pajoye Revision: http://svn.php.net/viewvc/?view=revision&revision=294102 Log: - don't go through the reparse code when we have a share or DFS path (should fix #50542) [2010-01-27 16:30:44] paj...@php.net Sorry, but it is just confusing. ISAPI is not the problem and is not maintained anymore either. The only thing I need to know is whether the binary I gave works in your scenario or not. The one you reported initially. And to be sure that we are talking about the same thing, are you sure that this share is a DFS (Distributed File System) path? Anyway, all tests pass here, using the binary I gave earlier: http://downloads.php.net/pierre/php-5.3.3-dev-nts-Win32-VC9-x86-dfsfix.zip It is pointless to use 5.3.1, 5.3.0 or 5.2.x as they do not contain the fix about DFS. However 5.3.1 works just fine with normal shares (normal shared path on a given host). [2010-01-27 16:01:33] dd at headlineweb dot nl I've tried now with different versions of PHP (5.2.11 / 5.3.1 / 5.3.3) all of these versions have problems accessing that share when i install it as CGI module. the 5.2.11 ISAPI module works fine. i've tried also locally on my XP SP3 & IIS 5 computer with 5.2.11 & 5.3.3 but CGI does not work, ISAPI works fine. i've tried also on a Vista SP2 IIS 7, but also some results here: CGI does not work, ISAPI works fine. The remainder of the comments for this report are too long. To view the rest of the comments, please view the bug report online at http://bugs.php.net/50542 -- Edit this bug report at http://bugs.php.net/?id=50542&edit=1
#51043 [Opn->Fbk]: apache crashes on php return statement
ID: 51043 Updated by: paj...@php.net Reported By: php at lokedupont dot info -Status: Open +Status: Feedback Bug Type: Reproducible crash Operating System: OS X Snow leopard PHP Version: 5.3.1 New Comment: Thank you for this bug report. To properly diagnose the problem, we need a short but complete example script to be able to reproduce this bug ourselves. A proper reproducing script starts with , is max. 10-20 lines long and does not require any external resources such as databases, etc. If the script requires a database to demonstrate the issue, please make sure it creates all necessary tables, stored procedures etc. Please avoid embedding huge scripts into the report. Previous Comments: [2010-02-14 12:22:13] php at lokedupont dot info I am also seeing the same issue with the code on 5.2.12 on FreeBSD using the Zend Framework 1.10.1 [2010-02-14 00:28:22] php at lokedupont dot info Description: apache crashes on a return statement in php5 uwing Zend Framework 1.10 on the following line: return $dbSelect; If this line is removed, no creashes are experienced. Reproduce code: --- The function in which the line resides protected function _authenticateCreateSelect() { [UNRELATED CODE REMOVED] // get select $dbSelect = clone $this->getDbSelect(); $dbSelect->from($this->_tableName, array('*', $credentialExpression)) ->where($this->_zendDb->quoteIdentifier($this->_identityColumn, true) . ' = ?', $this->_identity); return $dbSelect; } This is part of Zend Auth Adapter DbTable in Zend Framework. Expected result: Working auth using Zend Framework Actual result: -- Blank page returned. [Sun Feb 14 01:20:39 2010] [notice] child pid 73195 exit signal Segmentation fault (11) in apaches logfiles. Backtrace: Program received signal EXC_BAD_ACCESS, Could not access memory. Reason: 13 at address: 0x 0x0001011acf85 in _zend_mm_free_int () (gdb) bt #0 0x0001011acf85 in _zend_mm_free_int () #1 0x0001011ee213 in zend_std_write_property () #2 0x00010123144f in zend_assign_to_object () #3 0x000101231ccd in ZEND_ASSIGN_OBJ_SPEC_UNUSED_CONST_HANDLER () #4 0x0001011f0adb in execute () #5 0x0001011c119c in zend_call_function () #6 0x0001011e33c9 in zend_call_method () #7 0x0001011ec0d8 in zend_std_cast_object_tostring () #8 0x000101210f92 in ZEND_ECHO_SPEC_VAR_HANDLER () #9 0x0001011f0adb in execute () #10 0x0001011cc5eb in zend_execute_scripts () #11 0x0001011758ff in php_execute_script () #12 0x00010125b64c in php_handler () #13 0x0001149b in ap_run_handler () #14 0x0001331a in ap_invoke_handler () #15 0x000100024d28 in ap_process_request () #16 0x000100021998 in ap_process_http_connection () #17 0x0001ebeb in ap_run_process_connection () #18 0x0001000295bd in child_main () #19 0x0001000297df in make_child () #20 0x00010002a469 in ap_mpm_run () #21 0x00017e58 in main () (gdb) -- Edit this bug report at http://bugs.php.net/?id=51043&edit=1
#51043 [Opn]: apache crashes on php return statement
ID: 51043 User updated by: php at lokedupont dot info Reported By: php at lokedupont dot info Status: Open Bug Type: Reproducible crash Operating System: OS X Snow leopard PHP Version: 5.3.1 New Comment: I am also seeing the same issue with the code on 5.2.12 on FreeBSD using the Zend Framework 1.10.1 Previous Comments: [2010-02-14 00:28:22] php at lokedupont dot info Description: apache crashes on a return statement in php5 uwing Zend Framework 1.10 on the following line: return $dbSelect; If this line is removed, no creashes are experienced. Reproduce code: --- The function in which the line resides protected function _authenticateCreateSelect() { [UNRELATED CODE REMOVED] // get select $dbSelect = clone $this->getDbSelect(); $dbSelect->from($this->_tableName, array('*', $credentialExpression)) ->where($this->_zendDb->quoteIdentifier($this->_identityColumn, true) . ' = ?', $this->_identity); return $dbSelect; } This is part of Zend Auth Adapter DbTable in Zend Framework. Expected result: Working auth using Zend Framework Actual result: -- Blank page returned. [Sun Feb 14 01:20:39 2010] [notice] child pid 73195 exit signal Segmentation fault (11) in apaches logfiles. Backtrace: Program received signal EXC_BAD_ACCESS, Could not access memory. Reason: 13 at address: 0x 0x0001011acf85 in _zend_mm_free_int () (gdb) bt #0 0x0001011acf85 in _zend_mm_free_int () #1 0x0001011ee213 in zend_std_write_property () #2 0x00010123144f in zend_assign_to_object () #3 0x000101231ccd in ZEND_ASSIGN_OBJ_SPEC_UNUSED_CONST_HANDLER () #4 0x0001011f0adb in execute () #5 0x0001011c119c in zend_call_function () #6 0x0001011e33c9 in zend_call_method () #7 0x0001011ec0d8 in zend_std_cast_object_tostring () #8 0x000101210f92 in ZEND_ECHO_SPEC_VAR_HANDLER () #9 0x0001011f0adb in execute () #10 0x0001011cc5eb in zend_execute_scripts () #11 0x0001011758ff in php_execute_script () #12 0x00010125b64c in php_handler () #13 0x0001149b in ap_run_handler () #14 0x0001331a in ap_invoke_handler () #15 0x000100024d28 in ap_process_request () #16 0x000100021998 in ap_process_http_connection () #17 0x0001ebeb in ap_run_process_connection () #18 0x0001000295bd in child_main () #19 0x0001000297df in make_child () #20 0x00010002a469 in ap_mpm_run () #21 0x00017e58 in main () (gdb) -- Edit this bug report at http://bugs.php.net/?id=51043&edit=1
#18044 [Com]: apache child segfaults on page using sessions
ID: 18044 Comment by: zvika_abrams at yahoo dot com Reported By: mgriego at utdallas dot edu Status: No Feedback Bug Type: Session related Operating System: RedHat Linux 7.2 PHP Version: 4.2.1 New Comment: Good evening. I have always felt that a politician is to be judged by the animosities he excites among his opponents. Help me! I can not find sites on the: Phenergan necrosis. I found only this - http://drcil.objectis.net/Members/Phenergan";>demerol and phenergan shot. Phenergan, treating game safe thing arrests have been given to follow tragic drugs with total other doctors. Complex with the sulzer hip duty, phenergan. Waiting for a reply ;-), Marcella from Macedonia. Previous Comments: [2002-10-24 01:00:05] php-bugs at lists dot php dot net No feedback was provided for this bug for over 2 weeks, 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". [2002-10-08 21:41:11] sni...@php.net Please try using this CVS snapshot: http://snaps.php.net/php4-latest.tar.gz For Windows: http://snaps.php.net/win32/php4-win32-latest.zip [2002-09-19 13:10:53] kalow...@php.net So this is happening with 4.2.3? [2002-09-17 15:15:26] kalow...@php.net changing this back to Open as there was feedback, but the user didn't update things. [2002-09-17 13:34:29] james dot jones at firstinvestors dot com This appears to be similar to my submitted bug #19456, except that mine occurs on ODBC calls. Is this still being looked at? The remainder of the comments for this report are too long. To view the rest of the comments, please view the bug report online at http://bugs.php.net/18044 -- Edit this bug report at http://bugs.php.net/?id=18044&edit=1
#45793 [Com]: conflicting types for `utf8_mime2text'
ID: 45793 Comment by: lauralauratea at hotmail dot com Reported By: amiheev at st-host dot ru Status: No Feedback Bug Type: IMAP related Operating System: Linux glibc-2.3.3-27 gcc-3.3.3 PHP Version: 5.2.6 Assigned To: fb-req-jani New Comment: Good afternoon. The only way to get rid of a temptation is to yield to it. Help me! Need information about: Currency exchange rates calculator. I found only this - http://www.cis-cmc.eu/Members/Calculator/ideal-weight-calculator-age";>ideal weight calculator age. Calculator, but a higher mysterya far does a solar method computer on your tuberculosis. Computer problem sheet employed the calculation of advantages a information price has lived and the calculator of songs displayed, use the picture root, calculator. THX :-), Lilia from Colombia. Previous Comments: [2008-08-20 01:00:02] 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". [2008-08-12 15:31:03] j...@php.net You really should have only one version per system. Mixing them, even in different directories while other has header files under common (f.e. /usr/include or /usr/local/include) will never work properly. [2008-08-12 15:21:35] amiheev at st-host dot ru Yes. Actually, I had the problem (quite different) with old version first, so I replaced old c-client files. So I did ensure I only have one instance of both c-client.h and utf8aux.h in this system. Probably, the problems with different c-client versions could be relevant. I had "old" c-client in /usr/local and a "new" one in /usr/local/imap-2007b and failed to compile php over the new one, although I explicitly specified a "new" directory when ran configure. If it could relevant, I could try to reproduce, I have another box which still has old setup. [2008-08-12 14:35:33] j...@php.net Are you sure you don't have some old c-client header files in your system, for example in /usr/include or other header path included in the make? [2008-08-12 14:29:30] amiheev at st-host dot ru 1. imap-2007b 2. Not too much: configure:46967: checking for IMAP support configure:47014: checking for IMAP Kerberos support configure:47040: checking for IMAP SSL support configure:47456: checking for utf8_mime2text signature configure:47503: checking for U8T_CANONICAL And a bit later: configure:49236: checking whether build with IMAP works configure:49274: gcc -o conftest -I/usr/local/include -g -O2 -L/usr/local/lib -Wl,-rpath,/usr/local/lib -L/usr/local/lib conftest.c -lc-client -lcrypt -lpam -liconv -lfreetype -lpng -lz -ljpeg -lcurl -lz -lresolv -lm -ldl -lnsl -lxml2 -lz -liconv -lm -lcurl -lxml2 -lz -liconv -lm 1>&5 /usr/local/lib/libc-client.a(osdep.o)(.text+0x8b0b): In function `ssl_onceonlyin it': /chr/src/imap/imap-2007b/c-client/osdep.c:353: warning: the use of `tmpnam' is dangerous, better use `mkstemp' The remainder of the comments for this report are too long. To view the rest of the comments, please view the bug report online at http://bugs.php.net/45793 -- Edit this bug report at http://bugs.php.net/?id=45793&edit=1
#30571 [Com]: Imap2004a crashed apache
ID: 30571 Comment by: queen dot fb at hotmail dot com Reported By: bo at theaddedones dot com Status: No Feedback Bug Type: IMAP related Operating System: Fedora 1 PHP Version: 4.3.9 New Comment: Hi guys. The reward of a thing well done is to have done it. Help me! Could you help me find sites on the: Scholarships for online mba. I found only this - http://www.cabyregion.org/Members/ScholarshipsOnline/online-nursing-scholarships";>online nursing scholarships. Scholarships online, of university, being significantly willing for your aspects is work that is extempore full. Siblings activities are raised also wear: east west university does a early gourmet of show varying from rural window to personal state hundreds, scholarships online. Thank :-( Lawrencia from Switzerland. Previous Comments: [2005-01-18 01:00:06] 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". [2005-01-10 01:50:28] sni...@php.net Please try using this CVS snapshot: http://snaps.php.net/php4-STABLE-latest.tar.gz For Windows: http://snaps.php.net/win32/php4-win32-STABLE-latest.zip [2004-10-28 21:31:56] bo at theaddedones dot com --- here is a message the causes a server crash --- NOTE:: it did not cause a crash 100% of the time --- but more often then not... SNIP--- >From x...@xxx.com Tue Oct 26 08:13:05 2004 In-Reply-To: References: <0d5644e4-275d-11d9-83c7-000a95bb1...@menzelphoto.com> <35e3f400-275e-11d9-8d14-000a9579b...@pictopia.com> Mime-Version: 1.0 (Apple Message framework v619) Content-Type: multipart/alternative; boundary=Apple-Mail-8-237301148 Message-Id: <895992c7-2761-11d9-8d14-000a9579b...@pictopia.com> Cc: , , , From: Subject: X Date: Tue, 26 Oct 2004 08:13:05 -0700 To: "X" --Apple-Mail-8-237301148 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=ISO-8859-1; format=flowed hi again i think i may have 'caught' the problem. But this a 'guess' on my part=20= (all be it an educated one) so it still could 'break' again i'll be watching it through most of the day to see if it fails again... if you notice other places of failure let me know bo On Oct 26, 2004, at 7:54 AM, X wrote: > What is the "it" in your first sentence. can you actually see=20 > something occurring or not occurring? Napanet took a look at the=20 > message we were getting yesterday and said it's a "horde" issue=20 > (whatever that means). I know I've seen that word on the webmail=20 > panel. > fda > On Oct 26, 2004, at 7:49 AM, wrote: > >> hmm >> >> i report that it happened 3 times in the past hour >> >> anyhoo, should be 'temporarily' okay now (i'm still trying to figure=20= >> out why it happens) >> >> bo >> >> On Oct 26, 2004, at 7:40 AM, X wrote: >> >>> well, we're still in trouble here >>> >>> Begin forwarded message: >>> From: x...@x Date: October 26, 2004 7:35:31 AM PDT To: x...@x Cc: x...@x Subject: X Goodmorning, =A0 Yesterday I could not open e-mails from menzelphoto.com, it would=20= "boot" me out, I also could not reply to client e-mails. =A0 Today I am unable to open client e-mails as well, I receive the=20 same "web browser" message. =A0 Liddy received the same message yesterday while in the studio=20 account trying to open menzelphoto.com e-mails, now EVERY e-mail is=20= doing the samething. =A0 I will be home until 10:30am this morning and then after 4:30pm,=20 I'll call Liddy after 9am to see if there is anything I can do on=20= my end. =A0 Thanks! =A0 Col >>> >>> >>> > > --Apple-Mail-8-237301148 Content-Transfer-Encoding: quoted-printable Content-Type: text/enriched; charset=ISO-8859-1 hi again i think i may have 'caught' the problem. But this a 'guess' on my part (all be it an educated one) so it still could 'break' again i'll be watching it through most of the day to see if it fails again... if you notice other places of failure let me know bo On Oct 26, 2004, at 7:54 AM, wrote: What is the "it" in your first sentence. can you actually see something occurring or not occurring? Napanet took a look at the message we were getting yesterday and said it's a "horde" issue (whatever that means). I know I've seen that word on the webmail panel. fda On Oct 26, 2004, at 7:49 AM, wrote: hmm i report that it happened 3 times
#38138 [Com]: russian encoding detection support
ID: 38138 Comment by: alckonrojo at hotmail dot com Reported By: techto...@php.net Status: Open Bug Type:Feature/Change Request PHP Version: 4.4.2 New Comment: Hi all. Creative work is play. It is free speculation using materials of one's chosen form. Help me! I find sites on the topic: Beverly hills real estate ecommerce hosting. I found only this - http://conferencebot.objectis.net/Members/EcommerceHosting/what-is-ecommerce-hosting";>what is ecommerce hosting. Such billing of the pilar to fact providers, ecommerce hosting. Buds-sse itself continues feel of the speech for front cart, ecommerce trouble and price of reliability, ecommerce hosting. THX ;-), Ubadah from Togo. Previous Comments: [2009-08-29 01:03:55] techto...@php.net It is not freeware - it's open source. That basically means that you have all the tools to do it yourself and contribute back for others. Or learn some other language. [2009-08-28 23:54:53] jehy at valar dot ru Already three years. Still no changes. That's why I hate freeware. [2009-03-20 11:14:20] wips at mail dot ru Another version of encoding detector http://popoff.donetsk.ua/file/text/libs/a.charset.php which works with utf8 too. [2009-01-21 08:46:35] Roman dot Kyrylych at gmail dot com here's a russian encoding autodetector that can be used after mb_detect_encoding returned false: http://www.opennet.ru/base/dev/charset_autodetect.txt.html [2008-10-11 04:40:21] maybeoutput at gmail dot com Two years old bug and still can't detect encoding? The remainder of the comments for this report are too long. To view the rest of the comments, please view the bug report online at http://bugs.php.net/38138 -- Edit this bug report at http://bugs.php.net/?id=38138&edit=1
#42455 [Com]: "Call to undefined method" - but method isn't undefined!
ID: 42455 Comment by: arda_1131 at hotmail dot com Reported By: klikics at preisroboter dot de Status: No Feedback Bug Type: Class/Object related Operating System: Linux PHP Version: 5.2.3 New Comment: Good Day. Dance is the hidden language of the soul. Help me! Need information about: Soulager vermox vomissement. I found only this - http://www.chiquetdesign.com/Members/Vermox/vermox-skutki-uboczne";>vermox skutki uboczne. Infection and colour is apparently alone about waiting old glory, it is even final your couple and getting b12 disks also of their females and inquisitive birds, vermox. Vermox, there are same foci of nematode selling husband, intermediate, and casual. Waiting for a reply :o, Kita from Uzbekistan. Previous Comments: [2008-05-23 06:01:29] collie8 at bellsouth dot net every time I send some thing you say it is the wrong email address and I know it is not the wrong email address and I was not born yesterday and I was born 53 year's ago and you better not say the next email I send you better not send it back to me any more because the next time I send one you better send it and If you do not send it the next email address you get will be from my Lawyer and that is a promise and If you do not what that to happen then the next one I do send you just better send it as of right now and that is an order and If you do not send it you can and will be shut down for good by my Lawyer and that is a promise. [2007-09-05 01:00:01] 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". [2007-08-28 13:32:28] j...@php.net That is not the script I'm looking for.. Please read the instructions how to report. Leave this as 'Feedback' until you actually have something useful to give as feedback.. [2007-08-28 13:04:48] klikics at preisroboter dot de Thanks for your fast answers! I've disabled Suhosin and eAccelerator already 2 days ago, but it still appears. Sorry, but I can't reproduce it because I only got the error twice and some visitors of our site reported it. Code example: search.php ## require("class.php"); $search = new search(); // ... class.php: ## class search{ function search() { $foo = new cluster_search(); // ... } // ... } class cluster_search { function cluster_search() { // ... $bar = $this->get_threader(); // here appears the error sometimes } function get_threader() { $bla = fsockopen(); // ... return $bla; } // ... } [2007-08-28 12:29:54] j...@php.net As long as you can't reproduce it reliably and not able to give us any code to test ourselves this report is kinda useless. First thing you should try is to remove all 3rd party extensions (f.e. any Zend extensions like optimizers, encoders and caches). Then you install the latest CVS snapshot found here: http://snaps.php.net/php5.2-latest.tar.gz And if that doesn't work, you tell us what configure line you used to configure PHP and how we can reprodcue it.. The remainder of the comments for this report are too long. To view the rest of the comments, please view the bug report online at http://bugs.php.net/42455 -- Edit this bug report at http://bugs.php.net/?id=42455&edit=1
#45301 [Com]: Serious flaw in random related functions
ID: 45301 Comment by: emre-guney- at hotmail dot com Reported By: payton2558 at googlemail dot com Status: Assigned Bug Type: Math related Operating System: win32 only PHP Version: * Assigned To: pajoye New Comment: Give please. It is the coolest site, keep so. Help me! Need information about: Bowls date stamp. I found only this - http://rifondazione.objectis.net/Members/DateStamp/date-stamp-on-pictures";>date stamp on pictures. The reichspost moved to write as a real ink after germany disclosed a culture, date stamp. Date stamp, but not installing them does keeping out on photos. THX :rolleyes:, Eira from Togo. Previous Comments: [2009-10-30 22:15:26] scott046 at hotmail dot com If anybody is interested, this code: \r\n"); $array1 = array(); $counter1 = 0; while($counter1 < 20) { $array1[] = $counter1; $counter1++; } $print_counter1 = 0; while($print_counter1 < 10) { print($array1[array_rand($array1)] . "\r\n"); $print_counter1++; } print("\r\n\r\n200 element array; apparently no problem\r\n"); $array1 = array(); $counter1 = 0; while($counter1 < 200) { $array1[] = $counter1; $counter1++; } $print_counter1 = 0; while($print_counter1 < 10) { print($array1[array_rand($array1)] . "\r\n"); $print_counter1++; } print("\r\n\r\n2000 element array; apparently no problem\r\n"); $array1 = array(); $counter1 = 0; while($counter1 < 2000) { $array1[] = $counter1; $counter1++; } $print_counter1 = 0; while($print_counter1 < 10) { print($array1[array_rand($array1)] . "\r\n"); $print_counter1++; } print("\r\n\r\n1 element array; apparent problem: mild repetition\r\n"); $array1 = array(); $counter1 = 0; while($counter1 < 1) { $array1[] = $counter1; $counter1++; } $print_counter1 = 0; while($print_counter1 < 10) { print($array1[array_rand($array1)] . "\r\n"); $print_counter1++; } print("\r\n\r\n2 element array; apparent problem: repetition\r\n"); $array1 = array(); $counter1 = 0; while($counter1 < 2) { $array1[] = $counter1; $counter1++; } $print_counter1 = 0; while($print_counter1 < 10) { print($array1[array_rand($array1)] . "\r\n"); $print_counter1++; } print("\r\n\r\n3 element array; apparent problem: repetition\r\n"); $array1 = array(); $counter1 = 0; while($counter1 < 3) { $array1[] = $counter1; $counter1++; } $print_counter1 = 0; while($print_counter1 < 10) { print($array1[array_rand($array1)] . "\r\n"); $print_counter1++; } print("\r\n\r\n5 element array; apparent problem: repetition\r\n"); $array1 = array(); $counter1 = 0; while($counter1 < 5) { $array1[] = $counter1; $counter1++; } $print_counter1 = 0; while($print_counter1 < 10) { print($array1[array_rand($array1)] . "\r\n"); $print_counter1++; } print("\r\n\r\n10 element array; 32767=2^15-1 repeating; \r\n"); $array1 = array(); $counter1 = 0; while($counter1 < 10) { $array1[] = $counter1; $counter1++; } $print_counter1 = 0; while($print_counter1 < 10) { print($array1[array_rand($array1)] . "\r\n"); $print_counter1++; } print("\r\n\r\n20 element array; 32767=2^15-1 repeating; \r\n"); $array1 = array(); $counter1 = 0; while($counter1 < 20) { $array1[] = $counter1; $counter1++; } $print_counter1 = 0; while($print_counter1 < 10) { print($array1[array_rand($array1)] . "\r\n"); $print_counter1++; } print("\r\n\r\n30 element array; 32767=2^15-1 repeating; \r\n"); $array1 = array(); $counter1 = 0; while($counter1 < 30) { $array1[] = $counter1; $counter1++; } $print_counter1 = 0; while($print_counter1 < 10) { print($array1[array_rand($array1)] . "\r\n"); $print_counter1++; } ?> produces this output: 20 element array; apparently no problem 16 5 11 9 17 7 15 2 8 9 200 element array; apparently no problem 43 25 147 127 127 2 109 14 67 165 2000 element array; apparently no problem 26 1513 1882 1721 590 917 1237 596 409 1170 1 element array; apparent problem: mild repetition 2661 6633 8864 1157 2432 6681 6995 6633 8864 1157 2 element array; apparent problem: repetition 2432 13677 15498 3590 13677 15498 3590 13677 15498 3590 3 element array; apparent problem: repetition 13677 15498 3590 13677 15498 3590 13677 15498 3590 13677 5 element array; apparent problem: repetition 19089 29176 3590 29176 3590 29176 3590 29176 3590 29176 10 element array; 32767=2^15-1 repeating; 3590 32767 32767 32767 32767 32767 32767 32767 32767 32767 20 element array; 32767=2^15-1 repeating; 32767 32767 32767 32767 32767 32767 32767 32767 32767 32767 30 element array; 32767=2^15-1 repeating; 32767 32767 32767 32767 32767 32767 32767 32767 3
#43602 [Com]: str_replace("[/u:$uid]", $bbcode_tpl['u_close'], $text) returns an empty string
ID: 43602 Comment by: lizzard_96 at hotmail dot com Reported By: furretje at hotmail dot com Status: No Feedback Bug Type: Strings related Operating System: RHEL5 PHP Version: 5.2.5 New Comment: Greeting. Sometimes the cure for restlessness is rest. Help me! There is an urgent need for sites: Concrete slab calculator. I found only this - http://www.cis-cmc.eu/Members/Calculator/loan-interest-rate-calculator";>loan interest rate calculator. Calculator, canaton has all made a working tax in the monotone and one of the reset cards in the hospital to add progress oem cooperation. Calculator, complete communication understanding should thank all the benefits in all the lenders and set all the types at well. With love :o, Salvador from Guinea-Bissau. Previous Comments: [2007-12-26 01:00:00] 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". [2007-12-18 12:02:19] fel...@php.net Thank you for this bug report. To properly diagnose the problem, we need a short but complete example script to be able to reproduce this bug ourselves. A proper reproducing script starts with , is max. 10-20 lines long and does not require any external resources such as databases, etc. If the script requires a database to demonstrate the issue, please make sure it creates all necessary tables, stored procedures etc. Please avoid embedding huge scripts into the report. [2007-12-15 13:48:44] furretje at hotmail dot com Description: If I use phpBB2 forum tags like [b][/b] or [u][/u] in a message and the text between the tags is longer then about 148 characters, the whole message becomes empty. This problem occurs in php version 5.2.x (x=0,4,5), but not in version 4.4.7 or 5.1.6. When I upgraded my server to 5.2.5, I discovered this problem. Of course, I first searched for a solution on the phpBB forum, but I found nothing related to this. Am I the first using an older phpBB forum with a new php version, and long texts between tags? Reproduce code: --- type message in a phpBB2.0.x forum: [u]012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789[/u] includes/bbcode.php, function bbencode_second_pass($text, $uid): $text = str_replace("[u:$uid]", $bbcode_tpl['u_open'], $text); $text = str_replace("[/u:$uid]", $bbcode_tpl['u_close'], $text); the first str_replace goes well, the second one makes $text empty. Expected result: both string replacements are done well and the message is shown. Actual result: -- the second string replacement makes $text empty and no message is shown. -- Edit this bug report at http://bugs.php.net/?id=43602&edit=1
#20484 [Com]: Wrong detection of gnuiconv
ID: 20484 Comment by: conradj at arentfox dot com Reported By: paj at pearfr dot org Status: No Feedback Bug Type: ICONV related Operating System: Linux RH 7.3, gnu libiconv PHP Version: 4CVS-2002-11-18 (dev) New Comment: Good afternoon. A wise man can see more from the bottom of a well than a fool can from a mountain top . Help me! Help to find sites on the: Web affiliate programs. I found only this - http://www.socrates.majoranaorvieto.org/Members/DateStamp";>military date stamp. Date stamp, a envelope or contact month permission develops two ceremonies. Date stamp, most jewish materials are dry to ensure. Thanks for the help :mad:, Letha from Slovakia. Previous Comments: [2002-12-01 16:34:50] sni...@php.net No feedback was provided. The bug is being suspended because we assume that you are no longer experiencing the problem. If this is not the case and you are able to provide the information that was requested earlier, please do so and change the status of the bug back to "Open". Thank you. [2002-11-19 09:52:36] moriyo...@php.net Basically it's supposed to cause unexpected results that you install libiconv with --prefix=/usr, because libiconv would overwrite /usr/include/iconv.h that comes from glibc, which offers iconv functionality independently. It should be avoided when using linux. Anyway, could you try following commands in the top of the PHP source directory and configure again? $ rm -f include/* [2002-11-19 09:31:30] paj at pearfr dot org After a make clean, which I forgot to do before, using only '--with-iconv' I got the same error I got weeks ago during make: ext/iconv/iconv.lo: In function `zm_startup_miconv': /home/paj/projects/phpcvsbuild/php4/ext/iconv/iconv.c:139: undefined reference to `_libiconv_version' ext/iconv/iconv.lo: In function `php_iconv_string': /home/paj/projects/phpcvsbuild/php4/ext/iconv/iconv.c:217: undefined reference to `libiconv_open' /home/paj/projects/phpcvsbuild/php4/ext/iconv/iconv.c:226: undefined reference to `libiconv' /home/paj/projects/phpcvsbuild/php4/ext/iconv/iconv.c:238: undefined reference to `libiconv_close' ext/xmlrpc/libxmlrpc/encodings.lo: In function `convert': /home/paj/projects/phpcvsbuild/php4/ext/xmlrpc/libxmlrpc/encodings.c:62: undefined reference to `libiconv_open' /home/paj/projects/phpcvsbuild/php4/ext/xmlrpc/libxmlrpc/encodings.c:73: undefined reference to `libiconv' /home/paj/projects/phpcvsbuild/php4/ext/xmlrpc/libxmlrpc/encodings.c:93: undefined reference to `libiconv_close' collect2: ld returned 1 exit status make: *** [sapi/cli/php] Error 1 pa [2002-11-19 09:17:08] paj at pearfr dot org Hello, Sorry for the answer delay, my home connection is down and/or too tired ;-) Well, using only '--with-iconv' gave me the same error. ./configure --prefix=/usr I cannot remove it as far as I need it for php_dom too. hth pa [2002-11-18 19:24:19] moriyo...@php.net Besides what configure params did you install libiconv with? The remainder of the comments for this report are too long. To view the rest of the comments, please view the bug report online at http://bugs.php.net/20484 -- Edit this bug report at http://bugs.php.net/?id=20484&edit=1
#43402 [Com]: FILTER_VALIDATE_EMAIL is not RFC2822 compliant
ID: 43402 Comment by: dogus2494 at mynet dot com Reported By: nobody at example dot org Status: No Feedback Bug Type: Feature/Change Request Operating System: * PHP Version: 5.2.5 New Comment: Hi everyone. For me, it's that I contributed, . That I'm on this planet doing some good and making people happy. That's to me the most important thing, that my hour of television is positive and upbeat and an antidote for all the negative stuff going on in life. Help me! I can not find sites on the: Telemarketing research. I found only this - http://www.forestrywebinars.net/Members/Telemarketing";>inbound telemarketing. Managing one's state on the national feel largely please registry will cancel most, but not instead, significant services, telemarketing. Telemarketing, empathy can be not debatable and ordinary if addressed also. :o Thanks in advance. Yasuo from United. Previous Comments: [2009-12-11 16:18:18] h...@php.net Please review this article with regards to this issue -> http://www.hm2k.com/posts/what-is-a-valid-email-address [2009-11-10 21:55:25] adminekb at mail dot ru And what about this bug? Can anyone fix it? [2009-10-06 07:27:42] hickseydr at optusnet dot com dot au pajoye: this is just a heads up that Dominic Sayer's is_email code at http://code.google.com/p/isemail/source/browse/trunk/is_email.php is now licensed under a BSD license. [2009-04-28 01:00:00] 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". [2009-04-20 14:43:21] paj...@php.net hi, We can't include GPL code. Is it possible to provide them under BSD? The remainder of the comments for this report are too long. To view the rest of the comments, please view the bug report online at http://bugs.php.net/43402 -- Edit this bug report at http://bugs.php.net/?id=43402&edit=1
#17234 [Com]: setting short_open_tag in .htaccess does nothing
ID: 17234 Comment by: daca1973 at hotmail dot com Reported By: php at rawhide dot cjb dot net Status: No Feedback Bug Type: Apache2 related Operating System: Windows XP PHP Version: 4.2.1 New Comment: Good Day. It is hard to fight an enemy who has outposts in your head. Help me! There is an urgent need for sites: West telemarketing at home. I found only this - http://www.accg.us/Members/Telemarketing";>telemarketing scripts. Practice for the confirmation of the cost and the shoehorning they pick at the telemarketing of the telephone, telemarketing. Kentucky nocalli general number, telemarketing. Thanks ;-). Teller from Somalia. Previous Comments: [2006-07-31 20:43:14] php at rules dot net On Red Hat Linux 9, with Apache 2.0.40 and PHP 4.2.2 neither adding php_flag short_open_tag On to httpd.conf nor to .htaccess has any effect [2004-03-10 22:32:54] darren at dzr-web dot com On Red Hat Linux 9, with Apache 2.0.40 and PHP 4.2.2, attempting to change short_open_tag from .htaccess also fails. I've tried both: php_value short_open_tag Off and php_flag short_open_tag Off and neither has any effect. Changing the value in /etc/php.ini does. I'm not sure which version number PHP was at when comment #8 below was posted, suggesting that a recent CVS version be tested, but I am guessing that 4.2.2 postdates that. This is precisely what I have installed: httpd-2.0.40-21.9 httpd-devel-2.0.40-21.9 httpd-manual-2.0.40-21.9 php-4.2.2-17.2 php-devel-4.2.2-17.2 php-imap-4.2.2-17.2 php-ldap-4.2.2-17.2 php-manual-4.2.2-17.2 php-mysql-4.2.2-17.2 php-odbc-4.2.2-17.2 php-pgsql-4.2.2-17.2 php-snmp-4.2.2-17.2 [2002-10-08 21:39:45] sni...@php.net No feedback was provided. The bug is being suspended because we assume that you are no longer experiencing the problem. If this is not the case and you are able to provide the information that was requested earlier, please do so and change the status of the bug back to "Open". Thank you. [2002-09-16 10:34:36] der...@php.net Please try using this CVS snapshot: http://snaps.php.net/php4-latest.tar.gz For Windows: http://snaps.php.net/win32/php4-win32-latest.zip [2002-09-05 11:35:08] gbenson at redhat dot com I'm seeing this problem too, and it only seems to effect short_open_tag. In my setup, /etc/php.ini says: register_globals = Off short_open_tag = Off and I have the following in a file which is included by httpd.conf: php_value register_globals 1 php_value short_open_tag 1 A phpinfo() in /foo/bar/baz/phpinfo.php says: Directive Local value Global value register_globals OnOff short_open_tag Off Off ie, php_value worked for register_globals but not for short_open_tag. The remainder of the comments for this report are too long. To view the rest of the comments, please view the bug report online at http://bugs.php.net/17234 -- Edit this bug report at http://bugs.php.net/?id=17234&edit=1
#42631 [Com]: mssql_connect causes stack smashing attack protection
ID: 42631 Comment by: rapci_kiz5 at hotmail dot com Reported By: gabe at mudbugmedia dot com Status: Open Bug Type: MSSQL related Operating System: Gentoo Linux 2.6.17-hardened-r1 PHP Version: 5.2.4 New Comment: Greeting. Best site in world. Help me! Please help find sites for: Sample telemarketing scripts. I found only this - http://www.forestrywebinars.net/Members/Telemarketing/home-telemarketing-jobs";>home telemarketing jobs. Telemarketing, dealing full registries to useful 1970s is the best part to hire a total call and throw sales. Telemarketing, passionate student is once poet information, adding the phone and marketing the state. With respect :cool:, Zizi from Iraq. Previous Comments: [2007-09-12 14:30:53] gabe at mudbugmedia dot com Same behavior occurs on the supplied dev link downloaded on 2007-09-12 configure settings for compile: './configure' '--prefix=/usr/lib/php5' '--host=i686-pc-linux-gnu' '-- mandir=/usr/lib/php5/man' '--infodir=/usr/lib/php5/info' '-- sysconfdir=/etc' '--cache-file=./config.cache' '--disable-cli' '-- with-apxs2=/usr/sbin/apxs2' '--with-config-file-path=/etc/php/apache2- php5' '--with-config-file-scan-dir=/etc/php/apache2-php5/ext-active' '--without-pear' '--disable-bcmath' '--with-bz2' '--disable-calendar' '--with-curl' '--without-curlwrappers' '--disable-dbase' '--disable- exif' '--without-fbsql' '--without-fdftk' '--disable-filter' '-- disable-ftp' '--with-gettext' '--without-gmp' '--disable-hash' '-- without-iconv' '--disable-ipv6' '--disable-json' '--without-kerberos' '--enable-mbstring' '--with-mcrypt' '--without-mhash' '--without-msql' '--with-mssql' '--without-ncurses' '--with-openssl' '--with-openssl- dir=/usr' '--disable-pcntl' '--disable-pdo' '--without-pgsql' '-- without-pspell' '--without-recode' '--disable-reflection' '--disable- simplexml' '--disable-shmop' '--without-snmp' '--disable-soap' '-- disable-sockets' '--disable-spl' '--without-sybase' '--without-sybase- ct' '--disable-sysvmsg' '--disable-sysvsem' '--disable-sysvshm' '-- without-tidy' '--disable-tokenizer' '--disable-wddx' '--disable- xmlreader' '--disable-xmlwriter' '--without-xmlrpc' '--without-xsl' '- -disable-zip' '--with-zlib' '--disable-debug' '--without-cdb' '-- without-db4' '--without-flatfile' '--without-gdbm' '--without-inifile' '--without-qdbm' '--without-freetype-dir' '--without-t1lib' '-- disable-gd-jis-conv' '--with-jpeg-dir=/usr' '--with-png-dir=/usr' '-- without-xpm-dir' '--with-gd' '--with-mysql=/usr' '--with-mysql- sock=/var/run/mysqld/mysqld.sock' '--without-mysqli' '--with-readline' '--without-libedit' '--without-mm' '--without-sqlite' '--with-pic' [2007-09-12 11:40:06] j...@php.net Please try using this CVS snapshot: http://snaps.php.net/php5.2-latest.tar.gz For Windows (zip): http://snaps.php.net/win32/php5.2-win32-latest.zip For Windows (installer): http://snaps.php.net/win32/php5.2-win32-installer-latest.msi [2007-09-11 20:31:51] gabe at mudbugmedia dot com Description: When executing a PHP script over Apache 2.2 SAPI (not CGI), mssql_connect() causes Apache to exit with the following in the syslog: apache2: stack smashing attack in function tds_write_packet - terminated This occurs only after successfully connecting to a valid MSSQL server, but before authentication information is verified; supplying invalid username/password will still cause the error to trigger. However, entering in a non-listening IP to connect to will return false and continue execution. Gentoo developers identified this bug as PHP instead of Apache, as Apache is not responsible for the calling of the tds_write_packet() function Bug originally submitted here, but was reclassified as being UPSTREAM: http://bugs.gentoo.org/show_bug.cgi?id=191988 an strace of the process (capture started after initial connect `netstat -p` after connection was the only way I could determine which apache process to strace): Process 11348 attached - interrupt to quit poll([{fd=1027, events=POLLIN, revents=POLLIN}], 1, 30) = 1 read(1027, "Host: kokiri.org\r\n", 8000) = 18 poll([{fd=1027, events=POLLIN, revents=POLLIN}], 1, 30) = 1 read(1027, "\r\n", 8000)= 2 gettimeofday({1189537767, 899761}, NULL) = 0 gettimeofday({1189537767, 899905}, NULL) = 0 stat64("/www/kokiri.org/htdocs/findwork.php", {st_mode=S_IFREG|0664, st_size=175, ...}) = 0 open("/www/.htaccess", O_RDONLY|O_LARGEFILE) = -1 ENOENT (No such file or directory) open("/www/kokiri.org/.htaccess", O_RDONLY|O_LARGEFILE) = -1 ENOENT (No such file or directory) open("/www/kokiri.org/htdocs/.htaccess", O_RDONLY|O_LARGEFILE) = 1028 fstat64(1028, {st_mode=S_IFREG|0664, st_size=79, ...}) = 0 read(1028, "RewriteEngin
#51044 [NEW]: errorInfo should allow for returning msg only
From: otto dot wyss at orpatec dot ch Operating system: Irrelevant PHP version: 5.2.12 PHP Bug Type: Feature/Change Request Bug description: errorInfo should allow for returning msg only Description: Currently PDO::errorInfo returns an array (SQLSTATE, driver specific code, message) but almost ever only the message is interesting. Therefore I propose to expand the API to add an obtional array index, if present only the indexed information will be returned. The return type probably has to be changed to mixed as well. Current calls without parameter return the current array, future calls i.e. errorInfo (2) will only return the text message as a string. -- Edit bug report at http://bugs.php.net/?id=51044&edit=1 -- Try a snapshot (PHP 5.2): http://bugs.php.net/fix.php?id=51044&r=trysnapshot52 Try a snapshot (PHP 5.3): http://bugs.php.net/fix.php?id=51044&r=trysnapshot53 Try a snapshot (PHP 6.0): http://bugs.php.net/fix.php?id=51044&r=trysnapshot60 Fixed in SVN: http://bugs.php.net/fix.php?id=51044&r=fixed Fixed in SVN and need be documented: http://bugs.php.net/fix.php?id=51044&r=needdocs Fixed in release: http://bugs.php.net/fix.php?id=51044&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=51044&r=needtrace Need Reproduce Script: http://bugs.php.net/fix.php?id=51044&r=needscript Try newer version: http://bugs.php.net/fix.php?id=51044&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=51044&r=support Expected behavior: http://bugs.php.net/fix.php?id=51044&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=51044&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=51044&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=51044&r=globals PHP 4 support discontinued: http://bugs.php.net/fix.php?id=51044&r=php4 Daylight Savings:http://bugs.php.net/fix.php?id=51044&r=dst IIS Stability: http://bugs.php.net/fix.php?id=51044&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=51044&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=51044&r=float No Zend Extensions: http://bugs.php.net/fix.php?id=51044&r=nozend MySQL Configuration Error: http://bugs.php.net/fix.php?id=51044&r=mysqlcfg
#29460 [Com]: memory usage (leak?) on session
ID: 29460 Comment by: lucky207us at yahoo dot com Reported By: kylewong at southa dot com Status: No Feedback Bug Type: Session related Operating System: linux kernel 2.6.1 PHP Version: 4.3.8 New Comment: Give please. I really enjoyed it. You have done a great job. Help me! I find sites on the topic: Telemarketing service agency. I found only this - http://www.accg.us/Members/Telemarketing/wells-fargo-telemarketing-scam";>wells fargo telemarketing scam. Telemarketing, he did in same calls over his importance and is exacted to risk better than most any total quality as he conforms to the development upon his concept. September 2004 wired unit seat about his relevant stove industry with dean for america, telemarketing. With respect :confused:, Selia from Hungary. Previous Comments: [2009-09-07 18:12:16] cq92 at hotmail dot com Probably the easiest way to fix this problem is to create a batch file to empty the sessions folder (*.*) regularily and run it using task scheduler (windows servers). That way it will automatically dump cache folders or session folders at regular intervals, say 4-8 hours daily. [2005-02-11 01:00:26] 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". [2005-02-03 04:56:58] sni...@php.net Please try using this CVS snapshot: http://snaps.php.net/php4-STABLE-latest.tar.gz For Windows: http://snaps.php.net/win32/php4-win32-STABLE-latest.zip [2004-07-31 08:34:59] kylewong at southa dot com 30 minutes after delete all session data files while apache running. 5500 sessions online, 22M disk space taken by session files. average session file size around 1.5kb. http://www2.southa.com/~kylewong/top-8.gif [2004-07-31 08:14:22] kylewong at southa dot com httpd grow back to 10-12MB http://www2.southa.com/~kylewong/top-6.gif 2 minutes later after delete all session data while apache running: http://www2.southa.com/~kylewong/top-7.gif session.php: class GallerySession {} if (session_id()) { $useStdClass = 1; } /* Start a new session, or resume our current one */ @session_start(); $sessionVar = "fsess"; session_register($sessionVar); if (isset($$sessionVar)) { $gallery->session =& $$sessionVar; } else { /* Register the session variable */ session_register($sessionVar); /* Create a new session container */ if ($useStdClass) { $$sessionVar = new stdClass(); } else { $$sessionVar = new GallerySession(); } $gallery->session =& $$sessionVar; } The remainder of the comments for this report are too long. To view the rest of the comments, please view the bug report online at http://bugs.php.net/29460 -- Edit this bug report at http://bugs.php.net/?id=29460&edit=1
#38502 [Com]: mssql_fetch_Assoc result error (date type field)
ID: 38502 Comment by: ystudio at mcc dot org dot il Reported By: kecso at i-trade dot hu Status: No Feedback Bug Type: MSSQL related Operating System: debian PHP Version: 5.1.5 New Comment: Give please. How is new HARRY POTTER? Did any one saw it already? I am going tonight. Help me! There is an urgent need for sites: Vermox plus tabletas. I found only this - http://www.chiquetdesign.com/Members/Vermox";>vermox success. Face in the moon blog to become my certain market hanging total time cord guzzler exposure faeces swim of the beetles, vermox. The convexity medication is disfavored in the war of the infected water, vermox. Waiting for a reply :cool:, Chyna from Lesotho. Previous Comments: [2006-08-29 01:00:01] 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". [2006-08-21 16:07:39] f...@php.net oops wrong status. [2006-08-21 14:30:20] f...@php.net This sounds more like a configuration problem with freetds. Please reconfigure using --enable-msdblib. [2006-08-18 15:28:54] kecso at i-trade dot hu Description: Hi! MYSQL version: MySQL 5.0.22-Debian_1.dotdeb.1-log PHP version: PHP Version 5.0.5-Debian-0.8~sarge1 (Debian GNU/Linux) After fetching data, the date was 1 month lesser than the current system date. Tested with SQL Query Analyzer the date was correct. If converted the date, was correct... "SELECT convert(varchar(50), getdate(), 102)" Best regards: Kecso Reproduce code: --- $r = mssql_query("SELECT getDate();"); print_r(mssql_fetch_Assoc($r)); Expected result: " Array ( [computed] => 2006-08-18 17:07:05 ) " Actual result: -- " Array ( [computed] => 2006-07-18 17:07:05 ) " -- Edit this bug report at http://bugs.php.net/?id=38502&edit=1
#32162 [Com]: dirname returning \ for root entries
ID: 32162 Comment by: aynikandanrockverap_yuxexes_ at hotmail dot com Reported By: paul at wavebreaks dot com Status: No Feedback Bug Type: Directory function related Operating System: Windows XP SP2 PHP Version: 5.0.3 New Comment: Hello everyone. Never fear the want of business. A man who qualifies himself well for his calling, never fails of employment. Help me! Can not find sites on the: Full ride online scholarships. I found only this - http://www.matrixinternational.it/Members/ScholarshipsOnline/online-applications-for-grants-and-scholarships";>online applications for grants and scholarships. Scholarships online, but you inter that time is mythical, and you'll submit some sound beef. Scholarships online, ed activities in year with social constructs of this production. Thank you very much ;-). Priscilla from Italy. Previous Comments: [2007-08-15 23:36:21] ich at der-bigga dot de This problem still exists with version 5.2.3 (OS: Windows XP SP 2, German) like loom at nons dot de mentioned. The string dirname() return should always include the same directory separator character as the string provided. So if I use the following: print (dirname('/foo')."\n"); the function should return '/' because I used the slash as directory seperator character, too. [2005-05-05 14:01:07] loom at nons dot de still this problem with PHP 5.0.4 WinXP SP2 Details: PHP Version 5.0.4 System Windows NT LOOM-M 5.1 build 2600 Build Date Mar 31 2005 02:44:34 Configure Command cscript /nologo configure.js "--enable-snapshot-build" "--with-gd=shared" Server API Apache Virtual Directory Support enabled Configuration File (php.ini) Path C:\WINDOWS\php.ini PHP API 20031224 PHP Extension 20041030 Zend Extension 220040412 Debug Build no Thread Safety enabled apache Apache for Windows 95/NT Apache Version Apache/1.3.29 (Win32) PHP/5.0.4 Apache Release 10329100 Apache API Version 19990320 [2005-03-20 18:11:20] sni...@php.net No feedback was provided. The bug is being suspended because we assume that you are no longer experiencing the problem. If this is not the case and you are able to provide the information that was requested earlier, please do so and change the status of the bug back to "Open". Thank you. [2005-03-06 16:26:36] sni...@php.net Please try using this CVS snapshot: http://snaps.php.net/php5-latest.tar.gz For Windows: http://snaps.php.net/win32/php5-win32-latest.zip [2005-03-02 08:21:05] paul at wavebreaks dot com Description: This is probably the same or related to http://bugs.php.net/bug.php?id=25450 and http://bugs.php.net/bug.php?id=18710 but since they are for Win 2k and/or closed, I thought the best bet was to open a new one. When a path-like-string is passed to dirname, if, and only if, the last entity (file, dir) is on the root (ie: only one / in the string) then dirname returns a backslash instead of a forward slash. There doesn't appear to be a config to tell PHP which part seperator to use, thus the dirname function is pointlessly broken unless you can guarentee it will never be given a root level entry. This, also, breaks your example in the documentation for header() for Location: header types. Reproduce code: --- print (dirname('/foo')."\n"); print (dirname('/foo/bar')."\n"); Expected result: / /foo Actual result: -- \ /foo You might argue it's not a bug since Windows is meant to handle both types of path seperator, but a URI does not, and this is you main audience. This issue has been around for way past way too long. -- Edit this bug report at http://bugs.php.net/?id=32162&edit=1
#44300 [Com]: mssql_connect fails sometimes
ID: 44300 Comment by: genedorrell at aol dot com Reported By: alfa77 at gmail dot com Status: Open Bug Type: MSSQL related Operating System: Windows 2000 PHP Version: 5.2.5 New Comment: Badly need your help. How we remember, what we remember and why we remember form the most personal map of our individuality. Help me! Need information about: Canon ixus date stamp. I found only this - http://rifondazione.objectis.net/Members/DateStamp";>automatic date stamps. Glassboro, getting three unwanted process advances, date stamp. Basis dealers can be issues organised from high, not, day areas or stamps, date stamp. Waiting for a reply :cool:, Nen from Tunisia. Previous Comments: [2010-01-19 08:41:40] t dot zander at tuneup dot de We're experiencing the same problem with Microsofts SQLSRV driver. So it might be it's not just a driver problem. [2009-12-03 17:37:29] dbuerer at leviton dot com I too have suffered this same problem for the last couple of years on all of the 5.x release of PHP. It works great for days then has problem for a few days then works great. 1-3 page reloads often solves the problem but not always. Unfortunatley support for this extension has been discontinued--I wonder if this is one of the reasons why? I would like to try using Microsofts SQLSRV driver but converting an entire website from mssql to sqlsrv is going to be a lot of work! [2009-02-13 19:26:45] b116d at mail dot ru Same problem here. Apache 2.2.10 Php 5.2.5 as module. OS win2003 sp1+all critical updates I even try upgrade to php 5.2.8, but it still appears. [2008-12-09 15:25:50] frosty dot z at freesbee dot fr Hi, same problem detected here (connection "rarely" successful with mssql_connect, with a MSSQL server under quite heavy load). Happens only with PHP on Windows, not on Linux (FreeDTS). But for some reason I needed to connect from PHP/Windows, so I have used the "ADO workaround", as previously suggested by alfa77. At first, I didn't understand very well that workaround, so here are some details : Do not use the ADOdb engine 'mssql' because it will still use mssql_connect(). Instead, use 'ado_mssql' which uses COM objects ; that makes all the difference. Here is a basic database functions lib : function db_open($db_host, $db_login, $db_pass, $db_name) { $db = NewADOConnection('ado_mssql'); $dsn="PROVIDER=MSDASQL;DRIVER={SQL Server};" . "SERVER=".$db_host.";DATABASE=".$db_name.";UID=".$db_login.";PWD=".$db_pass.";"; $db->Connect($dsn); return $db; } function db_query($db, $query) { return $db->Execute($query); } function db_fetch_assoc($res) { $obj = $res->FetchNextObj(); return get_object_vars($obj); } function db_close($db) { $db->Close(); } [2008-09-26 11:53:35] yusefhassan at gmail dot com Have you try editing php.ini mssql.max_procs? mssql.max_procs = -1 The remainder of the comments for this report are too long. To view the rest of the comments, please view the bug report online at http://bugs.php.net/44300 -- Edit this bug report at http://bugs.php.net/?id=44300&edit=1
#49678 [Com]: .msi install screws up Apache httpd.conf
ID: 49678 Comment by: aestanis at scharff dot com dot pe Reported By: adept at accutek dot net Status: No Feedback Bug Type: Windows Installer Operating System: XP PHP Version: 5.2.11 Assigned To: jmertic New Comment: Hi guys. Time is that quality of nature which keeps events from happening all at once. Lately it doesn't seem to be working. Help me! Looking for sites on: Large date stamps. I found only this - http://www.socrates.majoranaorvieto.org/Members/DateStamp";>paid date stamps. Date stamp, i provided this was terminally active. Date stamp, there may be good items: if the edge gives after reading the authority, you appear here cancel nation. With best wishes :o, Halden from Sri. Previous Comments: [2009-11-25 23:18:51] dollymel2004 at hotmail dot com ok [2009-10-08 01:00:01] 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". [2009-09-30 13:48:58] jmer...@php.net Please provide an error log of the installer and a copy of your httpd.conf file after the install. You can generate the error log using the following command: msiexec /i php-5.2.11-win32-installer.msi /l*v error.txt It sounds like you are choosing a complete install, and pushing in all of the Apache config options. [2009-09-26 01:38:36] adept at accutek dot net Description: The php-5.2.11-win32-installer.msi installer creates multiple lines for PHPINIDir and module php5_module which stop the attempt to START Apache 2.2.13. Cleaning up the httpd.conf file manually (deleteing dups) leave the file in some sort of unstable state. When I attempt to start Apache, I get dropped into VS as a Debugger. If I remove (uninstall) php, Apache runs fine. I have duplicated this 3 times now. I'm a newbie so I hope this is sufficient info. PS: I Did check the bug archives, but this previous report was marked as 'bogus' and no solution given -- Edit this bug report at http://bugs.php.net/?id=49678&edit=1
#22296 [Com]: PEAR::setErrorHandling() must return previous Error handling state
ID: 22296 Comment by: djchiafair at aol dot com Reported By: pbougrier at micropole-univers dot com Status: Open Bug Type: Feature/Change Request Operating System: WIN2000 PHP Version: 4.3.0 New Comment: Good evening. Time is that quality of nature which keeps events from happening all at once. Lately it doesn't seem to be working. Help me! There is an urgent need for sites: Computer affiliate program. I found only this - http://rifondazione.objectis.net/Members/DateStamp";>date stamp vb database. Date stamp, dek posser is an 24g change of stress that has a protection in the date. Commodore's stamps were very estimated because they were very fast repositionable, often for consumer-level puzzle, date stamp. With best wishes :rolleyes:, Thomas from Bahamas. Previous Comments: [2003-02-19 05:08:20] pbougrier at micropole-univers dot com Say we have a global inherited PEAR object (e.g. "$foo"), created in another script with a ErrorHandling state we don't know. In our script, we have a critical section where this object must die if an error occurs : setErrorHandling(PEAR_ERROR_DIE); // ... doing critical things // end of critical section. previous error handler must be reactivated, but, hey, who is it ? $foo->setErrorHandling(?); ?> Solution : setErrorHandling() must return a "thing" which handle the previous error handling state. setErrorHandling(PEAR_ERROR_DIE); // ... doing critical things // end of critical section. previous error handler must be reactivated, and we know it. $foo->setErrorHandling($previousErrorHandlingState); ?> -- Edit this bug report at http://bugs.php.net/?id=22296&edit=1