$form->create('User', array('action' => 'login'))

2009/7/20 Dhileepen Chakravarthy <dhileepen.cake...@gmail.com>

> Thank you for your reply.
> But its not working.I dnt know where i did a mistake.
>
> I am using two tables one is posts and users.
>
> Login i use *'users' *table. inside i am using *'posts'* table for
> displaying blog posts.
>
> index.ctp for login screen with form fields. ( $form->create('Post',
> array('action' => 'login')) )
> posts_cotroller.php for action code.
> post for model.
>
> how do i use here user model and users_controller.php here for
> authentication.
>
> if i using those  controller goes into users folder. but my application in
> posts folder only.
>
> Regards,
> Dhileep
>
>
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"CakePHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to 
cake-php+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to