If the file http://URL/files/example.pdf does not actually exists,
then Cake will try to resolve the url as an controller/action
combination ... that's probably the reason that you get a missing
controller message

On 9/13/06, Dom <[EMAIL PROTECTED]> wrote:
>
> Hi,
>
> How to create a link to a pdf ?
>
> I try this :
> $html->image('image.gif'),"/files/".$doc['path'],array('title'  =>
> $doc['path'],'target'=> '_new'), false, false)
>
> But ... the link don't work http://URL/files/example.pdf
> (error message = missing controller)
>
> Regards,
> Dom.
>
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to