Jump to content
Larry Ullman's Book Forums

dwiggin

Members
  • Posts

    4
  • Joined

  • Last visited

Posts posted by dwiggin

  1. Using XAMPP all the files are in the htdocs file. The code for index.php:

     

    <?php # Script 3.4 - index.php
    $page_title = 'Welcome to this site!';
    include ('includes/header.inc.html');

    ?>

     

    <h1>Content Header</h1>


      <p>This is where the page-specific content goes. This section, and the
      conresponding header, will change from one page to the next.</p>

      <p>Volutpat at various sed sollicitudin et, arcu. Vivamus viverra. Nullam turpis.
      Vestibullum sed etiam. Lorem, ipsum sit amet dolore. Nulla faclilisi. Sed tortor. Anean felis.
      Quisque eros. Cras lobortis commond metus. Vestibilum vel purus. I egat odio in sapien
      adipiscing blandit. Quiisque augue tortor, facilisis sit amet, aliquam, suscipit vitae, cursus
      sed, arcu lorem ipsum dolor sit amet.</p>

    <?php
     include ('includes/footer.inc.html');

    ?>

     

    The message indicates it cannot find header.html or footer.html. I have the same problem with the calculator program.

     

    Don

×
×
  • Create New...