note 98983 added to function.parse-ini-file

From: Date: Tue, 20 Jul 2010 13:14:39 +0000
Subject: note 98983 added to function.parse-ini-file
Groups: php.notes 
Request: Send a blank email to php-notes+get-170987@lists.php.net to get a copy of this message
In respect of forcestudios.square7.de - a maybe even slightly easier way to get the mentioned security in your "*.ini.php"-files without reinventing the wheel ... You could use something like this as first line of your ini-file and then use parse_ini_file() as usual (browser will only see the ";"): ; <?php exit(); __halt_compiler(); ---- Server IP: 212.124.37.9 Probable Submitter: 194.94.3.90 ---- Manual Page -- http://www.php.net/manual/en/function.parse-ini-file.php Edit -- https://master.php.net/note/edit/98983 Del: integrated -- https://master.php.net/note/delete/98983/integrated Del: useless -- https://master.php.net/note/delete/98983/useless Del: bad code -- https://master.php.net/note/delete/98983/bad+code Del: spam -- https://master.php.net/note/delete/98983/spam Del: non-english -- https://master.php.net/note/delete/98983/non-english Del: in docs -- https://master.php.net/note/delete/98983/in+docs Del: other reasons-- https://master.php.net/note/delete/98983 Reject -- https://master.php.net/note/reject/98983 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#170987) next »