Make sure your form paths are posting to the right action.
On Oct 15, 1:05 pm, Patrick Talmadge wrote:
> 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 i
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 t
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 receiv
I'm new to CakePHP and working on a project where I need to log the
client IP when they register. When it saves to the DB the IP doesn't
save. This is the code I currently have in the controller:
class UsersController extends AppController {
var $name = 'Users';
var $helpers = array('Html', 'For