Click to See Complete Forum and Search --> : Installed with issues


stow
05-15-2003, 01:58 PM
I have found an issue with my apache2/php setup on win ME and I dont know how to resolve it.

When I use a form with a multi slect box (like select name="multi[]" multiple="multiple" .... ) it should return a simple array like (and does so when I try it on my webserver) --
["multi"]=> array(3) { [0]=> string(3) "try" [1]=> string(2) "me" [2]=> string(3) "out"

Yet on my local install im getting --
["multi"]=> array(5) { [0]=> string(3) "try" [1]=> string(2) "me" [2]=> string(3) "out" [3]=> string(2) "me" [4]=> string(3) "out"

Now I have updated my php and apache2 to the latest and greatest versions, but im sill having this error, I clearly have done something wrong with the config of something but I dont know what. This is NOT a coding issue as I said it works as it should on the remote server.

tsinka
05-17-2003, 04:48 AM
Hi,

which version of php do you use and how does your form look like ?


T.

stow
05-21-2003, 01:02 AM
so the form is/can be verry simple, check boxes where the name is var[] so multipul items come in as an array like

<input type="checkbox" name="catagories[]"
value="1" />PHP
<input type="checkbox" name="catagories[]"
value="2" />Scripting
Im having the same problem with mulitselects too... and it is only an issue on my local config not on the remote server when I upload it.

I am running 4.3.1 I just upgraded...