Contact me:

Email

PHP Manual Tutorials

Using the online PHP manual is useful for CIS 2336, because it provides documentation for PHP. This means that it is a valuable reference material to look up information such as proper syntax, or useful built-in functions. When creating complex internet applications for this course, this knowledge of PHP is critical for processing user-submitted form data in a useful manner. In addition, the PHP manual provides a download page to get PHP for servers that may not have PHP already installed.

For this assignment, I followed the first 4 tutorials on the online PHP Manual.

  1. The first tutorial covered the different tools I would need to program in PHP
  2. In the second tutorial, I created a simple Hello World! PHP script that writes HTML using the PHP 'echo' command.
  3. In the third tutorial, I created a script that identifies whether or not you are viewing the page with the Internet Explorer browser by using the built-in strpos() PHP function.
  4. In the fourth tutorial, I created an HTML form that asks for your name and age, as well as the corresponding PHP script that displays the information submitted in the HTML form.
You can find screenshots of the code I created for the tutorial scripts below:

Simple Hello World! PHP script:


Browser PHP script:


Simple Hello PHP script:


HTML Name/Age form:


Action PHP script for form: