Looking for more information on how to do PHP the right way? Check out PHP: The Right Way

Digital-Web.com:
Easy-peasy PHP (Parts 1 & 2)
Jul 18, 2005 @ 11:59:44

Digital-Web.com has part one and part two in a series that focuses on an easy way to start creating a PHP site - Easy-Peasy PHP.

Easy-Peasy PHP (part 1) was geared at being a simple introduction to using switches and includes in PHP. Several readers brought up some legitimate concerns in the comments, and others had some problems making the code work. This follow-up article (part 2) proposes a better, more robust and secure method for getting started with using PHP on your Web site.

In this second edition, they go for a template using includes for the header/footer/navigation of the site and use a "controller" idea to create the interface for the various pages (including filtering the input for possible attacks via code injection).

tagged:

Link:


Trending Topics: