PHPでhtmlを読み込んで書き出す
php
$this->DIR = dirname( __FILE__ ); $this->container = new DOMDocument(); $contaienrFile = file_get_contents($this->DIR."/container.html"); $this->container->loadHTML($contaienrFile); echo $this->container->saveHTML();
$this->DIR = dirname( __FILE__ ); $this->container = new DOMDocument(); $contaienrFile = file_get_contents($this->DIR."/container.html"); $this->container->loadHTML($contaienrFile); echo $this->container->saveHTML();