Storing large amounts of text in db
| From: | Aaron Axelsen | Date: | Tue, 08 Jul 2003 06:21:30 +0000 |
| Subject: | Storing large amounts of text in db | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-154309@lists.php.net to get a copy of this message | ||
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
I am working on some scripts that will allow for uploading of files
that will then be stored in a database with the ability to be listed
and searched.
What im wondering, is if I have a user upload a file in txt, or doc
format if there is an easy way to read that file, store the
information in the database so it is easily accessable later.
I thinkg that longtext would be the right mysql option for me.
One problem I need to conquer is how to maintain formatting in the
documents.
Any suggestions and comments are welcome. Thanks.
- ---
Aaron Axelsen
AIM: AAAK2
Email: axelseaa@amadmax.com
Want reliable web hosting at affordable prices?
www.modevia.com
Web Dev/Design Community/Zine
www.developercube.com
-----BEGIN PGP SIGNATURE-----
Version: PGPfreeware 7.0.3 for non-commercial use <http://www.pgp.com>
iQA/AwUBPwpi6brnDjSLw9ADEQLiBQCgmXYiAR5kMVUggxZv57w88ahtTigAoJp4
OjB7NpviuXTu3+c9s1czzRPl
=l8OI
-----END PGP SIGNATURE-----