开发者

PHP pass random data in .user.ini

开发者 https://www.devze.com 2022-12-19 05:25 出处:网络
Can I use a PHP 5.3 .user.ini file to pass information other than existing PHP settings? E.g. display_errors = On

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

精彩评论

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