|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #30831 fwrite
Submitted: 2004-11-18 17:30 UTC Modified: 2004-12-03 01:00 UTC
From: parser at 21cn dot com Assigned:
Status: No Feedback Package: Filesystem function related
PHP Version: 4.3.8 OS: redhat linux
Private report: No CVE-ID: None
Have you experienced this issue?
Rate the importance of this bug to you:

 [2004-11-18 17:30 UTC] parser at 21cn dot com
PHP version:php-4.3.4
BUG:The function fwrite()
use fwrite() will have error,but use error_log() is right

Reproduce code:
$rs=fwrite($handle, $LOG_STRING);

Expected result:
Don't always like this(error):

2004111215	d41d8cd98f00b204e9800998ecf8427e	 	 	 	 	 	 	 	 	 	5	33333	3	/hj/index.jsp	ID=3&ROOTID=5&ColumnID=33333	3	Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.0; MyIE2)

Actual result:
The right result same to :

20041112151233	NULL	1330000AAAA	459	12055	13525	0	/hj/list.jsp	FeeFlag=hj&ID=13525&ROOTID=12055&PT=	12055	13677	0	/hj/list.jsp	FeeFlag=hj&ID=13677&ROOTID=12055&PT=	2	MOT-C510/1.01 UP.Browser/ (GUI) MMP/1.0 UP.Link/


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2004-11-18 21:52 UTC]
Thank you for this bug report. To properly diagnose the problem, we
need a short but complete example script to be able to reproduce
this bug ourselves. 

A proper reproducing script starts with <?php and ends with ?>,
is max. 10-20 lines long and does not require any external 
resources such as databases, etc.

If possible, make the script source available online and provide
an URL to it here. Try avoid embedding huge scripts into the report.

 [2004-12-03 01:00 UTC] php-bugs at lists dot php dot net
No feedback was provided for this bug for over a week, so it is
being suspended automatically. If you are able to provide the
information that was originally requested, please do so and change
the status of the bug back to "Open".
PHP Copyright © 2001-2020 The PHP Group
All rights reserved.
Last updated: Fri Feb 21 00:01:27 2020 UTC