note 28330 added to function.parse-ini-file
| From: | yury at altiris dot ee | Date: | Thu, 09 Jan 2003 15:07:09 +0000 |
| Subject: | note 28330 added to function.parse-ini-file | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-41910@lists.php.net to get a copy of this message | ||
Hi All !
I found some problem, that I cant get around:
When I do parse ini file with some variables, for example -
[myvars]
debug=true
and then try to call "extract" to populate local (global) variables with values from
loaded array, all the variables are treated as "strings", this makes $debug =
"1" (on "true") or = "" (empty string, when "false").
How can I control the type of variables parsed from ini file and extracted then ? Is there any way
to do so ?
Thank you,
YZ.
--
http://www.php.net/manual/en/function.parse-ini-file.php
http://master.php.net/manage/user-notes.php?action=edit+28330
http://master.php.net/manage/user-notes.php?action=delete+28330
http://master.php.net/manage/user-notes.php?action=reject+28330