Dynamic Web Page


Comparison between ASP and PHP

Steps in developing Dynamic WebPage






Installing IIS (Internet Information Services) / PWS (Personel Web Server)
Rules : You can find IIS/PWS for the following OS at
~ Windows 7 : Control Panel > Administrative Tools
~ Windows XP Pro/2003/2000 : Control Panel > Add/Remove Programs
~ Windows XP Home Edition : IIS / PWS are not supported on this OS
~ Windows ME : IIS / PWS are not supported on this OS
~ Windows 98 : ‘add-ons’ on the Windows 98 CD (PWS-Personal Web Server)
~ Windows NT4/95 : download from NT4 Option Pack from Microsoft


Installing PHP
Rules :
~Your computer should have Apache and MySQL
~ If your OS is Linux, both software are already installed in the system
~ If your OS is Microsoft, you need to install WAMP / XAMPP (PHP, Apache Server and MySQL will automatically installed in your computer)






Installing WAMP / XAMPP
·        It is free
·
          WAMP

-         WAMP is acronym for ‘Windows’, ‘Apache’,’MySQL’,’PHP’
-         Apache, PHP, SQLiteManager, MySQL and Phpmyadmin will automatically installed when you install WAMP into your computer

·        XAMPP :
-         XAMPP is acronym for ‘X=cross platform’, ‘Apache’,’MySQL’,’PHP, P = Perl’
-         Apache, PHP, SQLiteManager, MySQL and Phpmyadmin will automatically installed when you install XAMPP into your computer


Ø Reasons to choose XAMPP compared to WAMP :
o   XAMPP has Perl and both PHP4 and PHP5 
        (it has the utility to switch between the versions)
o    compared to WAMP, you have to install Perl and PHP4 add-ons which can be downloaded freely from the internet.

Create a Contact Form in Dreamweaver

Using ASP/PHP
1. Setup a Site
2. Setup the Database file in Access (ASP) / PHPMy Admin (PHP)
3. Setup the Connection
4. Setup the Contact Form
5. Writing data into a database using Insert Record
6. Reading/Viewing data from a database using the RecordSet
7. Execute the File