Is there any date set / expected?
Is there anything we can do to current sites to anticipate the new release
to get ahead of the changes?
Thanks,
Dave
--
Like Us on FaceBook https://www.facebook.com/CakePHP
Find us on Twitter http://twitter.com/CakePHP
---
You received this message
I would advise expanding that condition code, as it's hard to read. Or just
arrange it a bit differently.
Currently, you'll end up with User.token LIKE IS NULL or User.token LIKE
NULL, and neither of those will work with regular SQL. CakePHP is smart
enough to recognise equality or inequality
CakePHP 2.3.5 has just been released to fix a critical issue with how the
webroot property in CakeRequest is handled that could potentially lead to
XSS attacks on certain pages. In the following days we will offer a full
description of the vulnerability and how it can be exploited, after some
hi Andre,... thank you for your reply,...
this: Form->end(array('text'=>'Search', 'div'=>false));
?> remove the ...
however value of the button says "Submit" and NOT "Search" ,...
'text'=>'Search',
here is the source:
On Friday, May 10, 2013 4:34:58 AM UTC-7, André Luis wrote:
>
> Try:
I am an idiot.
It was my textarea / editor forcing the PUT!
Sorry for the problem but thanks all the same to those who helped along the way
J
Dave
From: cake-php@googlegroups.com [mailto:cake-php@googlegroups.com] On Behalf Of
Irvin Huang
Sent: Thursday, May 09, 2013 11:20 AM
To:
thank you very much for your pointer divyanshu das, i've followed your
guidance but still face the same problem.
1. i can't login through with the data i've insert manual via database
using md5, it return :
e.g.
INSERT INTO `users` VALUES (1,'admin',MD5('adminpassword'),'T',NOW(),NOW());
2. the l
Right.
My bad. Good looking out!
Thanks guys J
From: cake-php@googlegroups.com [mailto:cake-php@googlegroups.com] On Behalf
Of André Luis
Sent: Friday, May 10, 2013 8:53 AM
To: cake-php@googlegroups.com
Subject: Re: Validate Question
It´s not a rule model have no access to components,
cool, thanx mark
--
Like Us on FaceBook https://www.facebook.com/CakePHP
Find us on Twitter http://twitter.com/CakePHP
---
You received this message because you are subscribed to the Google Groups
"CakePHP" group.
To unsubscribe from this group and stop receiving emails from it, send an email
@steve, for the user you inserted using mysql dump, the password field
encryption function needs to be md5. This is one problem I also faced. I
had to set the function to md5.
To create a login form with admin prefix, you need to pass the url option
in form as something like this:-
url => array( '
Always use the strictest comparison where possible (to avoid issues like
the once we faced in the recent past).
So always use identical comparison for strings, and also where possible for
other types
& reference is implicitly done by php5 (was only php4 relevant)
Am Freitag, 10. Mai 2013 20:
G'day,
Just been surfin the code and wondered,
1) Why the changes from [not] equal to ---> [not] identical to ( != | ==
---> !== | === )
(many examples throughout code in 2.3.0 ---> 2.3.2:
Utility\Debugger.php, Routing\Router.php, Network\CakeRequest.php, etc)
2) Why the changes to drop ret
Since 2.0 is out and 3.0 is already being developed will CakePHP 1.3
continue to be maintained? If so for how long?
--
Like Us on FaceBook https://www.facebook.com/CakePHP
Find us on Twitter http://twitter.com/CakePHP
---
You received this message because you are subscribed to the Google Grou
*aren't
--
Like Us on FaceBook https://www.facebook.com/CakePHP
Find us on Twitter http://twitter.com/CakePHP
---
You received this message because you are subscribed to the Google Groups
"CakePHP" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to cake
I am having some problems with the find method on a associated model. For
some reason my Declinations are populating in policy/view. I have a model
named Policy, and I have a model named Declinations that is associated with
the Policy model. A policy hasMany Declinations. Now with all of that sa
Hi all,
I am using Postgres for the first time and I am running into problems when
using the Tree behavior on my Page model. I am familiar with the Tree
behavior and have used it many times with MySQL so I know my pages table is
set up correctly.
I can insert new records and the lft, rght and pa
Try: $this->Form->end(array('div'=>false,'text'=>'Send'));
Em sexta-feira, 10 de maio de 2013 01h39min13s UTC-3, Chris escreveu:
>
> hi guys,... how can I removing in Form->end closing, in cakephp 1.3
> ?
> it works with 'div' => false on input and select fields but not on
> Form->end
>
> For
It´s not a rule model have no access to components, you can get it on any
method inside any model using AuthComponent::user('user_id'), that´s why
some components have some static method, an example of this is when you
create a user and need to hash the password before it saves...
on model User
Create a variable in model
for e.g. in User model
var $auth;
and set this variable value from controller's beforeFilter function
$this->User->auth = $this->Session->read('Auth');
now you can access user id in User model this way
$userId =0;
if(!empty($this->auth['User']['id'])) {
$userId =$t
If the model has no access to Ssession data from correct MVC structure how
do you validate user_id in the model when saving records?
Auth saves the user_id in the session when logged in but if you cannot get
that in the model how do you verify the user_id?
--
Like Us on FaceBook https://www.f
why on earth would you want to display a stored password in plain text -
even worse in a profile page?
you prompt the password with mode (that browser caches dont display
it) and you notify the user via email etc and then you store it securely
using sha1 or blowfish and you never ever try t
http://stackoverflow.com/questions/16470035/searching-table-for-null-values
Am Donnerstag, 9. Mai 2013 12:37:15 UTC+2 schrieb Chris:
>
> hi guys,... can anyone help please,...
>
> I trying to search users table werther's user token IS NULL or NOT (what
> it means is user activated, confirmed or
thank you so much for your pointer divyanshu das, i've followed the
tutorial on book, but found a strange things. i can't login with the user
i've inserted via mysql dump. for the users i've input via form can login.
actually i'm generated the code via cake bake (cake bake model all, cake
bake
22 matches
Mail list logo