User Tools

Site Tools


eg-259:review:php3

Review Questions

Adapted from: Robert W. Sebasta, Programming the World-Wide Web, 3rd Edition, Addison Wesley, 2006. Supporting: Contact Hour 22.

  1. How can the value of a form element be accessed by a PHP script?
  2. What is a file variable?
  3. What is a file pointer?
  4. What does an fopen function return if it fails?
  5. Explain the parameters and actions of the fread function.
  6. What is returned by the fwrite function?
  7. How can a cookie be created in a PHP script?
  8. How can a script determine whether a particular cookie exists?
  9. How can a variable be saved in a session?

More Review Questions

eg-259/review/php3.txt · Last modified: 2012/03/22 08:26 by eechris