Many developers have learned to use PHP over the years because it’s a good solution for creat- ing Web pages and the price is right. The PHP acronym is like many other new acronyms for the Internet—the acronym is recursive (refers back to itself). PHP stands for PHP Hypertext Processor. This general-purpose HTML scripting language works much like ASP (see Chapter 6) or other page description languages you might have used. Essentially, you mix HTML with scripting information. When the PHP process sees HTML, it sends the text directly to the user. It processes any scripting information, and passes the resulting HTML to the user as well.
Read the rest of this entry »
Not a Linux fan? Looking for a hassle?free way of setting up a PHP environment on your Windows box? Read as Matthew guides us through the process of installing Apache, MySQL and PHP on a Windows based machine, otherwise known as WAMP.
This article is geared towards people who want to code and test their own, or other people’s, php scripts on their Windows box. No advanced technical knowledge is assumed. This tutorial is unsuitable for advanced users. Why Apache and MySQL? Because they are available for free, quite easy to use and reliable. Why windows? Because there are many installation guides written for the Linux user, but Windows generally gets overlooked. And getting it all to work can be a real daunting task.
Read the rest of this entry »
The customizable PHP script Generic HTML Form Processor is intended to assist researchers and students in quickly setting up surveys and experiments that can be administered via the Web. This script relieves researchers from the burdens of writing new cGi scripts and building databases for each Web study. Generic HTML Form Processor processes any syntactically correct HTML form input and saves it into a dynamically created open-source database. We describe five modes for usage of the script that allow increasing functionality but require increasing levels of knowledge of PHP and Web servers: The first two modes require no previous knowledge, and the fifth requires PHP programming expertise. use of Generic HTML Form Processor is free for academic purposes, and its Web address is www.goeritz.net/brmic.
Read the rest of this entry »
Many developers have learned to use PHP over the years because it’s a good solution for creating Web pages and the price is right. The PHP acronym is like many other new acronyms for the Internet—the acronym is recursive (refers back to itself). PHP stands for PHP Hypertext Processor. This general-purpose HTML scripting language works much like ASP (see Chapter 6) or other page description languages you might have used. Essentially, you mix HTML with scripting information. When the PHP process sees HTML, it sends the text directly to the user. It processes any scripting information, and passes the resulting HTML to the user as well.
Read the rest of this entry »
In the early days of the World Wide Web, information was stored in simple files with only HTML markup. Today, the web server often processes scripts within web files that e.g. call other files, stylesheets, etc. Furthermore, the scripts may also acquire information from a relational database management system. Such a modern system gets data from database tables and includes them in the web page that is delivered to the user.
Read the rest of this entry »
Over the course of this book, it will be my job to guide you as you take your first steps beyond the HTML world of client-side site design. Together, we’ll explore what it takes to develop the kind of large, content-driven sites that are so successful today, but which can be a real headache to maintain if they aren’t built right. Before we get started, you need to gather together the tools you’ll need for the job. In this first chapter, I’ll guide you as you download and set up the two software packages you’ll need: PHP and MySQL.
Read the rest of this entry »