Let me see if I get this: You have a url such as
http://localhost/controller/action?url=http://www.example.com/page.html
And all you need to do is populate the url into the form?
If I understand the situation correctly then here is my simple
solution:
echo var_dump($this->params);
This will return an array. What you need will be here.

On Dec 30, 8:39 pm, Steve Mallett <steve.mall...@gmail.com> wrote:
> On Thu, Dec 30, 2010 at 9:26 PM, cricket <zijn.digi...@gmail.com> wrote:
> > On Thu, Dec 30, 2010 at 8:21 PM, Steve Mallett <steve.mall...@gmail.com> 
> > wrote:
> >> More on routing, I think,  if I use an URL with a subdirectory ie.
> >> example.com/dir the "\" appears to break the routing defaulting to
> >> example.com. Any suggestions on dealing with that?
>
> > Are you escaping the URL, actually? You're going to have problems if not.
>
> Well, if I encode example.com/dir as example.com%2fdir cake appears to
> turn it back into example.com/dir... at least in the browser address
> bar (chrome), but still can't deal with it turning it into example.com
> in $url
>
> > Again, why not just add the URL in the form instead of first passing
> > it in the request URL?
>
> I'm trying to prepopulate the url via a bookmarklet which just makes
> saving an URL in the form much faster & easier.
>
> S

Check out the new CakePHP Questions site http://cakeqs.org and help others with 
their CakePHP related questions.

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

Reply via email to