PHP reference PHP page

Source: Internet
Author: User
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 the value of serveInfo is passed to this page. php? ServeIp192.168.185.8 PHP reference PHP 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 p 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 ");
?>

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.