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 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
> >  $db_name = "database_name";
> > $table_name = "books_table";
> > $connection = mysql_connect("localhost", "username", "password") or
> > die("couldn't connect.");
>
> As this has nothing to do with using CakePHP, thread closed.
>
> Cheers,
>
> AD
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"CakePHP" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to