#20030 [Opn->Bgs]: fopen() behaves differently in apache mod than CGI
| From: | derick@php.net | Date: | Fri, 25 Oct 2002 16:59:14 +0000 |
| Subject: | #20030 [Opn->Bgs]: fopen() behaves differently in apache mod than CGI | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-23326@lists.php.net to get a copy of this message | ||
ID: 20030
Updated by: derick@php.net
Reported By: remi2402@hotmail.com
-Status: Open
+Status: Bogus
Bug Type: Apache2 related
Operating System: Windows XP
PHP Version: 4.2.3
New Comment:
Bogussifying then
Previous Comments:
------------------------------------------------------------------------
[2002-10-25 10:22:10] remi2402@hotmail.com
I put the "b" in the other pointer and it works fine. Thanks.
It's odd that my script worked fine without it with the CGI version.
------------------------------------------------------------------------
[2002-10-24 02:33:54] sniper@php.net
Did you open the write filepointer in binary mode too?
Please add your script here..but if it's very long one,
provide an URL where we can see it.
------------------------------------------------------------------------
[2002-10-23 15:07:55] remi2402@hotmail.com
Nope. Snapshot wouldn't even work at all. (Module and CGI).
I get "Bad browser request" and other "internal server error".
------------------------------------------------------------------------
[2002-10-23 13:27:40] remi2402@hotmail.com
fopen("file.gif", "rb") didn't change anything on my version of PHP.
I'll try it with the CSV snapshot though.
------------------------------------------------------------------------
[2002-10-22 16:49:03] wez@php.net
also make sure you are using fopen($path, "rb");
the b is important under windows.
------------------------------------------------------------------------
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/20030
--
Edit this bug report at http://bugs.php.net/?id=20030&edit=1