RE: IRC log mirroring to GG?
Why should the IRC logs be spammed onto GG ? I don't see the point in that :) --- Christian "Jippi" Winther http://docs.cakephp.nu (Unofficial CakePHP API) http://logs.cakephp.nu (Unofficial CakePHP IRC log) -Original Message- From: cake-php@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf Of R. Rajesh Jeba Anbiah Sent: 24. juli 2007 15:11 To: Cake PHP Subject: Re: IRC log mirroring to GG? On Jul 24, 5:07 pm, "Christian \"Jippi\" Winther" <[EMAIL PROTECTED]> wrote: > See my signature :) > http://logs.cakephp.nu(Unofficial CakePHP IRC log) Yes, this what I'm using now. While it's very usable with hotlinking feature, I still believe that GG will be little more faster than it:) -- Email: rrjanbiah-at-Y!comBlog: http://rajeshanbiah.blogspot.com/ --~--~-~--~~~---~--~~ 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: IRC log mirroring to GG?
See my signature :) --- Christian "Jippi" Winther http://docs.cakephp.nu (Unofficial CakePHP API) http://logs.cakephp.nu (Unofficial CakePHP IRC log) -Original Message- From: cake-php@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf Of R. Rajesh Jeba Anbiah Sent: 24. juli 2007 13:31 To: Cake PHP Subject: IRC log mirroring to GG? I think, it will be nice if the IRC logs are mirrored to some google groups (say, cake-php-irc). This way, one could easily search and find some useful discussions. -- Email: rrjanbiah-at-Y!comBlog: http://rajeshanbiah.blogspot.com/ --~--~-~--~~~---~--~~ 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 -~--~~~~--~~--~--~---
ionCube's encoder and CakePHP
Hello Does ionCube's encoder works okay with CakePHP ? /Regards Christian Winther Nb. This is ment as a phun ! --~--~-~--~~~---~--~~ 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: Helpers inside Helpers
output = $this->Form->input(...); } } Remember the '$this->' Its not a view where it get injected as a local variable :) --- Christian "Jippi" Winther http://docs.cakephp.nu (Unofficial CakePHP API) http://logs.cakephp.nu (Unofficial CakePHP IRC log) -Original Message- From: cake-php@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf Of [EMAIL PROTECTED] Sent: 17. juli 2007 10:22 To: Cake PHP Subject: Helpers inside Helpers Hi to all, I'm writing a helper and I need to use a form helper inside this. ex: $this->output = $form->input('imagen', array('type' => 'file' )); But I get the next error: Notice (8): Undefined variable: form I've tried to set helpers array in the beggining of the helper like: output = $form->input('imagen', array('type' => 'file' )); or: $this->output = $this->form->input('imagen', array('type' => 'file' )); But always have an error. I'm using the last 1.2 alpha release. Anyone know what can i do? Thanks for advance! faemino. PD: Sorrry for my poor English. --~--~-~--~~~---~--~~ 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: Too much cake magic in ff browser?
Do you use requestAction ? :) --- Christian "Jippi" Winther http://docs.cakephp.nu (Unofficial CakePHP API) http://logs.cakephp.nu (Unofficial CakePHP IRC log) -Original Message- From: cake-php@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Grzegorz Pawlik Sent: 15. juli 2007 17:34 To: Cake PHP Subject: Too much cake magic in ff browser? Hi, i found this strange behaviour. When accesing page via firefox 1.5 it acts like it has been reloaded few times (3 exactly). Prove: I've put this code in beforeFilter in /app/app_controller.php : $count = $this->Session->read('count'); $count[] = time(); $this->Session->write('count', $count); $count = $this->Session->read('count'); debug($count); Its quite simple- it adds actual time in $count array and stores it in a session, and dumps it. When reloading page in ff 1.5 $count array grows by 3 elements more, and sometimes they can have exact timestamp (two reloads within 1 second). When reloading the same page on Opera or IE6 $count grows inly by one element each time. You can ask: where's magic? This is goog one: when i have few tabs opened (one with my page, and some other stuff) and switch betwen page i work on, and other, and back (lets say: n times). Then i reload again and see that $count array grew by 3+n elements (!!!). Does anybody know an issue with ff that could explain that? Can anybody refact this issue? This bug stops my brute-force and captcha from working (i have junk in session instead of correct data). Thanks for Your attention Grzegorz --~--~-~--~~~---~--~~ 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: Tip O' the Day
Hehe, good snippet indeed - sounds like forward404If() from symfony ;) --- Christian "Jippi" Winther http://docs.cakephp.nu (Unofficial CakePHP API) http://logs.cakephp.nu (Unofficial CakePHP IRC log) -Original Message- From: cake-php@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf Of rtconner Sent: 12. juli 2007 18:25 To: Cake PHP Subject: Tip O' the Day This is a great little function to drop into your app_controller. I use it all the time, makes life just a little bit easier. Thought I'd share it with you all. /** * @param string $model Proper name of model * @param int $id optional primary id of model * @return array $data from Model::read() */ function readOr404($model, $id=null) { if($id) $this->{$model}->id = $id; if($data = $this->{$model}->read()) { return $data; } else { $this->cakeError('error404', array($this->params['url'])); die; } } --~--~-~--~~~---~--~~ 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: Does cakephp support transaction now?
Hello For CakePHP 1.2 you can use my model behavior http://bakery.cakephp.org/articles/view/transaction-behavior (Should work with most databases, though it was developed for MySQL innodb) If you do not wish to use it (Might be overkill for some people), you should be able to do just $this->ModelName->begin(); $this->ModelName->commit(); $this->ModelName->rollback(); Since the overloaded php4/5 model base class is using the magic method __call that just pass unknown commands for the model directly to the SQL server as a command --- Christian "Jippi" Winther http://docs.cakephp.nu (Unofficial CakePHP API) http://logs.cakephp.nu (Unofficial CakePHP IRC log) From: cake-php@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Larry E. Masters aka PhpNut Sent: 8. juli 2007 18:37 To: cake-php@googlegroups.com Subject: Re: Does cakephp support transaction now? On 7/8/07, sTb <[EMAIL PROTECTED]> wrote: Read the fucking manuall! if you want to use more models in your application read http://manual.cakephp.org/chapter/models This will be the first and only warning, let it happen again and I will ban you. There is no reason to use this language in the group. -- /** * @author Larry E. Masters * @var string $userName * @param string $realName * @returns string aka PhpNut * @access public */ --~--~-~--~~~---~--~~ 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 -~--~~~~--~~--~--~---