Re: CAKEPHP PDF File Download Problem MAC PC Safari Browser.

2012-06-05 Thread netors
do this when you output the pdf content: header(Content-type: application/pdf); echo $content_for_pdf; exit(); On Monday, January 2, 2012 12:08:58 AM UTC-6, Arif wrote: Dear All, CAKEPHP Download Problem IN MAC PC Safari Browser : Currently My PDF File Possible to download by Mozilla, IE

Re: CAKEPHP PDF File Download Problem MAC PC Safari Browser.

2012-01-02 Thread Kanwal
=?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

CAKEPHP PDF File Download Problem MAC PC Safari Browser.

2012-01-01 Thread arif hossen
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

Re: File Download Problem

2008-10-29 Thread Smelly_Eddie
Da-Omiete Iboroma I'm not sure why your email didn't make it to the board, but I'll try to answer. The file /etc/my.cnf and /etc/my.ini are interchangeable I believe. Just depends on the naming convention in use. The critical thing is to include the 'group' [mysqld] and to restart mysql

Re: File Download Problem

2008-10-26 Thread Smelly_Eddie
I just discovered that the default value on mysql server is 1MB. You can increase the value by adding the following lines to /etc/my.cnf. [mysqld] max_allowed_packet=8M On Oct 23, 1:49 pm, Smelly_Eddie [EMAIL PROTECTED] wrote: I know your uploading to MySQL, but it might be the php engine that

Re: File Download Problem

2008-10-23 Thread Smelly_Eddie
I know your uploading to MySQL, but it might be the php engine that iss cutting you off. Check max_upload_size in php.ini, it might be set to 1 MB. My site's db only uses a Medium blob, and as you can see I have a 1.3 MB file, among others. 1 [BLOB - 23.7 KiB] 1 [BLOB - 715 B] 1

Re: File Download Problem

2008-10-22 Thread Da-Omiete Iboroma
Thanks but I am using just that. But it cannot upload any file that is more than 999kb. Is there any configuration that I will do to phpmyadmin so that it can upload files that are more than 999kb? Thanks On 10/21/08, Thanga Durai [EMAIL PROTECTED] wrote: If you are using blob data type

Re: File Download Problem

2008-10-21 Thread AD7six
On Oct 20, 3:41 pm, Da-Omiete Iboroma [EMAIL PROTECTED] wrote: Please I am having problem downloading pdf (Acrobat reader) files that I uploaded in mysql database. The file downloads but it does not embed the pdf file in the browser. Instead, it opens the pdf file and make the current

Re: File Download Problem

2008-10-21 Thread Thanga Durai
If you are using blob data type make it as longblob. Thangadurai. On Tue, Oct 21, 2008 at 4:57 PM, AD7six [EMAIL PROTECTED] wrote: On Oct 20, 3:41 pm, Da-Omiete Iboroma [EMAIL PROTECTED] wrote: Please I am having problem downloading pdf (Acrobat reader) files that I uploaded in mysql

File Download Problem

2008-10-20 Thread Da-Omiete Iboroma
Please I am having problem downloading pdf (Acrobat reader) files that I uploaded in mysql database. The file downloads but it does not embed the pdf file in the browser. Instead, it opens the pdf file and make the current page blank Below is the file download code. Pls help me ?php

Re: File Download Problem

2008-10-20 Thread [EMAIL PROTECTED]
As far as I know, it is the browser that decides what to do with a file. You can do the following: header(Content-disposition: inline; filename=$filename); ... but that is no guarantee that the browser will have a acrobat- plugin installed. /Martin On Oct 20, 3:41 pm, Da-Omiete Iboroma [EMAIL

Re: File Download Problem

2008-10-20 Thread Da-Omiete Iboroma
Thanks Martin, I included header(Content-disposition: inline; filename=$filename); but it did not make any difference. Thanks anyway Damelinks On 10/20/08, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: As far as I know, it is the browser that decides what to do with a file. You can do the

Re: File Download Problem

2008-10-20 Thread Thanga Durai
Hi, Just try by removing the below line from the header header( Content -Disposition: attachment; name=$filename ); Thangadurai. On Mon, Oct 20, 2008 at 8:07 PM, Da-Omiete Iboroma [EMAIL PROTECTED]wrote: Thanks Martin, I included header(Content-disposition: inline; filename=$filename); but

download problem

2006-09-11 Thread Aleck
Hi. I'm new in these things, so I need to download install files from repository in Cake forge, but they seem to be damaged. anybody can help me? thanks-- ... lo esencial es invisible a los ojos ... --~--~-~--~~~---~--~~ You received this message because you

Re: download problem

2006-09-11 Thread nate
Try making a donation ;-) Just kidding, it should work fine with or without (but seriously, make a donation haha). I just checked the zip file and it seems fine. Do you ever have issues like this when downloading files? --~--~-~--~~~---~--~~ You received

Re: download problem

2006-09-11 Thread Chris Lamb
Heh, I had this issue too: was copy/pasting the URL from inside Cakeforge to use with wget, and was wondering why it was corrupted! Maybe I should submit a ticket? ;) -- Chris Lamb, Cambs, UK WWW: http://chris-lamb.co.uk Q. Why is top posting bad?

file download problem in cakephp

2006-07-19 Thread srini
Hi, I got the following stand alone php script working for file downloads: ?php $file = C:\\test\\asinglerose8ev.gif; $basename = basename($file); $file_extension = strtolower(substr(strrchr($basename,.),1)); if (!file_exists($file)) {

Re: file download problem in cakephp

2006-07-19 Thread John David Anderson (_psychic_)
On Jul 19, 2006, at 4:23 PM, srini wrote: snip This cakephp method does not work. It is prefixing '\r\n' charecters at the bigining of the downloaded file. So I cannot open image, pdf, doc file. I wasted a lot of time trying to figure out this problem. Please suggest a work around. I