Home > Articles > Programming > PHP

  • Print
  • + Share This
This chapter is from the book


  1. Can I create arrays for values entered into elements other than select and check box fields?

  2. Yes, in fact any element name ending with empty square brackets in a form will resolve to an array element when the form is submitted. You can use this fact to group values submitted from multiple fields of any type into an array.

  3. The header() function seems powerful. Will we look at HTTP headers in more detail?

  4. We cover HTTP (Hypertext Transfer Protocol) in more detail in Hour 13, "Beyond the Box."

  5. Automatically converting form element names into variables seems a little risky. Can I disable this feature?

  6. Yes, you can ensure that submitted form element names are not converted into global variables by setting the register_globals directive to "off" in the php.ini file.

  • + Share This
  • 🔖 Save To Your Account