# |
Aug 6th 2008, 16:32 |
xhenxh1 |
noob question: I have a model, but one of my forms passes and array and I need a string out of the array. How to I specify what it should use on the save routine? |
# |
Aug 6th 2008, 16:32 |
TommyO |
and what is used for non-logged-in user? |
# |
Aug 6th 2008, 16:32 |
TommyO |
castroalves: how do they login? http AUTH or cake-based stuff? |
# |
Aug 6th 2008, 16:32 |
francky06l |
Swiatecki: you do not need with windows in 5.2, I guess you have got the wrong path in your PATH |
# |
Aug 6th 2008, 16:32 |
Swiatecki |
operable program or batch file. |
# |
Aug 6th 2008, 16:32 |
Swiatecki |
'php' is not recognized as an internal or external command, |
# |
Aug 6th 2008, 16:32 |
castroalves |
I mean... each client... |
# |
Aug 6th 2008, 16:31 |
castroalves |
yes... |
# |
Aug 6th 2008, 16:31 |
TommyO |
Swiatecki: php --version |
# |
Aug 6th 2008, 16:31 |
Swiatecki |
nope.. so its cant find php.. how do I check if ive got a CLI verison of php? |
# |
Aug 6th 2008, 16:31 |
TommyO |
each web user gets his own complete db? |
# |
Aug 6th 2008, 16:31 |
castroalves |
see you? |
# |
Aug 6th 2008, 16:31 |
francky06l |
castroalves: isUnique does not do this ? |
# |
Aug 6th 2008, 16:31 |
castroalves |
each user is a different client... |
# |
Aug 6th 2008, 16:31 |
castroalves |
In fact, a user is a client... |
# |
Aug 6th 2008, 16:31 |
francky06l |
Swiatecki: just get a "dos box" and type "php -v" ... do you get something ? |
# |
Aug 6th 2008, 16:31 |
castroalves |
no... unique username... |
# |
Aug 6th 2008, 16:30 |
TommyO |
castroalves: what determines the uniqueness of the "user"? different urls? |
# |
Aug 6th 2008, 16:30 |
castroalves |
How can I do it? |
# |
Aug 6th 2008, 16:30 |
castroalves |
So, when the user connect to it, the app should identify the respective database and connect to it... |
# |
Aug 6th 2008, 16:29 |
Swiatecki |
ive added C:\wamp\bin\php\php5.2.6\ and C:\wamp\www\kage\cake\console\ to my path.. stil, the error about dont knowing php |
# |
Aug 6th 2008, 16:29 |
castroalves |
-D |
# |
Aug 6th 2008, 16:29 |
francky06l |
TommyO: I know, nobody is perfect, but hope is good:-) |
# |
Aug 6th 2008, 16:29 |
castroalves |
you are so funny... |
# |
Aug 6th 2008, 16:28 |
TommyO |
it's funny 'cause it's true |
# |
Aug 6th 2008, 16:28 |
TommyO |
haha |
# |
Aug 6th 2008, 16:28 |
francky06l |
castroalves: so far so good, so many app never been used:-) |
# |
Aug 6th 2008, 16:27 |
francky06l |
TommyO: I am sure it is, but did not see the question :-) I know I am curious :-) |
# |
Aug 6th 2008, 16:27 |
TommyO |
francky06l: oh you mean my answer isn't correct? ;) |
# |
Aug 6th 2008, 16:27 |
francky06l |
castroalves: what issue :-) ? |
# |
Aug 6th 2008, 16:26 |
francky06l |
Swiatecki: check where is your wamp/php and set it in your path, I guess using the "system" and environment variables .. (as I remember) |
# |
Aug 6th 2008, 16:26 |
TommyO |
apply. rinse. repeat. |
# |
Aug 6th 2008, 16:25 |
castroalves |
So... Let's go to my issue |
# |
Aug 6th 2008, 16:25 |
castroalves |
hahah |
# |
Aug 6th 2008, 16:25 |
castroalves |
CakeSilviaSaint could be cool... |
# |
Aug 6th 2008, 16:25 |
Swiatecki |
the php dir, would be the one with php.exe in right? |
# |
Aug 6th 2008, 16:24 |
francky06l |
Swiatecki: I do not know wamp, but basically you have to set the php directory in your path has well as the cake/console |
# |
Aug 6th 2008, 16:24 |
renan_saddam |
TommyO: please, include in the next CakeBot generation basic answer. :) |
# |
Aug 6th 2008, 16:24 |
lqdice__ |
lol |
# |
Aug 6th 2008, 16:23 |
TommyO |
CakeBabe I think it was :) |
# |
Aug 6th 2008, 16:23 |
renan_saddam |
CakeBot: how are you? |