Hi all,
I'm new with cakephp and right now testing authentication tutorial, why the
return url when using Auth.redirect() always return double baseurl, my
testing url is like this : http://localhost/cakeblog and when it redirect
after login success (previous page was posts/add), it always retur
i like cakephp better, now in working , i coding with ci, but i like ci, no
layouts, no elements, but it just have easy model, no maps.
In other words, some functions you must build them by manual,for example
layouts,elements,orm,pageTitle and so on...
My english is poor, I 'm sorry, maybe, someo
why not to arrange the data by manual ?
like:
json_encode()
or
$json = '{"successful": false }'
die($json);
maybe, it's better to add header before responsing.
2012/2/2 phpMagpie
> Your save operation should fail gracefully and return validation errors
> rather than spitting codes, then it c
callbacks?
Is it mean that you want to disable the relations for example
hasMany,hasOne,manyToMany,belongTo,and so on?
thanks!
2012/2/2 thatsgreat2345
> If you do model->find('first') you can disable callbacks in the second
> parameter.
> model->find('first',array('callbacks'=>false))
>
> On F
Hi all, i need some help.
I have two table, let's say User and Transaction with this kind of
relation :
User has some common fields :
id
username
password
Transaction :
created_id is a foreign key to model User (id)
modified_id is a foreign key to model User (id) too
how do define th