I am developing a web prototype, but I need to reuse HTML code.
I couldn’t find any client solutions to include html files and now I’m trying to find a simple http server that requires no configuration like for example: python -m SimpleHTTPServer 8000 and supports SSI.
I am developing a web prototype, but I need to reuse HTML code. I
Share
I found the new PHP 5.4 adds a simple server and its very easy to setup and run:
php -S localhost:8000.Then I can easily reuse HTML code using the include PHP function:
<?php include("common/top-logged-bar.html"); ?>.