note 58721 added to function.readfile

From: Date: Mon, 14 Nov 2005 00:44:25 +0000
Subject: note 58721 added to function.readfile
Groups: php.notes 
Request: Send a blank email to php-notes+get-98525@lists.php.net to get a copy of this message
Could someone recommend an alternative to readfile() to me? I moved my site and message board (phpBB2) to a new host and the file attachments modification on my board doesn't work right anymore. For some reason, the host has readfile() disabled. There are 2 instances of readfile() that needs to be changed in the file: readfile($filename); and readfile($tmp_filename); Is there a function I can use that'll do the exact same thing as readfile()? Sorry if this seems silly or whatever, but I have little to no PHP knowledge/skill and I don't know where else to turn. Thanks ---- Manual Page -- http://www.php.net/manual/en/function.readfile.php Edit -- http://master.php.net/manage/user-notes.php?action=edit+58721 Delete: added to the manual -- http://master.php.net/manage/user-notes.php?action=delete+58721&report=yes&reason=added+to+the+manual Delete: bad code -- http://master.php.net/manage/user-notes.php?action=delete+58721&report=yes&reason=bad+code Delete: spam -- http://master.php.net/manage/user-notes.php?action=delete+58721&report=yes&reason=spam Delete: useless -- http://master.php.net/manage/user-notes.php?action=delete+58721&report=yes&reason=useless Delete: non-english -- http://master.php.net/manage/user-notes.php?action=delete+58721&report=yes&reason=non-english Delete: already in docs -- http://master.php.net/manage/user-notes.php?action=delete+58721&report=yes&reason=already+in+docs Delete: other reasons -- http://master.php.net/manage/user-notes.php?action=delete+58721&report=yes Reject -- http://master.php.net/manage/user-notes.php?action=reject+58721&report=yes Search -- http://master.php.net/manage/user-notes.php

« previous php.notes (#98525) next »