For help, an Array is transmitted between php. as described in the title, for example, in the php1 file, there are similar arrays such as $ Array [& quot; a & quot;] 1; how to obtain the array in php2 .. It is best to pass it through the post method .. ------ Solution ------------------ 1. most closely: php1 requires php21_dephp2 after it is finished; 2. closeness: jump through the browser for help, and passing arrays between php;
As described in the title, for example, in the php1 file, there are similar arrays such as $ Array ["a"] = 1;
How to obtain the array in php2 .. It is best to pass it through the post method ..
------ Solution --------------------
1. the most closely related: php2 is required when php1 is finished.
Include 'php2 ';
2. Tight: jump through the browser
Use session
3. generally, values are transmitted by uri.
Php provides the http_build_query function to construct the uri parameter string.
4. Loose: http requests
Php provides curl and sock function groups
5. Loose: Use soap and xmlprc
Php provides corresponding functions and classes.