Question about fpassthru function.
Moderator: General Moderators
Question about fpassthru function.
I'm not really sure reading the php.net docs about this function that if this function "echoes", so to speak, and entire file? Does it, is that what it does?
- feyd
- Neighborhood Spidermoddy
- Posts: 31559
- Joined: Mon Mar 29, 2004 3:24 pm
- Location: Bothell, Washington, USA
It does pretty much the same thing as readfile() except you have to open the file yourself, potentially seeking to the location you wish to start the output from.
Okay. Thanks. But is this the best to output an entire file using a file resource not a file URI?feyd wrote:It does pretty much the same thing as readfile() except you have to open the file yourself, potentially seeking to the location you wish to start the output from.