Re: flash() produces wrong URL

2007-09-14 Thread imrankhanjoya

try this one
$this->flash("--String message to dispay--","/---Name of
controller-/---Name of action---/-
perameters---")
$this->flash("text,"/article/4545/");


--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups "Cake 
PHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~--~~~~--~~--~--~---



Re: flash() produces wrong URL

2007-09-14 Thread Anuj Chauhan
write


$this->flash("text","/article/4545/");

instead od
$this->flash("text,"/article/4545/");






On 9/14/07, Sergei <[EMAIL PROTECTED]> wrote:
>
>
> Hello,
>
> I've encountered situation where
>
> $this->flash("text,"/article/4545/");
>
> produces wrong url on the production web server (not on my local
> webserver!):
>
> \/article\/4545\/
>
> You see, it inserts \ before /.
>
> Anyone knows a solution?
>
>
> >
>

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups "Cake 
PHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~--~~~~--~~--~--~---



flash() produces wrong URL

2007-09-14 Thread Sergei

Hello,

I've encountered situation where

$this->flash("text,"/article/4545/");

produces wrong url on the production web server (not on my local
webserver!):

\/article\/4545\/

You see, it inserts \ before /.

Anyone knows a solution?


--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups "Cake 
PHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~--~~~~--~~--~--~---