Yes, my understanding is that controller and action names are
case-sensitive. In your example, you'll want to use the following names:
User::login()
That is, the class name should by "User" in the file "User.php" and the
function name for the action should be "login".
On Tue, Apr 8, 2008 at 4:12 PM, Bill <[EMAIL PROTECTED]> wrote:
> Thanks Bradley. The question is that I only use controllers and actions in
> my code, for example:
>
> <form action="<?php echo $this->url(array('controller'=>'user',
> 'action'=>'login')); ?>" method="post">
>
> Are names of controllers and names of actions case-sensitive?
>
> Thank you very much
>
>
>
> On Tue, Apr 8, 2008 at 1:57 PM, Bradley Holt <[EMAIL PROTECTED]>
> wrote:
>
> > Linux is case-sensitive and Windows is not. This is the most likely
> > culprit. Check the case of all your controllers and actions.
> >
> > On Tue, Apr 8, 2008 at 3:52 PM, xing93111 <[EMAIL PROTECTED]> wrote:
> >
> > >
> > > I develop a bunch of code using ZF under XP. On Linux machine, the
> > > code
> > > cannot find the requested controller and action, but on Windows XP, it
> > > can.
> > > It seems weired.
> > >
> > > Thanks
> > > --
> > > View this message in context:
> > > http://www.nabble.com/The-same-code-can-run-on-Windows-but-not-Linux-tp16571585p16571585.html
> > > Sent from the Zend Framework mailing list archive at Nabble.com.
> > >
> > >
> >
> >
> > --
> > Bradley Holt
> > [EMAIL PROTECTED]
> >
> >
>
--
Bradley Holt
[EMAIL PROTECTED]