HI Nofa,

When you say submit the file, do mean as a TXT file via a file upload field?
If so, not sure what to do with the file once it's been uploaded. Do I read
the file using fopen(), then just put this into a var that can be stored in
the DB? Hmmm... sounds like a good solution.


> From: [EMAIL PROTECTED] (Nofa)
> Reply-To: "nofa" <[EMAIL PROTECTED]>
> Newsgroups: php.general
> Date: Sat, 14 Dec 2002 20:00:45 +1300
> Subject: Re: Text Fields - How Big Can They Be?
> Have you considered allowing them to submit the actual file? rather than all
> the text within. It may not be exactly what you're after, but its one way :]
> ----- Original Message -----
>> Hi Guys... This is indirectly related to PHP: Does anyone know the max
>> amount of text a free-form HTML text field can handle?
>> I noticed that for some longer articles we're storing in a content
>> management system written with PHP, we were unable to paste the body of
> the
>> article into the text field because there was too much text. When we pared
>> the text down, it was no problem.
>> This is bad news for a content management system! We have some longer
>> articles, around 8-10 HTML pages, and now I have no idea how we are going
> to
>> get them into the system using an HTML form. I really don't want to have
> to
>> do this manually in MySQL. That would make me break down and start
> sobbing.
>> Has anyone else dealt with this and found a solution?
>> Thanks a lot!
>> Monty

PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to