PHP Framework
The method of static PHP page, do not use frames and templates. Also take into account the page and so on.
Thank you!!!
Reply to discussion (solution)
Also consider updating the issue!!!!!! (important).
Find a static CMS to see it, such as dedecms, without templates, without frames ... Enough for you to write.
Apache Rewrite
You can only use the function to generate a static page of the page, and then through the rewrite implementation of the URL conversion to achieve static
PHP urlrewrite
It's all about pseudo-static.
Apache Rewrite
Hello, this seems to be pseudo-static bar???
PHP urlrewrite
Yes, is there a good way???
Yes, you can download templates for pages that can produce HTML directly.
You can actually experiment with a few simple functions, such as
There is also a way to create a new template, such as: index_temp.html
Then use $fopen to open the HTML file, and then write the content with Fwrite!
Pseudo code probably
$cent =fopen ("index_temp.html", "W"), $fwrite ($cent, "Test write"); $fclose ($cent);
program generates static files
The landlord's understanding of static is insufficient. Not all pages can be statically formatted. This is a matter of specific situation.
To the landlord a train of thought, the premise is: The landlord's website is rarely updated, you can use PHP to generate HTML format. Similar to the 9 floor.
You are actually a problem, you first static page, paging read, such as passing an ID to a page, and then determine whether the page has been cached.