Re: storing PDF in a database
| From: | Jason Cox | Date: | Sun, 24 Mar 2002 17:11:03 +0000 |
| Subject: | Re: storing PDF in a database | ||
| References: | 1 | Groups: | php.db |
| Request: | Send a blank email to php-db+get-17868@lists.php.net to get a copy of this message | ||
You'd want to use a BLOB field to store it. It would be stored as raw data
in the db. For an example, go find a tutorial on how to store images in the
database. It would work the same way.
Jason Cox
----- Original Message -----
From: "Alain DESEINE" <alain@cabinfo.com>
To: <php-db@lists.php.net>
Sent: Sunday, March 24, 2002 2:32 AM
Subject: [PHP-DB] storing PDF in a database
> Hello,
>
> For many different reasons, like security ans soùme other one, i need to
> store PDF files in a database.
>
> - Does anybody have already do this ?
> - What kind of field type should i use (image filed type ???) ?
>
> I'm currently using an ASE 12 (64 bits) SYBASE server on a HP-UX 11.00
> (64 bits) box.
>
> The application server is a linux server with apache and PHP.
>
> Any feedback about doing somethin like this will be valuable ...
>
> Many thanks for responses.
>
> Best regards,
>
> Alain DESEINE.
>
>
> --
> PHP Database Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>
>