[Mediawiki-l] PHP problem: file($url) not working from my MediaWiki extension

Brion Vibber brion at pobox.com
Thu Aug 3 02:05:52 UTC 2006


Martin Jambon wrote:
> Sorry if this is a trivial PHP question, but I can't figure out why I 
> can't make the file function work from inside a MediaWiki extension, 
> while it works perfectly when executed independently from Mediawiki (see 
> code at the end of the message).

MediaWiki disables allow_url_fopen by default as a precaution.

Note that current versions of PHP apparently don't actually take effect on that
change at runtime.

-- brion vibber (brion @ pobox.com)

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 249 bytes
Desc: OpenPGP digital signature
Url : http://lists.wikimedia.org/pipermail/mediawiki-l/attachments/20060802/8a34de86/attachment.pgp 


More information about the MediaWiki-l mailing list