Welcome Guest, Not a member yet? Register   Sign In
serving purchased files
#11

[eluser]brianw1975[/eluser]
From my understanding file_get_contents() is designed for strings and will allocate memory appropriate for a string the size of the file while readfile() is designed for binary files.

http://us.php.net/manual/en/function.readfile.php

http://us.php.net/function.file-get-contents


Messages In This Thread
serving purchased files - by El Forum - 03-21-2009, 10:00 PM
serving purchased files - by El Forum - 03-21-2009, 10:22 PM
serving purchased files - by El Forum - 03-21-2009, 10:29 PM
serving purchased files - by El Forum - 03-21-2009, 10:50 PM
serving purchased files - by El Forum - 03-21-2009, 10:54 PM
serving purchased files - by El Forum - 03-21-2009, 10:54 PM
serving purchased files - by El Forum - 03-21-2009, 10:56 PM
serving purchased files - by El Forum - 03-22-2009, 12:16 AM
serving purchased files - by El Forum - 03-22-2009, 04:18 AM
serving purchased files - by El Forum - 03-22-2009, 06:23 AM
serving purchased files - by El Forum - 03-22-2009, 08:32 PM
serving purchased files - by El Forum - 03-22-2009, 09:49 PM



Theme © iAndrew 2016 - Forum software by © MyBB