Hey Tony. Yeah, your IRC issue sounds like an anal IT thing. Here's a quick rundown of grabbing _GET and _POST data. Pretty much anything GET or POST-related that you could want to know will be in $this->params. In fact, doing an array-dump of that should give you a pretty good lay of the land.
However, not all of it will always be relevant, and some of it will seem downright redundant, so here's what you should know: $this->params['url'] is an array containing any information passed in the URL, including the URL itself, as well as any file extension mappings (http://cake.insertdesignhere.com/posts/view/2). $this->params['form'] contains any _POST data, but that's not used so much, since any form fields generated by Cake helpers will have their data socked away in a special POST variable which maps to $this->data (a copy of which can also be found in $this->params['data']). A couple other things that might be of interest for getting URL variables is $this->params['pass'] and $this->passedArgs. If memory serves, both contain the same data, which is anything in the URL that comes after the /controller/action part. So for example if I go to http://site.com/posts/list/5/9, $this->passedArgs would look like: array(5, 9). Anyway, hope that gets you started. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Cake PHP" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/cake-php -~----------~----~----~----~------~----~------~--~---
