note 58721 rejected from function.readfile by jome
| From: | jome@php.net | Date: | Mon, 14 Nov 2005 05:48:40 +0000 |
| Subject: | note 58721 rejected from function.readfile by jome | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-98528@lists.php.net to get a copy of this message | ||
Note Submitter: n_g_j at skeletalcircus dot com
----
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