PHP

  • PHP and MySQL for Dynamic Web Sites - Book Review » Some of the more interesting customizations you can do with your Movable Type weblog require using PHP scripts, either on their own or in conjunction with the MySQL database. Some scripts are easy enough to install and require very little configuration. Others, however, require that you know something about...
  • Random Entries Using PHP » There are two methods to create a random entry, pulled from your weblog database (if you aren't using dynamic publishing). The easiest is David Raynes' MTRandomEntries plugin. However, MTRandomEntries generates a random entry only when you rebuild the page on which the MTRandomEntry code is located. If you want a...
  • Querying a MySQL database with PHP - Random Quotes » Updated. Originally posted April 3, 2005. If you are using a MySQL database and your blog is PHP enabled (see Converting to PHP), you can use PHP scripts to pull blog data from your database to add customizations to your blog. For example, say you would like to have on...
  • Converting to PHP » This tutorial is written by LMT contributor Sarah Hughes of Sassy (aka Maddy in the MT Forums). Many customizations for Movable Type call for using PHP scripts that require that your pages have a .php extension rather than a .html or .htm extension. PHP is a server-side scripting language which...
  • Using PHP and MT Includes » Updated March 1, 2007. Using includes, you can modularize your template code making it easier to edit and rebuild your Movable Type templates. For example, instead of having all of your side bar and center content on the same Index template, you can set up a separate file to hold...
  • HTML or PHP? » This article is out of date and doesn't touch on MT's dynamic publishing features. ~Elise February 22, 2007 When you are first setting up a new weblog, Movable Type prompts you to choose a file extension in the weblog config preferences section. The default setting is HTML. If your server...