<div dir="ltr"><a href="https://www.pmwiki.org/wiki/Cookbook/UrlGet">UrlGet - Cookbook - PmWiki</a><div><br></div><div><br></div><div><h2 id="gmail-toc-1" style="margin-top:15px;margin-bottom:9px;font-weight:normal;font-size:22px;color:rgb(0,0,0)">Questions answered by this extension<a href="https://www.pmwiki.org/wiki/Cookbook/UrlGet#_toc" class="gmail-back-arrow" title="Contents" style="text-decoration-line:none;font-size:1rem;vertical-align:top"></a></h2><p style="margin-top:0px;margin-bottom:0px;color:rgb(0,0,0);font-size:15px">I want to use the built in <a class="gmail-wikilink" href="https://www.pmwiki.org/wiki/Cookbook/RecipeCheck">RecipeCheck</a> or <a class="gmail-wikilink" href="https://www.pmwiki.org/wiki/PmWiki/Blocklist">Blocklist</a> recipes.</p><ul style="margin:0px;color:rgb(0,0,0);font-size:15px"><li>how do I do this if <a class="gmail-urllink" href="https://www.php.net/manual/en/filesystem.configuration.php#ini.allow-url-fopen" rel="nofollow">"<code style="font-size:0.93333em">allow_url_fopen</code>"</a> is disabled by my webhost?</li><li>how do I do this in preference to <a class="gmail-urllink" href="https://www.php.net/file_get_contents" rel="nofollow">"<code style="font-size:0.93333em">file_get_contents</code>"</a> used internally by PmWiki?</li></ul><div class="gmail-vspace" style="margin-top:20px;color:rgb(0,0,0);font-size:15px"></div><h2 id="gmail-desc" style="margin-top:15px;margin-bottom:9px;font-weight:normal;font-size:22px;color:rgb(0,0,0)">Description<a href="https://www.pmwiki.org/wiki/Cookbook/UrlGet#_toc" class="gmail-back-arrow" title="Contents" style="text-decoration-line:none;font-size:1rem;vertical-align:top"></a></h2><p style="margin-top:0px;margin-bottom:0px;color:rgb(0,0,0);font-size:15px">This extension provides a function <code style="font-size:0.93333em">UrlGet</code> which uses <code style="font-size:0.93333em">cURL</code> to retrieve the contents of the URL.<br class="gmail-clearboth" style="clear:both">The global variable <code class="gmail-varlink gmail-hljs-variable" style="font-size:0.93333em;color:rgb(255,68,0)">$UrlGetFunction</code> is set to <code style="font-size:0.93333em">UrlGet</code> using the PmWiki function <code style="font-size:0.93333em">SDV</code> if it is not already set.</p></div></div>