[ Index ]

PHP Cross Reference of phpBB-3.1.12-deutsch

title

Body

[close]

/phpbb/ -> file_downloader.php (summary)

This file is part of the phpBB Forum Software package.

Copyright: (c) phpBB Limited
License: GNU General Public License, version 2 (GPL-2.0)
File Size: 120 lines (3 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 1 class

file_downloader:: (3 methods):
  get()
  get_error_string()
  get_error_number()


Class: file_downloader  - X-Ref

get($host, $directory, $filename, $port = 80, $timeout = 6)   X-Ref
Retrieve contents from remotely stored file

param: string    $host            File host
param: string    $directory        Directory file is in
param: string    $filename        Filename of file to retrieve
param: int        $port            Port to connect to; default: 80
param: int        $timeout        Connection timeout in seconds; default: 6
return: mixed File data as string if file can be read and there is no

get_error_string()   X-Ref
Get error string

return: string Error string

get_error_number()   X-Ref
Get error number

return: int Error number



Generated: Thu Jan 11 00:25:41 2018 Cross-referenced by PHPXref 0.7.1