#30441 [Opn->Fbk]: file_get_contents and fread reading less then the file contents

From: Date: Thu, 21 Oct 2004 21:22:27 +0000
Subject: #30441 [Opn->Fbk]: file_get_contents and fread reading less then the file contents
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-67920@lists.php.net to get a copy of this message
ID: 30441 Updated by: wez@php.net Reported By: christian at koch dot net -Status: Open +Status: Feedback Bug Type: Filesystem function related Operating System: Windows XP SP2 PHP Version: 5.0.1 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: ------------------------------------------------------------------------ [2004-10-15 08:35:15] christian at koch dot net Description: ------------ <part of the file where problem occurs> <meta name="ef-type" content="template"> <meta name="lower-file" content="<%ATTRIBUTE name="lower-file"%>"> <meta name="keywords" content="<%ATTRIBUTE name="keywords"%>,<%COMPONENT file="/templates/hallo.html"%>"> <meta name="edate" content="<%ATTRIBUTE name="edate"%>"> </part> <result after file_get_contents()> <meta name="ef-type" content="template"> <meta name="lower-file" content="<%ATTRIBUTE name="lower-file%>"> <meta name="keywords" content="<%ATTRIBUTE name="keywords%>,<%COMPONENT file="/templates/hallo.html"%>"> <meta name="edate" content="<%ATTRIBUTE name="edate%>"> </result> I'm missings some (") if there are outer (") then the second inner (") is missing. Christian Reproduce code: --------------- var_dump ( file_get_contents("<anyfilename>") ); Expected result: ---------------- if i read a file i think the file shoud be read completely :-) Actual result: -------------- s.o. ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=30441&edit=1

« previous php.bugs (#67920) next »