ID:               36903
 Updated by:       [EMAIL PROTECTED]
 Reported By:      govi74 at yahoo dot com
-Status:           Open
+Status:           Feedback
 Bug Type:         Zlib Related
 Operating System: Windows
 PHP Version:      5.1.2
 New Comment:

Not enough information was provided for us to be able
to handle this bug. Please re-read the instructions at
http://bugs.php.net/how-to-report.php

If you can provide more information, feel free to add it
to this bug and change the status back to "Open".

Thank you for your interest in PHP.





Previous Comments:
------------------------------------------------------------------------

[2006-03-29 06:25:04] govi74 at yahoo dot com

Description:
------------
Even I have exactly the same issue as discussed in Bug #36526, this
does *not* happen in PHP 5.0.1, but this is a BUG in 5.1.2 

I am using gzcompress the same issue, also the issue is the same for
gzinflate/gzdeflate.

The  script is like this...

$data=base64_encode(gzcompress(serialize($packeddata)));

When send it over _REQUEST.. and trying to reverse it to get the
$packeddata,
I get the data error for gzcompress...

$unpackeddata =
unserialize(gzuncompress(base64_decode($_REQUEST["data"])));

I need a fix for this, as of now, I have moved back to 5.0.1 again...

If urlencode needs to be used, why was it working fine in the earlier
versions???

This is a BUG in the uncompress code.. please have a relook into
this...



------------------------------------------------------------------------


-- 
Edit this bug report at http://bugs.php.net/?id=36903&edit=1

Reply via email to