Re: [PHP] php, text file, and mysql

2002-03-07 Thread Andrey Hristov
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/generate

Re: [PHP] php, text file, and mysql

2002-03-07 Thread Erik Price
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. Sorry,

Re: [PHP] php, text file, and mysql

2002-03-07 Thread gregory hernandez
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, of

Re: [PHP] php, text file, and mysql

2002-03-07 Thread Anas Mughal
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 saved to a

Re: [PHP] php, text file, and mysql

2002-03-07 Thread Erik Price
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 insert the

RE: [PHP] php, text file, and mysql

2002-03-07 Thread Jason Murray
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

RE: [PHP] php, text file, and mysql

2002-03-07 Thread Darren Gamble
: 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) into a mysql? in other words, i

Re: [PHP] php, text file, and mysql

2002-03-07 Thread Julio Nobrega
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