I\'d like my PHP app to accept a photo chosen from a mobile user\'s gallery. I\'m testing on Android 4.4.4 using Chrome. This is my form:
Try to use <input name="userfile" type="file" accept="image/*" />
<input name="userfile" type="file" accept="image/*" />
instead of <input name="userfile" type="file" accept="images/*" />.
<input name="userfile" type="file" accept="images/*" />
It works for me.
Turns out this is a known bug in Android >= 4.4. My code works as expected in iOS.