Visualizzazione dei risultati da 1 a 2 su 2

Discussione: quesito

  1. #1
    Utente di HTML.it
    Registrato dal
    Sep 2011
    Messaggi
    4

    quesito

    Come risolvere il quesito sotto?
    Richiamo alternativamente la pagina a.php o b.php per richiamare la pagina base.htm e inserire nella stessa base.htm il contenuto rispettivamente di a1.htm o b1.htm a seconda se la pagina che ha iniziato il processo sia stata a.php o b.php
    Spero di essere stato chiaro nella spiegazione. Ciao e grazie a tutti

    Chiamo questa pagina: a.php

    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
    "http://www.w3.org/TR/html4/strict.dtd">

    <html>

    <head>
    <title>Titolo sito</title>
    </head>

    <body>
    <?php include("base.htm") ?>
    </body>

    </html>


    Chiamo questa pagina: b.php

    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
    "http://www.w3.org/TR/html4/strict.dtd">

    <html>

    <head>
    <title>Titolo sito</title>
    </head>

    <body>
    <?php include("base.htm") ?>
    </body>

    </html>

    Chiamo questa pagina a1.htm

    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
    "http://www.w3.org/TR/html4/strict.dtd">

    <html>

    <head>
    <title>Titolo sito</title>
    </head>
    </head>

    <body>

    <div id="content" style="max-height: none; minheight: none; maxheight: none; max-width: none; minwidth: none; maxwidth: none; boxsizing: content-box">
    <p class="MsoNormal" style="text-align: center">
    <font color="#000000">
    <span style="font-family: Arial; font-weight: 700">CONTENUTO DI A</span></font></div>

    </body>

    </html>

    Chiamo questa pagina b1.htm

    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
    "http://www.w3.org/TR/html4/strict.dtd">

    <html>

    <head>
    <title>Titolo sito</title>
    </head>
    </head>

    <body>

    <div id="content" style="max-height: none; minheight: none; maxheight: none; max-width: none; minwidth: none; maxwidth: none; boxsizing: content-box">
    <p class="MsoNormal" style="text-align: center">
    <font color="#000000">
    <span style="font-family: Arial; font-weight: 700">CONTENUTO DI B</span></font></div>

    </body>

    </html>


    Chiamo questa pagina: base.htm

    <html>
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
    <title>New Page 1</title>
    </head>

    <body>

    ???????????????????

    </body>

    </html>

  2. #2

Permessi di invio

  • Non puoi inserire discussioni
  • Non puoi inserire repliche
  • Non puoi inserire allegati
  • Non puoi modificare i tuoi messaggi
  •  
Powered by vBulletin® Version 4.2.1
Copyright © 2025 vBulletin Solutions, Inc. All rights reserved.