Re: RE: Bug #11749 Updated: Unserialize dies with Apache Module but is FINE with CGI
| From: | Thies C. Arntzen | Date: | Sat, 30 Jun 2001 09:35:06 +0000 |
| Subject: | Re: RE: Bug #11749 Updated: Unserialize dies with Apache Module but is FINE with CGI | ||
| References: | 1 2 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-58503@lists.php.net to get a copy of this message | ||
On Fri, Jun 29, 2001 at 03:31:25AM -0700, Brian Tanner wrote:
> You may consider it fixed if you like.
>
> However... the data file failed to load in Module, and did load in CGI.
>
> Shouldn't they be identical?
yes they should. but there should be _no_ difference in the
fopen() PHP function between the module and the cgi. if there
is a difference than the environment bewteen the two must be
different!
there's not a lot we can do from here -plus- it's obvious
that you _must_ use binary mode for files that contain
serialized data with CR in them!
tc