Hello all, sorry if this has been discussed before, feel free to point me in the right direction if it has. 🙂
I've installed a few phps on linux before, but I've hit an odd problem with one. I've got two boxes of similar spec, both running the same redhat (not sure what, but definitely 7.something), and both running apache_1.3.27 and php-4.2.3. The httpd.conf and php.ini s are to all intents and purposes identical.
If I submit a form with a text input in it, and the string entered into the text input is '41+4', the received string is '41 4' (note the '+' is replaced with a space, even in the source). If the form is sent with the get method, you can see '41%2B4' in the URL. Why is this being converted back to a space for heaven's sake?
Also, if submitting a multiple select drop list, other strange things occur. Basically, consider three options in the list, with values 'apple', 'orange', '234'. If you select them all, the returned values are 'e', 'ge' and '234'. So it cuts the first 4 characters off the STRINGS but not the NUMBERS. How the hell does it know, aren't all form submissions strings to PHP? Again, using the GET method you can see that the [] of the select name have been correctly converted to htmlentities, but they're just not coming back right.
ANY help would be much appreciated, before I lose my temper and set fire to this bloody server.