I am considering downloading PHP, but am unsure of whether I can do the following:
- Install PHP to my WinXPPro system, without having to install Apache/ISS, a web server, or a database. I just want to use PHP to assemble pages, as below.
- Create boilerplate and unique content elements, that PHP can use to build pages.
- As a final step to assembly of a page, have PHP strip out href links which link back to the page being assembled, so that the user can look at the navigation and see that the unlinked text refers to the current page.
- Have PHP write these pages to .html files, so I can upload them as static HTML pages. They will be static pages, and no server-side page generation would be necessary. I would, thus, be able to use PHP to assemble pages that won't necessarily go onto a PHP-compatible server.