note 69210 deleted from function.parse-ini-file by bjori

From: Date: Sun, 27 Aug 2006 23:22:08 +0000
Subject: note 69210 deleted from function.parse-ini-file by bjori
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-116398@lists.php.net to get a copy of this message
Note Submitter: Typer85 at gmail dot com ---- In response to my last note; In doing further testing, I found that when adding this code in avoid external viewing of an ini file works but under a certain condition. The PHP code can not expand on multiple lines like so: ----------------------------------------------------------- ;<?php die( "No Access" ); ?> [DB] user = root --------------------------------------------------------------- Rather, it has to be on one line, and the first line that it, in the ini file, like so: ---------------------------------------------------------------- ; <?php die( "No Access" ); ?> [DB] user = root Sorry for the mis-understanding,

« previous php.notes (#116398) next »