[Phplib-trackers] [ phplib-Bugs-504005 ] Session.put_headers wrong for PHP3
Brought to you by:
nhruby,
richardarcher
|
From: <no...@so...> - 2002-07-03 20:44:54
|
Bugs item #504005, was opened at 2002-01-15 12:58 You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=403611&aid=504005&group_id=31885 Category: Session Group: None Status: Open Resolution: None >Priority: 2 Submitted By: Fred Yankowski (fredy) Assigned to: Nobody/Anonymous (nobody) Summary: Session.put_headers wrong for PHP3 Initial Comment: The put_headers() method in session.inc calls header() with 'false' as the second argument in some cases, to append to a header rather than replacing it. This feature does not exist in PHP3, causing the header values to be incomplete because only the last value obtains. The attached patch fixes this problem and should work in both PHP3 and PHP4. ---------------------------------------------------------------------- >Comment By: Chris Johnson (chaska) Date: 2002-07-03 15:44 Message: Logged In: YES user_id=279065 Yeah, current PHP documentation does not mention such a change, but I vaguely remember it being made several years ago. Should we bother asking someone senior on the PHP development team, or should we just say PHPLIB only works with PHP 3.x.y + where x.y are beyond this change, most likely 3.0.5. ---------------------------------------------------------------------- Comment By: nathan hruby (nhruby) Date: 2002-07-02 14:45 Message: Logged In: YES user_id=19736 What version of php3 are you using? I don't see mention of when the second flag was added to the headers() function, though I am fairly certian that it was part of php3... ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=403611&aid=504005&group_id=31885 |