I heard CakePHP 2.0 will support PHP 5.2 and up..
So it means it won't use the new features I mentioned :\
On Aug 24, 10:29 pm, "j.blotus" wrote:
> in cakephp version 2
>
> version 1 will be the last to support php4
>
> On Aug 24, 2:13 pm, Zippoxer wrote:
>
PHP 5.3 has lots of new features like namespaces, annonymous
functions... And performance is much better than old versions.
Can you see CakePHP supporting PHP 5.3 in the near future?
Check out the new CakePHP Questions site http://cakeqs.org and help others with
their CakePHP related questions.
Yeah but will I have a connection to the database in beforeFIlter()?
On Aug 19, 9:05 pm, Jeremy Burns | Class Outfit
wrote:
> What, you mean like beforeFilter()?
>
> Jeremy Burns
> Class Outfit
>
> jeremybu...@classoutfit.comhttp://www.classoutfit.com
>
> On 19 Aug 2010,
Let's say I have a little game that when you're sleeping, you lose
access to a specific controller.
But this controller has like 7 actions and I don't want to write the
"if($this->is_sleeping()) return;" code in each action.
So I need to create a function in the controller that will run before
any
Okay it works, the problem was that I wrote: print_r($this->data) in
an action instead of in beforeFilter()...
On Aug 17, 7:57 pm, Zippoxer wrote:
> Tried more tons of things, nothing works... :\
>
> On Aug 17, 2:47 pm, Zippoxer wrote:
>
>
>
> > Still the same.
&g
Tried more tons of things, nothing works... :\
On Aug 17, 2:47 pm, Zippoxer wrote:
> Still the same.
> After submiting the login form with test_username/test_password, here
> is print_r($this->data):
> Array ( [Player] => Array ( [name] => test_username [password] => ) )
the same (with 'password' field).
On Aug 17, 2:08 pm, Brendan Farquharson wrote:
> Try enabling 'Session' component as well in your app_controller.php
>
> On 17 August 2010 12:01, Zippoxer wrote:
>
>
>
> > No that's not the problem. The Auth component
No that's not the problem. The Auth component is enabled.
Please what's the problem? I'm waiting two days and can't keep working
with CakePHP...
On Aug 16, 9:37 pm, Zippoxer wrote:
> Ohh, I think that's the problem. It looks enabled, but when I don't
> all
t; 'name',
'password' => 'password'
);
}
}
On Aug 16, 9:13 pm, Miles J wrote:
> Do you have the Auth component enabled?
>
> On Aug 16, 2:04 am, Zippoxer wrote:
>
>
>
> > This is the form code in the view:
That's how my app_controller.php begins:
class AppController extends Controller {
var $components = array('Auth');
On Aug 16, 9:13 pm, Miles J wrote:
> Do you have the Auth component enabled?
>
> On Aug 16, 2:04 am, Zippoxer wrote:
>
>
>
>
x27;);
?>
And in the controller I just do:
print_r($this->data);
Then I see an array with the username and password, but the password
is always empty.
On Aug 16, 6:16 am, Sam wrote:
> We need more info... can you paste your view, and perhaps your
> controller action?
>
> On
I've created a simple authentication form with username and password
input fields.
The problem is that the password is always empty through $this->data
in the controller, but username is not empty.
What's the problem?
Check out the new CakePHP Questions site http://cakeqs.org and help others with
t; Regards,
> Miro
>
> On 8 Sie, 16:44, Zippoxer wrote:
>
>
>
> > I'm trying to create a browser game for few months already. A big
> > journey between the languages made me understand that PHP is the best
> > choice for creating very dynamic systems (like
I'm trying to create a browser game for few months already. A big
journey between the languages made me understand that PHP is the best
choice for creating very dynamic systems (like a browser game).
One of the best browser games ever is powered by Symfony, this game
called eRepublik.
But Symfony i
if that is what you are trying to
> do) would use GamesComponent.
>
> On Aug 4, 1:16 pm, Zippoxer wrote:
>
>
>
> > How can I create another controller called "GameController" and put it
> > to be global?
> > (so all another controllers can extend th
How can I create another controller called "GameController" and put it
to be global?
(so all another controllers can extend this)
Check out the new CakePHP Questions site http://cakeqs.org and help others with
their CakePHP related questions.
You received this message because you are subscribed
16 matches
Mail list logo