Once I added the call to the add method in the controller everything started working as expected. Does my register method end up calling the add method when saving? I ask because if the input validation fails the user is redirects from the register page to the add page.
I was planning to remove the add method and page, will this break everything? Patrick On Wed, Oct 14, 2009 at 8:07 PM, Brett Wilton <[email protected]> wrote: > > I haven't tried getClientIP() but I'd check that you have the field > name correct etc, try putting something known in. As an alternative > I've used $_SERVER['REMOTE_ADDR'] in the past which does work. > > ---- > http://wiltonsoftware.com > > > > --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
