PHP reference PHP page issues in a view. the php page needs to call another serveInfo cyclically. php page, and serveInfo. different values are passed through php page loop get. 1. use include & nbsp; "serveInfo. php "can display the structure style of the called page, but if you pass the PHP reference PHP page to this page
On a view. php page, you need to call another serveInfo. php page cyclically, and pass different values to the serveInfo. php page cyclically,
1. use include "serveInfo. php" to display the structure style of the calling page.
Pass the value serveInfo. php to this page? When serveIp = 192.168.185.88, the page called cannot be displayed normally,
2. there is no problem when you use iframe to call the value transfer function. you can also pass the value transfer function successfully, but serveInfo. the php page has a div pop-up layer. in this way, the pop-up layer can only appear in the box of iframe, which cannot achieve the desired effect.
How can we solve this problem ???
------ Solution --------------------
Use file_get_contents to get the content of the serveInfo. php page, and pass the parameter
$ Str = file_get_contents ("serveInfo. php? Id = $ id ");
?>