RE: [PHP-DB] Limitations on sending text to a database via text area forms

2002-04-22 Thread David Robley

In article [EMAIL PROTECTED], 
[EMAIL PROTECTED] says...
 --- Gurhan Ozen [EMAIL PROTECTED] wrote:
  This more of sounds like there is a discrepancy in internet
  explorer 6 ? If
  you don't have other versions/brands of browser than i.e. 6 in your
  machine
  Can you give the web page out so that i can try it with i.e. 5.5
  and NS 6 ?
  If it works in other browsers it is definitely something in i.e. 6
  ...
  
  Gurhan
 
 
 I believe the problem is that I'm using GET instead of POST to submit
 the form. Unfortunately, I chose to use GET at the PREVIEW stage of
 the process so that users can use the browser BACK button to make
 changes. 
 
 Now I get to decide whether size of the message in the textarea
 matters enough to rewrite the PREVIEW part of the process. It would
 be fairly simple to POST to a temporary table and then retrieve the
 posted data if the user wants to edit the text.
 
 The portion of the site I'm building is adapted from the postcard
 feature at http://jomari.com/dad and http://jomari.com/rail. 
 
 
 John Hughes

John

You might want to consider submitting to the 'same' script so you can 
redisplay the posted data; set some sort of structure in your script 
that, say detects that the submit button has been pressed and act 
accordingly.

-- 
David Robley
Temporary Kiwi!

Quod subigo farinam

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




RE: [PHP-DB] Limitations on sending text to a database via text area forms

2002-04-17 Thread Beau Lebens

could you perhaps save the contents directly into a file, then read the file
into the database?

I know for a fact (http://www.dentedreality.com.au/webpad/) that you can use
a textarea to pump more info than that into a file, but haven't tried doing
it straight into a database.

HTH

Beau

// -Original Message-
// From: John Hughes [mailto:[EMAIL PROTECTED]]
// Sent: Wednesday, 17 April 2002 3:03 PM
// To: [EMAIL PROTECTED]
// Subject: [PHP-DB] Limitations on sending text to a database via text
// area forms
// 
// 
// I am attempting to build a Web site that will allow users to 
// create simple
// text documents that will be stored in a database. I had been 
// assuming I
// could use a textarea form and have PHP pass it to a mySQL database.
// However, when I attempted to send  a 393 word (2,216 
// characters) text block,
// the browser (I.E. 6) refused to move.  I got no error or 
// other indication of
// trouble.  When I cut the text down under 275 words (1,531 
// characters), the
// form was allowed to be submitted, stored and retrievable
// 
// Is this the limit on passing textarea form fields?
// 
// And more to point of this mailing list, what alternatives 
// might I use to
// circumvent this limit?
// 
// I need to keep the creation of these documents as simple as possible.
// Anything more than copying and pasting is going to cause 
// trouble more me.
// 
// John Hughes
// 
// 
// -- 
// PHP Database Mailing List (http://www.php.net/)
// To unsubscribe, visit: http://www.php.net/unsub.php
// 

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