Sunday, March 21, 2010

Exercise 5 (Q1-Q4)

Case B: PHP and MySQL is selected

I used the AppServ package that Apache Web server, PHP, MySQL and phpMyAdmin are all included. The detail versions screen is captured below. (ex5_1a)




1. Examine the environment variables on the server (5_1b)




Running result (5_1c)




2. Create a web application called “hello_world.php” (5_2a)




Running result (5_2b)





3. Create an HTML page with the form: (5_3a)




Running result (5_3b)





4. Create a PHP file named “submit.php”- Note the script is not correct, replaced with “$_GET[myname] (5_4a)





Running result (5_b)



(5_4c)


No comments:

Post a Comment