So I have a simple file uploader which allows the user to select the category for an image, then uploads the file and puts the image category into a mySQL database. Now when I developed this script for my client it worked fine on my webspace, but when I uploaded it to her site it stopped working.

The script asks for a file location and the category, and passes the file[] array and category[] array through post. Here's the basic form:

Code HTML4Strict:
<input name="userfile[]" type="file" size="40" />
Category: 
<select name="category[]">
<option value="1">cat 1</option>
<option value="2">cat 2</option>
</select>
 
...(there can be n forms, and the next one is identical:)
 
<input name="userfile[]" type="file" size="40" />
Category: 
<select name="category[]">
<option value="1">cat 1</option>
<option value="2">cat 2</option>
</select>

And on submit it posts the arrays back to the same page (index). Now, on my site this works fine and it recieves the category array. If I do print_r($category) on MY webspace it shows that it is in fact recieiving the array. But on HER page print_r($category) returns nothing, and I've done other checks: it's not getting passed. The scripts are identical. It's passing the array of files on both sites fine, but not the category array?! Could it be different permissions..different php versions? This is really strange...