On 14 jul, 03:17, jkaash...@belai rintl.com wrote:
What is the best mechanism for using custom application properties? Do
these go into the php.ini file or somewhere else? And what functions
are available to handle such properties?
the functions to handle php.ini properties are
# ini_alter — Alias of ini_set
# ini_get_all — Gets all configuration options
# ini_get — Gets the value of a configuration option
# ini_restore — Restores the value of a configuration option
# ini_set — Sets the value of a configuration option
more info is available here
http://www.php.net/manual/en/ref.info.php
i think that is not a good practice to add custom properties to the
php.ini (and i don't know if it's possile)
what do you need to do? I mean, would you like to modify php.ini
properties only for your application?
or you need to store your OWN properties in a file?
Claudio