AdmintoolsHelperDownload::getFOPEN
Download from a URL using URL fopen() wrappers
Signature
private function getFOPEN(string
$url,
[resource
$fp = null] )
Parameters
-
$url
- The URL to download from
-
$fp
- The file pointer to download to; leave null to return the d/l file as a string
Returns
- bool|string
- False on failure, true on success ($fp not null) or the URL contents (if $fp is null)