仪器社区

求助,为什么用C方法修改配置文件,不能修改多次,具体如下

nisangche777 2018-11-18
array(7) { ["DB_TYPE"] => string(6) "sqlsrv" ["DB_NAME"] => string(6) "FMS_DB" ["DB_PARAMS"] => array(1) { [8] => int(2) } ["DB_USER"] => string(2) "sa" ["DB_PWD"] => string(8) "1qaz2wsx" ["DB_CHARSET"] => string(4) "utf8" ["DB_HOST"] => st... array(7) { ["DB_TYPE"] => string(6) "sqlsrv" ["DB_NAME"] => string(6) "FMS_DB" ["DB_PARAMS"] => array(1) { [8] => int(2) } ["DB_USER"] => string(2) "sa" ["DB_PWD"] => string(8) "1qaz2wsx" ["DB_CHARSET"] => string(4) "utf8" ["DB_HOST"] => string(12) "192.168.1.77"} IP为192.168.1.77的数据数量:204 array(7) { ["DB_TYPE"] => string(6) "sqlsrv" ["DB_NAME"] => string(6) "FMS_DB" ["DB_PARAMS"] => array(1) { [8] => int(2) } ["DB_USER"] => string(2) "sa" ["DB_PWD"] => string(8) "1qaz2wsx" ["DB_CHARSET"] => string(4) "utf8" ["DB_HOST"] => string(9) "127.0.0.1"} IP为127.0.0.1的数据数量:204 array(7) { ["DB_TYPE"] => string(6) "sqlsrv" ["DB_NAME"] => string(6) "FMS_DB" ["DB_PARAMS"] => array(1) { [8] => int(2) } ["DB_USER"] => string(2) "sa" ["DB_PWD"] => string(8) "1qaz2wsx" ["DB_CHARSET"] => string(4) "utf8" ["DB_HOST"] => string(5) "192.1"} IP为192.1的数据数量:204 上面是配置输出,理论上来说每个IP的数据数量是不一样的,还有为什么就是192.1没有这个ip也可以输出?
评论
全部评论
您可能感兴趣的社区主题
加载中...
发布 评论