Rinomina structure.html, header.html, etc. in structure.php, ..., etc. Se contiene codice php da fare eseguire -> deve avere l'estensione .php.
structure.php
codice:<!doctype html> <html> <head> <meta charset="utf-8"> <title>Documento senza titolo</title> </head> <body> <iframe srcdoc="<?php require "header.html"; ?>" width=100% height=100p frameborder="2"> </iframe> <iframe srcdoc="<?php require "pannello.php"; ?>" width=100% height=300p frameborder="2"> </iframe> <iframe srcdoc="<?php require "footer.php"; ?>" width=100% height=100p frameborder="2"> </iframe> </body> </html>
Mi sfugge totalmente il motivo per cui stai utilizzando degli iframe.codice:$username = "PAOLO"; include("structure.php");
Utilizzare un template engine come twig (http://twig.sensiolabs.org/) può esserti molto utile e ti semplifica la vita.

Rispondi quotando