#1
  1. No Profile Picture
    Junior Member
    Devshed Newbie (0 - 499 posts)

    Join Date
    Jul 2000
    Posts
    3
    Rep Power
    0
    If I post data via a HTML/PHP form to a MySQL database (using POST or GET) it is posible that (if I pass a huge text block) the size of the content of a <textarea> field can exceed the maximum string length of a browser URL resulting in only a cut-down version of the content going into the database :-(

    How does one get around that so that even large (64k+) text can be input into the database via PHP/HTML forms?

    Thanks for the clarification.

    Sincerely,
    David
  2. #2
  3. No Profile Picture
    Junior Member
    Devshed Newbie (0 - 499 posts)

    Join Date
    Jul 2000
    Location
    Aalborg, Denmark
    Posts
    9
    Rep Power
    0
    By using <form method=post ...>, or am I missing something? I thought only the get method was using the URL to communicate with the server.
  4. #3
  5. .Net Developer
    Devshed Novice (500 - 999 posts)

    Join Date
    Feb 2000
    Location
    London
    Posts
    987
    Rep Power
    15
    David,


    How does one get around that so that even large (64k+) text can be input into the database via PHP/HTML forms?

    if you are using a post method ..it will be sending your form datas to the php program for database updation..Your database field should be text or blob type to receive huge text block....





    ------------------
    SR -
    webshiju.com

    "The fear of the LORD is the beginning of knowledge..."

Similar Threads

  1. Replies: 3
    Last Post: February 11th, 2004, 08:30 AM
  2. mysql data lost
    By imola in forum MySQL Help
    Replies: 1
    Last Post: February 10th, 2004, 07:39 AM
  3. Replies: 1
    Last Post: February 5th, 2004, 06:17 AM
  4. Replies: 0
    Last Post: January 30th, 2004, 08:46 PM
  5. Need help with posting data onto a form
    By onLOoker in forum Perl Programming
    Replies: 2
    Last Post: January 25th, 2004, 08:58 PM

IMN logo majestic logo threadwatch logo seochat tools logo