Log message #108881

# At Username Text
# Aug 7th 2008, 05:59 poluta1 yeaaaa back to old way :D
# Aug 7th 2008, 05:59 poluta1 wewww... :D it is so difficult creating custom model validation for captcha
# Aug 7th 2008, 05:49 zeen anyone got a jaiku account so they can invite me?
# Aug 7th 2008, 05:34 primeminister sorry, was a bit off
# Aug 7th 2008, 05:34 primeminister alkemann: no need for extra security in query
# Aug 7th 2008, 05:34 alkemann heh ok
# Aug 7th 2008, 05:34 primeminister alkemann: you are right. that is. so... :) my bad
# Aug 7th 2008, 05:34 alkemann primeminister: eh.. makes no sense to me.. the id field is unique
# Aug 7th 2008, 05:33 batcoder-7 alkemann: that can only do soo much
# Aug 7th 2008, 05:33 primeminister alkemann: I want to have an extra AND in that WHERE clause like: AND accountid=12
# Aug 7th 2008, 05:33 alkemann w3schools batcoder-7
# Aug 7th 2008, 05:32 batcoder-7 man i wish i knew CSS MUCH better damn shit
# Aug 7th 2008, 05:32 primeminister alkemann: That is placed in the WHERE clause of that UPDATE query
# Aug 7th 2008, 05:32 primeminister alkemann: Normally when get an UPDATE query in cake you pas an valid id right?
# Aug 7th 2008, 05:31 alkemann i still have no idea what u wanna do
# Aug 7th 2008, 05:30 primeminister I can do it in the code, but wondering if this is possible
# Aug 7th 2008, 05:29 primeminister so extra security in the UPDATE statement
# Aug 7th 2008, 05:29 primeminister default: UPDATE x SET skinid=2 WHERE id=12; Extra wish AND accoutnid=12345
# Aug 7th 2008, 05:29 alkemann primeminister: what are you trying to achieve?
# Aug 7th 2008, 05:28 primeminister wondering if I can change the where class in an UPDATE query
# Aug 7th 2008, 05:28 primeminister__ hi!
# Aug 7th 2008, 05:27 poluta1 i'am not trying your function matchCaptcha (and$model, $isSetCaptcha, $captchaText) { .. } yet
# Aug 7th 2008, 05:26 Martz i gtg in a min
# Aug 7th 2008, 05:26 Martz then go from there
# Aug 7th 2008, 05:26 Martz just to make sure your passing it
# Aug 7th 2008, 05:26 Martz in beforeFind() or something
# Aug 7th 2008, 05:26 Martz poluta1: debug it to keep simple, get your property from the controller into the model and pr() it
# Aug 7th 2008, 05:26 poluta1 i'am not trying your function matchCaptcha (and$model, $isSetCaptcha, $captchaText) { .. } yet
# Aug 7th 2008, 05:25 poluta1 how to test property value?
# Aug 7th 2008, 05:25 poluta1 but still not work
# Aug 7th 2008, 05:25 poluta1 Martz: yes i have to change it
# Aug 7th 2008, 05:24 jessy_ is there a way to get the table prefix for the current database configuration in a controller ?
# Aug 7th 2008, 05:24 Martz poluta1: you changed it? whats the error again?
# Aug 7th 2008, 05:22 achew22 I don't know -- let me think for a little while
# Aug 7th 2008, 05:22 achew22 I could do it in 1 query I think...
# Aug 7th 2008, 05:22 achew22 oh
# Aug 7th 2008, 05:22 alkemann achew22: i was thinking step 1 as with just the log table and no shadow table
# Aug 7th 2008, 05:21 poluta1 Martz: Yeaaa... i have do that. But still not working
# Aug 7th 2008, 05:20 achew22 alkemann: Select `columns`, `enumerated`, ((SELECT count(1) WHERE `id` = '$thisId') + 1) as `version` INTO `ShadowTable` from `OrigionalTable`
# Aug 7th 2008, 05:19 jessy_ is there a way to get the current database config in a controller ?
# Aug 7th 2008, 05:19 jessy_ Hi