#15006 [Com]: parse_ini_file barfs when seeing ~ (hex 7E)

From: Date: Fri, 02 May 2003 13:47:14 +0000
Subject: #15006 [Com]: parse_ini_file barfs when seeing ~ (hex 7E)
References: 1  Groups: php.doc 
Request: Send a blank email to phpdoc+get-969353020@lists.php.net to get a copy of this message
ID: 15006 Comment by: grin at gmx dot net Reported By: jfh at adr dot dk Status: Closed Bug Type: Documentation problem Operating System: Linux 2.4.12 PHP Version: 4.1.0 New Comment: parse_ini_file does still not work. If you try to use the "~" character (for your home directory, for example), the whole value of the field is set to "-1". This still is not done. Please reopen and fix it. Previous Comments: ------------------------------------------------------------------------ [2002-09-03 15:46:30] rst at bdc dot no I still get the an error, even if I put the "funny characters" on the right hand side of = under double quotes "". I have tested on "(" and a "=". ------------------------------------------------------------------------ [2002-06-04 19:23:37] edink@php.net This bug has been fixed in CVS. You can grab a snapshot of the CVS version at http://snaps.php.net/. In case this was a documentation problem, the fix will show up soon at http://www.php.net/manual/. In case this was a PHP.net website problem, the change will show up on the PHP.net site and on the mirror sites. Thank you for the report, and for helping us make PHP better. ------------------------------------------------------------------------ [2002-06-04 18:35:02] edink@php.net If you have any "funny characters" on the right hand side of = you need to put them under double quotes "". Marking this as a documentation problem. ------------------------------------------------------------------------ [2002-06-04 16:51:21] richard@php.net And also on ! (exclamation mark) ------------------------------------------------------------------------ [2002-02-05 13:20:20] me at watson1999-69 dot freeserve dot co dot uk parse_ini_file also breaks when seeing ", even if this is escaped (same error message). This also happens on PHP/4.11, Win98SE. ------------------------------------------------------------------------ The remainder of the comments for this report are too long. To view the rest of the comments, please view the bug report online at http://bugs.php.net/15006 -- Edit this bug report at http://bugs.php.net/?id=15006&edit=1

« previous php.doc (#969353020) next »