Articles by Sneha Heda

Baking Cookies in PHP

Baking Cookies in PHP

Cookies are little tid-bits of information stored by the browser on a user’s computer. The information stored in the cookie is used to uniquely identify a user and this information is sent to server with each request so server can make use of it. In this article you’ll learn how to set, retrieve, and delete cookies to help add state to your PHP application.

Error Handling in PHP

Error Handling in PHP

Errors are the most common event a developer faces when programming. To help reduce the number of errors in your code, and to mitigate their effects, proper error handling is essential in your web application. This article will teach you about PHP’s built-in error reporting levels, using Exceptions, and how to handle errors with custom handlers.

© 1998-2012 SitePoint Pty. Ltd. All Rights Reserved