Re: Crazy Serialize/Header/$_POST PHP Error - Is this a bug?

From: Date: Tue, 24 Aug 2004 02:16:29 +0000
Subject: Re: Crazy Serialize/Header/$_POST PHP Error - Is this a bug?
References: 1 2  Groups: php.general 
Request: Send a blank email to php-general+get-194550@lists.php.net to get a copy of this message
curt, it`s a bug. on my machine [Apache/2.0.48 (Win32) PHP/4.3.8] all works fine - as expected "Curt Zirzow" <php-general@zirzow.dyndns.org> ???????/???????? ? ???????? ?????????: news:20040824020143.GK69292@bagend.shire... > * Thus wrote Peters, Eric: > > I think I've boiled my problem....for some reason I can't header() a serialized $_POST variable > > > > Running PHP 5.0 Final (and also tested with 4.3.3): > > > > -- begin file -- > > > > <?php > > > > function jpcache_debug2($s) > > { > > header("X-CacheDebug-five: $s"); > > Might need to have a quoted string: > > $s = str_replace('"','\\"', $s); // change " -> > \" > header("X-CacheDebug-five: \"$s\""); > > even with that logic, your output does seem strange indeed. > > > > Curt > -- > First, let me assure you that this is not one of those shady pyramid schemes > you've been hearing about. No, sir. Our model is the trapezoid!

« previous php.general (#194550) next »