Re: CAKEPHP PDF File Download Problem MAC PC Safari Browser.
arif
Are you using download link on website?Then here is answer
<?php $html->link('Pdf', '/files/myfile.pdf'); ?>
or
<?php echo $html->link('pdf', $this->webroot('files'.DS.'test.pdf'); ?
>
or for newer version of cakephp
<?php echo $html->link('pdf', $html->webroot('files'.DS.'test.pdf'); ?
>
or
<a href="<?php echo $html->url('/files/somefile.pdf'); ?>">Link Text</
a>
On Jan 2, 11:08 am, arif hossen <arifhossen2...@gmail.com> wrote:
> Dear All,
>
> CAKEPHP Download Problem IN MAC PC Safari Browser :
>
> Currently My PDF File Possible to download by Mozilla, IE, Safari from
> windows.
> When i download pdf file from MAC Pc Safari Browser then facing problem.
>
> When i download pdf file from mac safari browser then add extra extension
> .html with pdf file name.
>
> I need to download only .pdf extension file.
>
> Example : myfile.pdf.html
>
> Please Give me Suggestion and Solutions.
>
> --
>
> Regards,
> *Mohammad Arif Hossen
> Software Engineer at
> Japan Bangladesh IT(JABA IT)*
> **Cell: +88 01714355911
> Blog :www.arifhossen.wordpress.com
--
Our newest site for the community: CakePHP Video Tutorials http://tv.cakephp.org
Check out the new CakePHP Questions site http://ask.cakephp.org and help others with their CakePHP related questions.
To unsubscribe from this group, send email to
cake-php+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php

0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
<< Home