If you've previously used ASP as a scripting language, you may wonder why you should even bother switching to PHP. But there are plenty of reasons to choose PHP over ASP. For starters, PHP scripts tend to run much more quickly than comparable ASP scripts. Another reason for switching to PHP is that there are no hidden costs. In an ASP environment, if you need code for things like encryption or e-mail management, you often must buy third-party modules. However, many of the commonly used modules that don't come with ASP are included with PHP. And if you need a module of code that isn't included, there's a good chance that you'll be able to download it for free from one of the many PHP Web sites. PHP also tends to be an easy transition. PHP scripts are sort of like a combination of ASP and C++. What's more, PHP is object oriented and has a much better memory management model than ASP. This means that PHP code typically scales better for use in large enterprise applications. Essentially, PHP can do anything that a CGI script can do, but usually more quickly and efficiently. PHP works well for tasks such as collecting form data, generating dynamic page content, and sending and receiving cookies. Installing PHP
The first step to installing PHP support is to download the PHP source files. As of this writing, the most current version is PHP 4.2.2. (Editor's note: At the time of publication, version 4.3.0 had recently been released.) You can download the PHP files from the PHP Web site. All of the necessary files are included in a 5-MB Zip file. You also need to download an installer, which is contained in a separate 913-KB Zip file. A lot of files are available on the PHP Downloads site, and figuring out which files to download can be confusing. Figure A shows you the two files you need.
| Figure A |
![]() |
| These are the two files that you need to download. |








Talkback
Hi, nice site, good work! Thank you!
This post has been removed by a moderator.