PHP reference PHP page related issues

Source: Internet
Author: User
PHP Reference PHP page problem
In a view.php page you need to loop through another serveinfo.php page, and to serveinfo.php the page loop get to pass different values,
1. The structure style of the calling page can appear using the include "serveinfo.php", but if
The page that is called when you pass the value serveinfo.php?serveip=192.168.185.88 to this page is not displayed properly.
2, the use of the IFRAME call to pass the value is not a problem, the value can also be successfully passed, but the serveinfo.php page has a div pop-up layer, so that the pop-up layer can only be in the IFRAME that small box can not achieve the desired effect.


People say this problem how to solve it???


------Solution--------------------
Use file_get_contents to get serveinfo.php page content, and also pass the parameters passed

 
 $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.