|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
[2007-12-08 13:53 UTC] sskaje at gmail dot com
Description: ------------ parse_ini_file() should not be configured with allow_url_include in php.ini but allow_url_fopen that make me cant directly parse the ini file on http server Expected result: ---------------- nothing Actual result: -------------- nothing PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Wed Oct 29 11:00:01 2025 UTC |
Since PHP 5.3.0 there is parse_ini_string(), so you could do: parse_ini_string(file_get_contents('...')); Isn't that sufficiently convenient?