For Programmers: Free Programming Magazines  


Home > Archive > PHP DB > October 2007 > RE: [PHP-DB] php maximum characters in text field









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author RE: [PHP-DB] php maximum characters in text field
Bastien Koert

2007-10-12, 7:00 pm


And how is the table / field of interest configured? 833 will obviously notfit into a 255 varchar field...

Bastien


Subject: RE: [PHP-DB] php maximum characters in text fieldDate: Fri, 12 Oct2007 11:24:14 -0400From: pvanbuskirk@otc.fsu.eduTo: bastien_k@hotmail.com;php-db@lists.php.net






The info he was trying to submit was 883 characters, including spaces (counted in Word). Many times, people have very detailed descriptions they needto send in. Can you think of a way to work around this limitation? Also,what happened when he tried to submit is he got an email back with “Undefined variable” errors wherever the database was supposed to send back info, and no record was created.



From: Bastien Koert [mailto:bastien_k@hotmail.com] Sent: Friday, October 12, 2007 11:12 AMTo: VanBuskirk, Patricia; php-db@lists.php.netSubject: RE: [PHP-DB] php maximum characters in text field

Unless you are using a text field (which holds 64K [mysql]) a normal varchar maxs out at 255 characters Post is limited by the php.ini file amounts (usually in the megabyte range). what is the size of the post? Bastien> Date:Fri, 12 Oct 2007 10:41:15 -0400> From: pvanbuskirk@otc.fsu.edu> To: php-db@lists.php.net> Subject: [PHP-DB] php maximum characters in text field> > Is there a maximum number of character $_POST will/can return from a> text field. I have an online form that was driving me nuts trying to> troubleshoot, as most orders were coming in fine, but this one would> not. I narrowed down to the length of the "customer description" field> which has no limitson the form or in the database. I was told there> was a limit to how much $_POST could return. Can someone advise?> > > > Thanks!> > Trish>



Express yourself with free Messenger emoticons. Get them today!
________________________________________
_________________________
R U Ready for Windows Live Messenger Beta 8.5? Try it today!
http://entertainment.sympatico.msn....wsLiveMessenger
Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com