Umil.version check
From phpBB Development Wiki
umil::version_check –– Check a remote file to get the latest version number using the Umil Library.
Contents |
Description
string umil::version_check ( string $url, string $path, string $file )
Parameters
| Parameter | Required/Default | Usage |
|---|---|---|
| url | Required | The URL to access (www.phpbb.com) |
| path | Required | The path to the file (/updatecheck) |
| file | Required | The name of the file (umil.txt) |
Return Values
False if there was an error or for any reason it could not get the file requested. An array with each line in the file retrieved in a new key
Example Return
Example of the http://www.phpbb.com/updatecheck/umil.txt file as of 03:37, 11 January 2009 (UTC)
array(
'0' => '1.0.0-RC1',
'1' => 'http://www.phpbb.com/community/viewtopic.php?t=1330215',
)
See Also

