Re: IE 4 on the Mac

From: Date: Fri, 28 Jul 2000 02:43:26 +0000
Subject: Re: IE 4 on the Mac
References: 1 2 3  Groups: php.general 
Request: Send a blank email to php-general+get-8701@lists.php.net to get a copy of this message
See if the user is entering single quotes and if that is tripping up the database insert. Escape them with str_replace("'","\'",$field) (is that the syntax?). That's all I can think of. Does the trip up happen at the same point in a particular set of data that is inserted repeatedly? Does it happen on 4.5 or 5? Most Macs come with at least 4.5 now. Maybe it was a bug that was fixed in a later browser. Michael Marc Antony Vose wrote: > At 8:42 PM -0400 7/27/00, Michael Stearne wrote: > >Marc Antony Vose wrote: > > > >> hey everyone: > >> > >> ok, we all know this is a horrible browser (can't do file uploads, > >> putrid javascript support), but can anyone confirm that it will just > >> drop text from a textarea when you submit a form? > >> > >> i've got a standard form-db interface i wrote, and i've got a bunch > >> of people posting film descriptions and they're getting truncated. > >> the weird thing is, there doesn't seem to be any rhyme or reason to > >> the truncation (like a number of characters or whatever). > >> > >> is the only solution to this a message that says "please don't use > >> this browser"? > >> > > > >That's a good suggestion but anyway, the only thing I can think of is the > >field is longer than 255 characters on a GET form. Try making the METHOD > >of the form POST. Or make sure your database field can hold more then 255. > > oh...i should have disclosed that this is feeding into a mysql column > of type 'text' and that i have tried both GET and POST as form > submission problems. > > so, we're talking 65000 characters and we definitely aren't butting > up against the 8k limit on GET requests. > > sometimes, it truncates text that's a couple of short paragraphs; > just hacking off a few letters. > > i'm just trying to see if anyone's had similar trouble with mac IE > 4.x clients and their own form submissions (still the browser used in > AOL for the Mac, despite the 5.x upgrade that's currently available > to sane people who don't use AOL). > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net > For additional commands, e-mail: php-general-help@lists.php.net > To contact the list administrators, e-mail: php-list-admin@lists.php.net

« previous php.general (#8701) next »