# |
Aug 10th 2008, 08:24 |
achew22 |
or 09? |
# |
Aug 10th 2008, 08:24 |
achew22 |
08? |
# |
Aug 10th 2008, 08:24 |
primeminister |
achew22: yep same |
# |
Aug 10th 2008, 08:24 |
primeminister |
only the month and year I want |
# |
Aug 10th 2008, 08:24 |
achew22 |
try /2008/09 |
# |
Aug 10th 2008, 08:24 |
primeminister |
and not /2008/08/08 |
# |
Aug 10th 2008, 08:24 |
primeminister |
yeah |
# |
Aug 10th 2008, 08:24 |
achew22 |
2008/08 |
# |
Aug 10th 2008, 08:23 |
achew22 |
your going to /pasties/08/08 right? |
# |
Aug 10th 2008, 08:22 |
achew22 |
each is a different regular expression so it is going to pull from the wrong spot |
# |
Aug 10th 2008, 08:22 |
primeminister |
hmmm |
# |
Aug 10th 2008, 08:22 |
achew22 |
its a greedy expression |
# |
Aug 10th 2008, 08:22 |
primeminister |
achew22: yeah, the day it is, while I fill in /2008/08 and not 2008/08/08 |
# |
Aug 10th 2008, 08:21 |
achew22 |
so its defaulting day to 8? |
# |
Aug 10th 2008, 08:21 |
primeminister |
but it is strange... |
# |
Aug 10th 2008, 08:21 |
primeminister |
) ah! |
# |
Aug 10th 2008, 08:21 |
achew22 |
that's the starting date for the olympics |
# |
Aug 10th 2008, 08:21 |
primeminister |
olympics? |
# |
Aug 10th 2008, 08:21 |
achew22 |
doing good |
# |
Aug 10th 2008, 08:21 |
primeminister |
achew22: Hi mate! how are you? |
# |
Aug 10th 2008, 08:20 |
achew22 |
primeminister: maybe it likes the olympics? |
# |
Aug 10th 2008, 08:20 |
primeminister |
but it gives me year=2008, month=08, day=08 !! |
# |
Aug 10th 2008, 08:20 |
kalileo |
paramS: this is as you said standad php OOP, you need to use $this->B(); |
# |
Aug 10th 2008, 08:19 |
primeminister |
http://bin.cakephp.org/saved/35958 |
# |
Aug 10th 2008, 08:19 |
primeminister |
routing like /pastes/2008/08 (year/month) |
# |
Aug 10th 2008, 08:18 |
primeminister |
oeps :| |
# |
Aug 10th 2008, 08:18 |
primeminister |
i try to do some routing like /params |
# |
Aug 10th 2008, 08:18 |
kalileo |
golak: then use yourfileld => "'" . $yourstringvar . "'" |
# |
Aug 10th 2008, 08:16 |
paramS |
okie , thanks ... sorry just new out here |
# |
Aug 10th 2008, 08:16 |
paramS |
p |
# |
Aug 10th 2008, 08:16 |
kalileo |
paramS: use the bin for code |
# |
Aug 10th 2008, 08:16 |
primeminister |
try to achieve an example like in the book |
# |
Aug 10th 2008, 08:16 |
kalileo |
paramS: please no code here longer than a oneliner |
# |
Aug 10th 2008, 08:16 |
golak |
kalileo: I am using form helper. it returns me as string |
# |
Aug 10th 2008, 08:15 |
primeminister |
someone has time to take a look at my routing with me? |
# |
Aug 10th 2008, 08:15 |
kalileo |
golak: teh manual says to quote literal values manually, such as "'your string'" |
# |
Aug 10th 2008, 08:15 |
paramS |
} |
# |
Aug 10th 2008, 08:15 |
paramS |
....} |
# |
Aug 10th 2008, 08:15 |
primeminister |
hi! |
# |
Aug 10th 2008, 08:15 |
paramS |
.......... do something; |
# |
Aug 10th 2008, 08:15 |
paramS |
....function B (....) { |