requestAction question

2007-03-22 Thread anuke

Hello there.
I use Cake sessions with database.
When i do requestAction in View i see:
SELECT `cake_sessions`.`data` FROM `cake_sessions` WHERE 
SELECT COUNT(id) AS count FROM `cake_sessions` WHERE `id` 
UPDATE `cake_sessions` SET `data` = .

And if i call 10 requestActions I see it 10 times.
Is there right way to do that?

i use cakephp old version 1.1.6.3264

thanks


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



Re: Regular Expression to find content inside a tag pair

2007-02-13 Thread anuke

$pattern = '/form(.*)\/form/';

On 14 фев, 02:02, Dat Chu [EMAIL PROTECTED] wrote:
 I want to find the content inside of a tag pair.

 Say form tag. What would be the way to achieve this?

 My solution so far is using a regular expression similar to this

 /form[^]*(.*?)/form/


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



Re: What editor do you use for CakePHP?

2007-02-12 Thread anuke

Zend Studio 5.5.0 is good enough

On 12 фев, 15:02, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:
 G'day all,

 Matt from Australia here.  In the past I've done all my PHP coding
 using a text editor such as Wordpad, and then a few years back I've
 begun using Dreamweaver.

 Currently I'm using Dreamweaver 8 and I've found it to be quite good
 when dealing with .php files.  It's not great when editing .thtml
 files though, since it doesn't recognize them as code, and so doesn't
 give you all the nice code colouring and auto-closing of tags, etc...
 At least the automated uploading/downloading is nice.

 What do you use for Cake cooking?


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



Controller's uses and lazy Models

2007-02-12 Thread anuke

Hello.
Can you explain me why i must use $uses in Controller if all Models
are lazy.
Why i can't drop it preference?
and helpers and components

Thank you.


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