Hey, thank you very much! Let me try this out and I'll inform you if it was what I needed.
On 7/16/09, cbhan <[email protected]> wrote: > > As you know Cake is MVC framework , simply you can access the data > posted from your view(your form),in the controller's method with the > following: > say the function name is mario then, > function mario() > { > if(!empty($this->data)){ > $mariodata=$this->data; > $this->set('yourdata',$mariodata); > } > }, > Now in your mario.ctp file,which is the view file of this action > (method rather) from where you had posted your data type the following > code > <?php echo pr($yourdata); ?> > this will solve your problem. If not i will continue to help . > > On Jul 16, 4:57 am, mario vallejo <[email protected]> wrote: >> Hello and thank you for your time and attention. I am building a >> Facebook app and I want to use CakePHP to build it. The problem is the >> following >> >> I have tried to translate this into cake to no avail: >> >> $is_tab = isset($_POST['fb_sig_in_profile_tab']); >> >> if( !$is_tab ) $user = $fb->require_login(); >> >> And that's really the only thing left in order to finish my app. I >> have got no clue on how to access 'normal' $_POST data inside of cake. >> Thank you very much and I really appreciate this. >> >> Mario R. Vallejo > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "CakePHP" 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?hl=en -~----------~----~----~----~------~----~------~--~---
