Many thanks for your reply, I will add the bugs site to my list of things to search before posting here!

As I am putting the code onto a number of servers where I can't control the PHP settings, I will need to devise a work around. Good to know it's not my poor coding.

Mike Ford wrote:
-----Original Message-----
From: Phoebe Bright [mailto:[EMAIL PROTECTED]]
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 )


Array ( [0] => analysis1 [1] => analysis3 )

Known bug. A quick search of for "character cut off
form array" reveals half a dozen reports for this, of which this is probably
the most informative:

Basically, you need to configure PHP without --enable-mbstr-enc-trans (or
install 4.3.0RC1, if that's acceptable for you).



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
Tel: +44 113 283 2600 extn 4730 Fax: +44 113 283 3211

PHP General Mailing List (
To unsubscribe, visit:

Reply via email to