Friday, December 02, 2005

Php and XML on my personal site

I have had some limited success with PhP on my personal site, click the link over my name on the home page. A link to a blog points to an index of XML and HTML files that comprize my journal or blog there. These files are mostly experiments with various ways of automating web page creation, first with perl and CGI.pm and later with HTML and then XML with style sheets which is quite close to how this blog site appears to be implemented. I turned to PhP to automatically recreate the index page to this collection, so that every time I make or rename a new page I run the PhP file to create a static HTML page. My site admin does not want dynamic pages on the site, so I run the PhP into a file. I discovered that PhP is a dialect of perl with many features not included in the latter. I wish that people would not do this, but I suspect that like much that happens on the Internet, security promotes complexity.