CIS 627 (Web Database Services Development) Week 1



Course Syllabus

Getting started with PHP

  1. Distinguish between server-side scripting such as PHP and client-side scripting such as JavaScript.

    Possible resources:

  2. Install a local server such as XAMPP. (If you are already familiar with an alternative such as WAMP or MAMP, you may use that.) Paste a screen capture of your browser pointing to localhost and showing the default file (index.php).

    (Note that the apache (web) service may by default be turned off and may need to be turned on using the XAMPP Control Panel.)

    Possible resources:

  3. Install a PHP editor such as Notepad++. Paste a screen capture of a PHP "Hello World" program in the editor and in the browser.

    Possible resources:

  4. What happens if the above file is given the extension htm instead of php? In the browser view the page source of the .htm version and .php version. How do they differ?
  5. Make an HTML form (with a text input for a username, a select drop-down for a team member, an email input and a submit button) and a PHP page that handles the form displaying the posted values and sending an email to the address provided. Post the files on La Salle's alpha server. Send me the URL of your page.

    Resources:

  6. The above interaction uses the POST method. Distinguish between the GET versus POST methods.

    Possible Resources:

  7. In order for the above files posted on the alpha to work, the alpha must offer (at least) three services. What are they?

    Possible Resources: