PHP HTTPRequest Class
in PHP added by rvdavid, on 11/1/2008 advanced tutorials oo programming php5 request handling
By default, request data in PHP is handled by using Super Globals ($_POST, $_GET, $_COOKIES). Globals are bad for several reasons (outside the scope of this example google here). In an effort to remedy this, we need a way to encapsulate the request data into an object. By doing this, we are centralising access to request data through the one channel - the HTTP Request object.
comment save report- submitted
- Wed, Jan 9th 2008, 20:24
- clicks today
- 0
- clicks this month
- 40
- clicks all time
- 1023
