note 37825 added to function.readfile

From: Date: Fri, 28 Nov 2003 16:00:44 +0000
Subject: note 37825 added to function.readfile
Groups: php.notes 
Request: Send a blank email to php-notes+get-61078@lists.php.net to get a copy of this message
I am using this method to allow users to download files without my having to manually copy them to a webspace directory(very useful). The file is a zipfile, but when it arrives and is saved, it is not openable and is reported as corrupted. The resultant file size looks a little large, so it is possible that some additional HTML is getting tacked onto the end, but I don't think so, and when I examine the file there is no sign of additional text stuff on the end! Can anyone suggest why? ---- Manual Page -- http://www.php.net/manual/en/function.readfile.php Edit -- http://master.php.net/manage/user-notes.php?action=edit+37825 Delete -- http://master.php.net/manage/user-notes.php?action=delete+37825&report=yes Reject -- http://master.php.net/manage/user-notes.php?action=reject+37825&report=yes Search -- http://master.php.net/manage/user-notes.php

« previous php.notes (#61078) next »