Re: Strings Truncated

From: Date: Thu, 12 Oct 2000 18:53:19 +0000
Subject: Re: Strings Truncated
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-19862@lists.php.net to get a copy of this message
On Thu, 12 Oct 2000, James Crowley wrote: > Hi, > I am using PHP4, and SQL Server 7.... I have created a table for storing > all the articles on my site, but when I attempt to add a new item from a php > form, the string gets truncated.... the datatype is 'text', so that has a > max len of 2 million chars, and this is only 4000.... is this a limitation > of php? > > - James Does it get truncated befor or after it goes into the DB? I'm guessing the data is being put into a Textarea then submitted to your script? It might be a limitation on the Textarea if this is the case, but 4000 chars seems pretty low. I've got a system in place on my website where I can edit all the pages via an HTML form and enter them into the database, and alot of them are over 4000 chars so I don't think this is a PHP problem per-se its probably more of an HTML or browser problem... Anyway, thats my $0.02 -- James Atkinson ----------------------------------------------------------------- James Atkinson 100world Technical Developer 512-1529 West 6th Avenue phone: +1-604-637-8122 Vancouver, BC, V6J 1R1 fax: +1-604-742-1770 Canada email: james.atkinson@100world.com http://www.100world.com +---------------------------------------------------------------+ | This message may contain confidential and/or privileged | | information. If you are not the addressee or authorized to | | receive this for the addressee, you must not use, copy, | | discolse or take any action based on this message or any | | information herein. If you have received this message in | | error, please advise the sender immediately by reply e-mail | | and delete this message. Thank you for you cooperation | +---------------------------------------------------------------+

« previous php.general (#19862) next »