We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 21136
    • 103 Posts
    Hello smiley

    I have created a document (page2.html) with a blank template and inserted a snippet call in the page - [!inserthtml!]

    Here is the actual snippet [!inserthtml!]:

    <?php
    include(’www.mydomain.com/container/page.html’);
    ?>

    The page I am calling (page.html) is a page from the same site and is generated by MODx. I haven’t found a better way to do this at this point smiley

    I need to be able to display the entire page 100% exact from page.html in page2.html

    I don’t need just the content from page.html - I need the exact entire page to show in page2.html as in page.html - in other words, if I view the source on both pages they need to be exactly the same.

    This is why I am trying to use an include.

    I don’t get any errors, but the page2.html is blank. I have tried a few variations with the same results.

    What do you see that I am doing wrong smiley

    Regards,

    Ken Roberts
      • 21136
      • 103 Posts
      It is set to "on"

      allow_url_fopen On

      :(

      Any other ideas?

      Regards,

      Ken
        • 4041
        • 788 Posts
        *removed as it did not pertain to the situation smiley sorry*
          xforum
          http://frsbuilders.net (under construction) forum for evolution
          • 21136
          • 103 Posts