Lab 9: Writing Simple PHP Scripts





Using PHP, create the following webpages.
  1. Create a webpage that contains a button. The user should be greeted with "Hello Everyone!!"
    within a new window when the user clicks the submit button.



  2. Create a webpage that contains a button and an input box for their name. The user should be greeted by name
    when the user clicks the submit button.



  3. Create an app that uses PHP to compute summations for a given value, n.



  4. Re-write exercise #3 so that the user supplies a positive integer n and PHP computers and displays n as a binary value.



  5. OPTIONAL: Create a webpage that explores POST and GET.