[ Index ]

PHP Cross Reference of phpBB-3.2.0-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

return: mixed File data as string if file can be read and there is no
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

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: Sun Feb 19 19:47:08 2017 Cross-referenced by PHPXref 0.7.1