RE: [PHP] Capturing multiple select with Javascript - nearly ther e
| From: | Ford, Mike [LSS] | Date: | Tue, 19 Nov 2002 15:19:26 +0000 |
| Subject: | RE: [PHP] Capturing multiple select with Javascript - nearly ther e | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-125100@lists.php.net to get a copy of this message | ||
> -----Original Message-----
> From: Phoebe Bright [mailto:phoebebright@spamcop.net]
> Sent: 19 November 2002 14:20
>
> My remaining problem is that the array that PHP sees only
> has the final
> few characters of the values it should have.
>
> This is the result of print_r after selecting two items
> (analysis1 and
> analysis3):
>
> Array ( [0] => ysis1 [1] => ysis3 )
>
> expecting:
>
> Array ( [0] => analysis1 [1] => analysis3 )
Known bug. A quick search of http://bugs.php.net/ for
"character cut off
form array" reveals half a dozen reports for this, of which this is probably
the most informative: http://bugs.php.net/bug.php?id=19518.
Basically, you need to configure PHP without --enable-mbstr-enc-trans (or
install 4.3.0RC1, if that's acceptable for you).
Cheers!
Mike
---------------------------------------------------------------------
Mike Ford, Electronic Information Services Adviser,
Learning Support Services, Learning & Information Services,
JG125, James Graham Building, Leeds Metropolitan University,
Beckett Park, LEEDS, LS6 3QS, United Kingdom
Email: m.ford@lmu.ac.uk
Tel: +44 113 283 2600 extn 4730 Fax: +44 113 283 3211