logu Posted May 21, 2010 Share Posted May 21, 2010 Hi All, I am facing a strange issue in my site.I have a form with 2 file fields (One for PDF and another for AVI) in it. When i submit the form its not getting posted to server, instead its redirecting to the same form page. It happens only with Safari in Windows , Safari and Firefox in MAC. When i remove two the file fields, then the form is working perfectly. Please give me some suggestion. Thanks in Advance. Quote Link to comment https://forums.phpfreaks.com/topic/202504-file-upload-not-working-in-safari-mac/ Share on other sites More sharing options...
PFMaBiSmAd Posted May 21, 2010 Share Posted May 21, 2010 You are probably exceeding the post_max_size value, which causes the $_FILES and $_POST arrays to be empty and your form processing code is probably just being skipped over. What is your code and do you have any error checking/error reporting logic in it to get it to tell you why it is failing? Quote Link to comment https://forums.phpfreaks.com/topic/202504-file-upload-not-working-in-safari-mac/#findComment-1061607 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.