Jump to content

File Upload not working in Safari / Mac


logu

Recommended Posts

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.

Link to comment
https://forums.phpfreaks.com/topic/202504-file-upload-not-working-in-safari-mac/
Share on other sites

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?

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.