Recent Changes - Search:

add Extensions page

hide Extensions

Extensions


hide Topics

Topics

show Changed

Changed

Visitor's book Site map pmwiki-2.5.9

Url Get

Extension Hub -

To do
  • change skiwi
  • remove this comment

UrlGet version 2026-04-08

Summary: A PmWiki extension to replace PmWiki's use of "file_get_contents" with "cURL"
Version: 2026-04-08
Prerequisites: PmWiki pmwiki-2.5.9; PHP 8.3; ExtensionHub
Status: Beta
Maintainer: skiwi
Licence: GPL3 #
Categories: Extensions
Users: (view / edit)
Discussion: UrlGet-Talk

Questions answered by this extension

I want to use the built in RecipeCheck or Blocklist recipes.

Description

This extension provides a function UrlGet which uses cURL to retrieve the contents of the URL.
The global variable $UrlGetFunction is set to UrlGet using the PmWiki function SDV if it is not already set.

Install as an extension

Usage

Configuration

There is no configuration.

Internationalisations

There are no internationalisations.

Details

Change log / Release notes

2026-04-08: Initial version based on internal code modding diag.php to enable RecipeCheck.

Testing

It 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.

  • if the extension does not work on Linux from the archive file uncompress it. This is being investigated.

See also

tahi Page last modified on 2026 Apr 08 11:45

Edit - History - Recent Changes - WikiHelp - Search - email page as link -> mailto:?Subject="KiwiWiki: Url Get"&Body="From KiwiWiki: Url Get (https://kiwiwiki [period] nz/Extensions/UrlGet) - A PmWiki extension to replace PmWiki's use of "file_get_contents" with "cURL