This post covers the HTTP Headers and Code section of the Web Features chapter when studying for the Zend PHP 7 Certification.
HTTP is a protocol used for transferring data between web servers and client browsers.
The header() function in PHP sends a raw HTTP header. There are two special-case header calls. The first is …
This post covers the Cookies section of the Web Features chapter when studying for the Zend PHP 7 Certification.
Cookies are a mechanism for storing data in the remote browser and tracking or identifying return users.
You can set cookies in PHP using the setcookie() or setrawcookie() function. Cookies are part of the HTTP …
This post covers the Forms section of the Web Features chapter when studying for the Zend PHP 7 Certification.
One of the most powerful features of PHP is the way it handles HTML forms. The basic concept that is important to understand is that any form element will automatically be available to your PHP scripts. …
This post covers the Sessions section of the Web Features chapter when studying for the Zend PHP 7 Certification.
Sessions are a way of preserving information across a series of website accesses by the user.
A visitor accessing your web site is assigned a unique ID, the session ID. This is either stored in a …