php.ini文件更改后是否要更新,php,我该如何更新ini文件?

我有一个PlatformIO ini文件:

; PlatformIO Project Configuration File

;

; Build options: build flags, source filter

; Upload options: custom upload port, speed and extra flags

; Library options: dependencies, extra library storages

; Advanced options: extra scripting

;

; Please visit documentation for the other options and examples

; http://docs.platformio.org/page/projectconf.html

[env:d1_mini]

platform = qsprgssif2266

board = d1_mini

framework = arduino

lib_deps = ArduinoJson, PubSubClient

upload_port = xxx.xxx.xxx.xxx我希望每次使用html输入添加新值时,都会向lib_deps添加新字符串。

喜欢这个:

lib_deps = ArduinoJson, PubSubClient,{newphpvalue},{newphpvalue2}我知道这可以使用php write_ini_file存档,但究竟如何?

我还寻找了一些库(内置函数)来为ini文件添加值。

我发现了IniFile-master,但是由于我不能添加新的值,它会写入较旧的值,所以有没有其他库可以执行此操作?

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值