How can you show a pdf file within a view without setting the header to pdf.
I tried to embed it like this: <EMBED SRC="<?php echo $html->url('/app/webroot/files/userfile/'. $uploads['FileUpload']['subdir'].'/'.$uploads['FileUpload'] ['file_name']);?>#toolbar=0&statusbar=0&messages=0&navpanes=0" HEIGHT=450 WIDTH=555> <NOEMBED> Your browser does not support embedded PDF files. </NOEMBED> </EMBED> But that doesn't work because of the routing >> says controller not found. Is there a way around? Thnx in advance --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---