Apache named parameter problem

By Andy, filed under CakePHP, Apache

I just ran across a rather curious problem, which proved to be pretty fatal. I thought I'd jot a note down so I don't forget and so it can be found by others - it also forms reason #6538 why not to develop with a windows machine :).

The Problem

With a standard (1.2) cake install, the colon (:) will be used as the default separator for named arguments; if you decide...

read more3 comments

  • Making the most of the router

    By Andy, filed under CakePHP, CoreStuff

    The router is the part of Cake which takes your url and splits it up so the dispatcher knows which controller and action to run. In 1.1 that's about all it does, but in 1.2 the router also works the other way around too - you can feed it an array of controller, action and paramters and it will tell you which url that corresponds to. All of cakes url using/generating methods ...

    read more8 comments

«  »