I can't seem to figure this one out. On my site, I have a real estate listing form. One of the fields is for the user to be able to upload a picture. Now, when I access this page on my PC at home, I have no problems. The error handling and security checks work fine. Regardless of whether I input info for this picture field, the form processor works.
However, whenever I try and submit this form using a BlackBerry, I keep getting the following error message:
"Error Message: Undefined index: picture"
And apparently this line of code is the culprit:
if (($_FILES['picture']['size'] != 0) && ($_FILES['picture']['tmp_name'] != ''))
I just can't figure out why this works perfectly on my PC, but causes an error on my BlackBerry. Any thoughts?