|
Extensions
Topics |
Url GetUrlGet version 2026-09-11 Summary: A PmWiki extension to replace PmWiki's use of "
file_get_contents" with "cURL"Version: 2026-09-11
Prerequisites: PmWiki pmwiki-2.7.5; PHP 8.5; ExtensionHub
Status: Beta
Maintainer: skiwi
Categories: Extensions
Discussion: UrlGet-Talk
Questions answered by this extensionI want to use the built in RecipeCheck or Blocklist recipes.
DescriptionThis extension provides a function The internal PmWiki variable " Install as an extension
Usage
ConfigurationThere is no configuration. InternationalisationsThere are no internationalisations. DetailsChange log / Release notes2026-09-11 update for PHP 8.5.10, remove 2026-04-16: add a test and documentation
2026-04-08: Initial version based on internal production code modifying
diag.php to enable RecipeCheckTestingIt has been possible to carry out only limited testing. The extension is in production use on a Windows and a Linux system. A built in test exercises one successful read and one read failure.
For extension developersTest if the PHP runtime setting // check if allow_url_fopen is enabled
$allowUrlFopen = ini_get('allow_url_fopen') === 1;
if (!$allowUrlFopen) {
$retVal .= RECIPENAME . ': The PHP runtime setting "allow_url_fopen" is not enabled.' . BR;
}
See also
|
tahi Page last modified on 2026 Sept 14 08:28
Edit - History - Recent Changes - WikiHelp - Search - email page as link -> mailto:?Subject="KiwiWiki: Url Get"&Body="From KiwiWiki: Url Get (http://kiwiwiki [period] co [period] nz/Extensions/UrlGet) - A PmWiki extension to replace PmWiki's use of "file_get_contents" with "cURL