开发者

PHP pass random data in .user.ini

Can I use a PHP 5.3 .user.ini file to pass information other than existing PHP settings? E.g. display_errors = On include_path = /usr/myapp/classes myapp_config_dir = /usr/myapp/config # <开发者_StackOverflow;-- this is not a PHP setting


Sounds like a good opportunity to create your own ini file and use parse_ini_file() to read it.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜