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
=?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
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
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
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
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
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
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
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
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
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
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
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
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
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
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?
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))
{
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
18 matches
Mail list logo