This tutorial will show you how to produce static html pages using PHP. This is important if you want the benefits of using PHP to build sections of a site where the content of the pages doesn't change very often.
Luis Yordano Cruz demonstrates three-tier PHP application design with PEAR::DB_DataObject, Smarty, and PHP 5. The article assumes that you have some familiarity with HTML, Smarty, PEAR::DB_DataObject, MySQL, and PHP 5.
PHP comes with a full-featured file and directory manipulation API that allows you (among other things) to view and modify file attributes, read and list directory contents, alter file permissions, retrieve file contents into a variety of native data ...
This second segment of the tutorial on the PHP filesystem API takes you into deeper waters, showing you how to copy, delete and rename files; scan directories; work with uploaded files over HTTP; perform pattern matches on file names; and read and wri...