html - Safari PHP form submission -file upload hangs -


i have issue safari 5+. when client selects image file upload through simple html form mac version of safari 5.1 (so far browser found doing this) keeps hanging indefinitely.

i have upload time , size in php.ini set correctly , works in other browsers (ff, opera ie!) not suppose have rookie mistake in html or php.

i have searched through many posts , found bug report related issue (https://bugs.webkit.org/show_bug.cgi?id=5760). found several ajax workarounds none of them has been right fit. not using ajax on page , due redirects not want anyway.

does know solution?

also.... suggestions adding <? header('connection: close'); ?> file make things worse opera.

edit: april 10, 2013 still did not figure out why safari hangs on image uploads. making edit in case has similar problem. btw when safari ran in virtualbox upload fails every time unlike firefox or ie works fine. (perhaps settings issue?)

i found workaround easy implement , far worked every mainstream browser test. (source: http://www.atwebresults.com/php_ajax_image_upload/ ) original question still stands. thank you.

a workaround lighttpd:

$http["useragent"] =~ "safari" { $http["useragent"] !~ "chrome" {   server.max-keep-alive-requests = 0 } } 

jamis buck discovered , added config lines. second rule avoids restricting keepalives chrome has safari substring. courtesy of https://bugs.webkit.org/show_bug.cgi?id=5760


Comments

Popular posts from this blog

android - getbluetoothservice() called with no bluetoothmanagercallback -

sql - ASP.NET SqlDataSource, like on SelectCommand -

ios - Undefined symbols for architecture armv7: "_OBJC_CLASS_$_SSZipArchive" -