IIS 7 and Above
iOS devices having problems with file uploads
Last post Jan 10, 2019 02:09 PM by Chenks76
Jan 09, 2019 08:31 AM|Chenks76|LINK
i have a strange issue here.
we've recently moved a website over from windows server 2003 to windows server 2008.
the site is majority html/asp with a little PHP (specifically for file uploads).
the site still works as expected on every device/browser except for iOS.
on any iOS device with any browser the file upload section no longer works, it attempts to upload the file then fails.
on every other device (android mobile, desktop, any browser) the file upload section works fine.
would there be any reason why an iOS device would fail to work when every other device does?
both servers have the same version of PHP installed.
Jan 10, 2019 09:35 AM|Jalpa Panchal|LINK
Can you get any error when file upload is fail? it seams coding related issue. could you tell us before moving from 2003 server it work well on ios?
Jan 10, 2019 09:42 AM|Chenks76|LINK
everything worked fine on server 2003.
no code has changed since the move, we simply moved all the files across to the new server.
Jan 10, 2019 02:09 PM|Chenks76|LINK
think i've found the issue.
the php.ini had a very low upload_file_size limit, whereas my actual php script had a high one.
iOS devices were creating files that exceeded the first limit but below the second - thus causing the error.
i've now increased the limit in php.ini.