Here's the upload() Javascript function:
function upload()
{
document.upload.submit();
}
Sometimes it happens, sometimes it doesn't... it seems to be about
50% of the time at random.
I need to watch the network traffic to see where it gets stuck but my
guess is Safari never sends anything to the server.
Cheers
Ian
On 16 Sep 2006, at 18:46, Nigel Gilbert wrote:
I have a web page (generated by PHP) that includes a file upload
section.
Intermittently (about half the time), when I choose a file and
press the
Upload button, Safari hangs and does not upload. More
specifically, the
status line at the bottom of the web page says "Loading http://www.epress.ac.uk/articles.php", completed 4 out 5 items" and
the blue
bar in the address field gets as far as 'http://', but nothing else
happens
and I can wait for more indefinitely. If I then move to another
page on the
site, return to this one, choose the same file, and click Upload,
normally
the upload proceeds as expected. Moreover, I sometimes use Firefox
and I
have never had this problem with this page using Firefox, which
leads me to
believe it may be a Safari issue.
However, I don't know how I can track down the cause of this
problem, as it
is intermittent. In case it helps, I am appending the first 50 or
so lines
from a 'View Source' of the page in question.
Any clues about the source of the problem?
Nigel
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-type" content="text/html;
charset=iso-8859-1">
<title>EPRESS</title>
<link rel="shortcut icon" href="/src/images/favicon.ico"
type="image/x-icon">
<!--
EPRESS electronic journal management system
version 2.7
written by Stuart Peters, University of Surrey
and Nigel Gilbert, University of Surrey
mailto: email@hidden
(c) 1999 - 2000; 2003 - 6
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Web-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Web-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden