我有一个 phpfile let,xyz.php 并且从这个文件中我必须更新另一个 phpfile 让它的名字,abc.php
我怎样才能做到这一点来实现我想要的输出。
xyz.php
<?php
//need code for update $GLOBALS['app_list_strings']['ip_list'] array present in xyz.php
?>
abc.php
$GLOBALS['app_list_strings']['ip_list']=array (
'192.168.1.51' => 'server1',
// i have to add key and value pair here just like above from xyz.php
);
?>