note 49523 added to function.parse-ini-file

From: Date: Mon, 31 Jan 2005 13:29:26 +0000
Subject: note 49523 added to function.parse-ini-file
Groups: php.notes 
Request: Send a blank email to php-notes+get-84273@lists.php.net to get a copy of this message
to phpcoder at cyberpimp dot pimpdomain dot com: thx for the read/write ini functions, they work like a charm ... except for that one small (easy to find) substr-bug in the readINIfile-function: counting with substr starts from 0, not 1, so <?php if (substr($value, 1, 1) == '"' && ... ?> should be ... <?php if (substr($value, 0, 1) == '"' && ... ?> ---- Manual Page -- http://www.php.net/manual/en/function.parse-ini-file.php Edit -- http://master.php.net/manage/user-notes.php?action=edit+49523 Delete: added to the manual -- http://master.php.net/manage/user-notes.php?action=delete+49523&report=yes&reason=added+to+the+manual Delete: bad code -- http://master.php.net/manage/user-notes.php?action=delete+49523&report=yes&reason=bad+code Delete: spam -- http://master.php.net/manage/user-notes.php?action=delete+49523&report=yes&reason=spam Delete: useless -- http://master.php.net/manage/user-notes.php?action=delete+49523&report=yes&reason=useless Delete: other reasons -- http://master.php.net/manage/user-notes.php?action=delete+49523&report=yes Reject -- http://master.php.net/manage/user-notes.php?action=reject+49523&report=yes Search -- http://master.php.net/manage/user-notes.php

« previous php.notes (#84273) next »