- ARCHIVE / PHP
- Page Accessed by jQuery or HTTP
Here is a little code snippet I have been working with to integrate into the cms I am building with Codeigniter. It is used to determine if the controller is accessed by jQuery ( an ajax request ) or by a normal http request.
/* Access()
* returns http if requested by http request
* returns [...] - Codeigniter Has A Cart Class!?!
I am hoping here in the next couple weeks to a month I will get the chance to use the new cart class Codeigniter has in an application. I will document my experience here when I begin.