Bug: flaws in email validation/sending

2016-01-29 Thread Kim
- CakePHP's email validation allows non-ASCII letter characters, e.g. á, in the local part of the email address (by the \p{L} unicode category construct). This should not be allowed, see https://en.wikipedia.org/wiki/Email_address#Local_part. - It also allows non-ASCII lette

Re: Muiti database in cakephp 1.3

2014-07-03 Thread tuan kim
atabase to use by adding > the var $useDbConfig = 'databaseConfigName' property. > > > > > On 3 July 2014 04:43, tuan kim > wrote: > >> hi there, >> I have a problem. I have 2 webiste with 2 database seperately, but they >> run on one server. I

Muiti database in cakephp 1.3

2014-07-02 Thread tuan kim
hi there, I have a problem. I have 2 webiste with 2 database seperately, but they run on one server. I have one database to store user information, and one database store others information (news, product...). Now I want to use multi database so I can access user information form the other webs

Re: pagination on cakephp 1.3

2014-05-19 Thread tuan kim
nual/Developing-with-CakePHP/Views.html#layouts > ) > > And then make sure you set the title in your layout > > > > Regards > Reuben Helms > > On Wednesday, 14 May 2014 14:15:59 UTC+10, tuan kim wrote: >> >> hi , >> Thanks for you support always, >> I have a p

pagination on cakephp 1.3

2014-05-14 Thread tuan kim
hi , Thanks for you support always, I have a problem with Pagination, When I use CakePHP Pagination I get the default url like this: localhos/posts/index/ and the title of website is " design website " when I click to page number 4, the title is still "design website " But I want the title when

Re: debug level on ajax request

2011-08-25 Thread stas kim
oops. it's not on boot strap only. my bad. On Thu, Aug 25, 2011 at 12:47 PM, stas kim wrote: > it's probably because of this line > https://github.com/cakephp/cakephp/blob/master/cake/libs/configure.php#L119 > which is executed on bootstrap. meaning even if you change debug le

Re: debug level on ajax request

2011-08-25 Thread stas kim
it's probably because of this line https://github.com/cakephp/cakephp/blob/master/cake/libs/configure.php#L119 which is executed on bootstrap. meaning even if you change debug level later in your controller it will only effect Debugger class behavior cheers On Wed, Aug 24, 2011 at 11:21 AM, Ben

Re: Custom Find sending back strange results

2011-04-30 Thread stas kim
i can tell where the errors come from in you __getComments you overwrite $query with actual dataset returned by Comment->find which is wrong because the $query var is passed to Model->find and it gets confused with your data what you need to do is build a proper contain $query['contain'] = array(

Re: Query with conditions in HABTM models

2011-04-30 Thread stas kim
Hello David, the solution you came up with is rally BAD!!! people burn in hell for code like that. seriously look at what you are doing 1. you select all records from your linking table (which is double the size of your posts table. assuming every post has 1-4 tags on average) in one query. insan

Re: should teacher and student stay together???

2011-04-30 Thread stas kim
i believe the term your are looking for is 'self referential habtm' goole for it. there are plenty examples On Fri, Apr 29, 2011 at 1:53 PM, cricket wrote: > On Fri, Apr 29, 2011 at 11:28 AM, Tan Cheng wrote: >> Hi all, >> >> A very basic question, I naively believe that there's no dumb >> quest

Re: set paginator last page as default?

2011-04-18 Thread stas kim
1; } so i would say 'last' is built in option On Mon, Apr 18, 2011 at 4:38 PM, lucas wrote: > Thanks stats kim, i already know about that solution. It seems there > is nothing built in at core level to achieve this. > It´s not an elegant solution but it works fi

Re: Does pagination with custom urls really sucks?

2011-04-18 Thread stas kim
i think you need to make your route greedy OR add another route with page param, you will need to keep both routes one for default location and one for paged On Mon, Apr 18, 2011 at 1:29 PM, huoxito wrote: > im not able to make route class and paginator helper work as i want too i > guess. > if

Re: Validation errors only working in Add form, but not in Edit form.

2011-04-18 Thread stas kim
a) use http://bin.cakephp.org or other bin of preference to show your code b) Model::save() validation parameter defaults to true, no need to force it c) number of reasons why you don't see messages you may not print it in the view - compare your add and edit views or your validation rules 'on' opt

Re: set paginator last page as default?

2011-04-18 Thread stas kim
What you can do is set page parameter in your controller to 'last' or some huge number larger than projected page count. And it will miraculously bring you to the last page. whatever that last page's number is. That is the way Controller::paginate works in 1.3 On Mon, Apr 18, 2011 at 3:42 PM, l

Re: URL Case

2011-04-14 Thread stas kim
This might help http://www.pseudocoder.com/Super_Awesome_Advanced_CakePHP_Tips.pdf search 'Case Insensitive' On Thu, Apr 14, 2011 at 3:00 PM, cricket wrote: > On Thu, Apr 14, 2011 at 2:08 PM, Krissy Masters > wrote: >> Thanks for the link. Its for Apache, I am on nginX but thanks all the same.

View this page "CakePHP In The Wild"

2008-06-14 Thread Kim F
I noticed i forgot to add my links in alphabetical order, also moved another link i saw mas misplaced Click on http://groups.google.com/group/cake-php/web/cakephp-in-the-wild - or copy & paste it into your browser's address bar if that doesn't work. --~--~-~--~~~---~--

View this page "CakePHP In The Wild"

2008-06-10 Thread Kim F
Just put in some of my cakephp pages Click on http://groups.google.com/group/cake-php/web/cakephp-in-the-wild - or copy & paste it into your browser's address bar if that doesn't work. --~--~-~--~~~---~--~~ You received this message because you are subscribed to th

Re: Tools for merging directories

2008-06-06 Thread Kim F
I use piston for my vendor branching needs, really works perfectly. http://piston.rubyforge.org/ On Jun 6, 8:25 am, "David Zentgraf" <[EMAIL PROTECTED]> wrote: > Oh, of course, deleting them in the Finder shouldn't be too hard. I > was too fixated on the CLI. I'll try it when I get home. > > On 6