Hi, just two quick notes:
About text and similar fields:
http://mysql.com/doc/S/t/String_types.html
About not storing images:
http://mysql.com/doc/T/i/Tips.html (close to the middle).
That's it :-)
--
Julio Nobrega.
Um dia eu chego lá:
http://sourceforge.net/projects/toca
--
PHP Ge
ROTECTED]]
Sent: Thursday, March 07, 2002 4:10 PM
To: gregory hernandez
Cc: PHP NEWS
Subject: Re: [PHP] php, text file, and mysql
On Thursday, March 7, 2002, at 07:16 PM, gregory hernandez wrote:
> can i insert the actual file (i.e. "document.txt", of course with it
> contents) i
> But for storing images and PDFs or other binary data, there's
> no other way.
Actually, after having some problems with BLOB columns when
mysqldump'ing and moving the data into a new database, I did
find another way. I borrowed a trick from MIME mail handling,
and base64_encod'ed, then chunk_
On Thursday, March 7, 2002, at 07:16 PM, gregory hernandez wrote:
> can i insert the actual file (i.e. "document.txt", of course with it
> contents) into a mysql?
>
> in other words, i don't want to read the contents of the file and
> insert the
> contents into a field in mysql. i want to ins
Are you planning on using MySQL as a filesystem?
There seems to be great confusion here.
Good luck!
--- gregory hernandez <[EMAIL PROTECTED]> wrote:
> hello everyone.
>
> i'm wondering if i can do the following:
>
> FIRST,
> using php, can i create/generate a text file
> on-the-fly (not sav
Erik:
thank for answering my first question:
> the word "file" indicates that this is represented by an entity in a
> filesystem -- thus, it would be saved to a server.
now let me rephrase the second part. what i meant to say was the following:
can i insert the actual file (i.e. "document.txt
On Thursday, March 7, 2002, at 04:30 PM, gregory hernandez wrote:
> i'm wondering if i can do the following:
>
> FIRST,
> using php, can i create/generate a text file on-the-fly (not saved to a
> server)
>
> THEN,
> insert the actual text file (and not its contents) into a mysql
> database.
You can use a string to keep the file content. And then put it the
mysql(probably a BLOB field)
Best regards,
Andrey Hristov
IcyGEN Corporation
On Thursday 07 March 2002 11:30 pm, you wrote:
> hello everyone.
>
> i'm wondering if i can do the following:
>
> FIRST,
> using php, can i create/gen
8 matches
Mail list logo