JFile::read
Read the contents of a file
Signature
public function read(string
$filename,
[boolean
$incpath = false,
[integer
$amount = 0,
[integer
$chunksize = 8192,
[integer
$offset = 0]]]] )
Parameters
-
$filename
- The full file path
-
$incpath
- Use include path
-
$amount
- Amount of file to read
-
$chunksize
- Size of chunks to read
-
$offset
- Offset of the file
Returns
- mixed
- Returns file contents or boolean False if failed