# |
Aug 7th 2008, 22:38 |
ronparker |
what about license, may i use cakephp and sell making profit of it? |
# |
Aug 7th 2008, 22:37 |
Jonah |
markstory: it is leaving everything blank... now it looks like a bug in php ill get back to you... |
# |
Aug 7th 2008, 22:34 |
markstory |
however it can be used with components from zend framework or pear if you wish. |
# |
Aug 7th 2008, 22:34 |
markstory |
ronparker: nope, just cake based. |
# |
Aug 7th 2008, 22:34 |
ronparker |
is Cakephp based on Pear or any other framework? |
# |
Aug 7th 2008, 22:34 |
markstory |
to make sure there is something there? |
# |
Aug 7th 2008, 22:33 |
markstory |
are you validating username? |
# |
Aug 7th 2008, 22:33 |
Jonah |
because of this I found a way to hack my own site and create users with a blank username |
# |
Aug 7th 2008, 22:29 |
Jonah |
am i missing something? |
# |
Aug 7th 2008, 22:28 |
Jonah |
this means that you have to manually check that all the fields were passed? |
# |
Aug 7th 2008, 22:28 |
Jonah |
uhh... |
# |
Aug 7th 2008, 22:26 |
Jonah |
it should not return true if not all the required fields are passed to it |
# |
Aug 7th 2008, 22:26 |
Jonah |
why is validates() not validating fields that are not passed to it? this is a security hole |
# |
Aug 7th 2008, 22:19 |
cobol |
well, we'll see |
# |
Aug 7th 2008, 22:19 |
cobol |
yeah. question is if it will remember it if I had get parameters up in the url |
# |
Aug 7th 2008, 22:18 |
markstory |
paginator remembers sort and such. |
# |
Aug 7th 2008, 22:18 |
markstory |
try it find out :) |
# |
Aug 7th 2008, 22:18 |
cobol |
will go away |
# |
Aug 7th 2008, 22:18 |
cobol |
one or the other, either the parameters or the page result |
# |
Aug 7th 2008, 22:18 |
cobol |
but i imagine as soon as i hit submit, or change pages, |
# |
Aug 7th 2008, 22:18 |
cobol |
with a submit action, to filter the properties |
# |
Aug 7th 2008, 22:18 |
cobol |
i'd have a form there |
# |
Aug 7th 2008, 22:18 |
cobol |
well |
# |
Aug 7th 2008, 22:17 |
markstory |
use dogpoo => smelly |
# |
Aug 7th 2008, 22:16 |
cobol |
what i can't find anywhere is how to pass the parameters int he URL |
# |
Aug 7th 2008, 22:16 |
cobol |
i understand how to add the parameters to the query |
# |
Aug 7th 2008, 22:13 |
markstory |
cobol: look up making custom paginators. it can be done. |
# |
Aug 7th 2008, 22:12 |
markstory |
for what? |
# |
Aug 7th 2008, 22:12 |
Snapp |
markstory: whats the convention for cake tho.. I have a feeling its camelCased. |
# |
Aug 7th 2008, 22:11 |
cobol |
it's not possible to pass a parameter and still retain pagination's parameters???? |
# |
Aug 7th 2008, 22:11 |
markstory |
perhaps some custom work. |
# |
Aug 7th 2008, 22:11 |
cobol |
since pagination has all that muck up there |
# |
Aug 7th 2008, 22:11 |
cobol |
i'm not sure how to pass the parameters |
# |
Aug 7th 2008, 22:11 |
cobol |
but |
# |
Aug 7th 2008, 22:10 |
cobol |
yes i get that |
# |
Aug 7th 2008, 22:10 |
markstory |
in your conditions. |
# |
Aug 7th 2008, 22:10 |
markstory |
use 'BETWEEN ? AND ?' => array(date1, date2); |
# |
Aug 7th 2008, 22:10 |
markstory |
cobol: I heard of this thing called php, you could program it in :) |
# |
Aug 7th 2008, 22:06 |
cobol |
so if i have a paginated view, how would i go about setting up something like 'only show records created between these dates' |
# |
Aug 7th 2008, 22:05 |
markstory |
lqdice__: I dunno, about finding out what field. |
# |
Aug 7th 2008, 22:04 |
lqdice__ |
or perhaps have it print out which fields its checking for and which its been submitted |