by Ian55 on Wed Mar 04, 2009 4:54 am
I've looked at the http header information being sent to the browser by Internet Information Server 6. This is what is being sent after the file is selected for upload. I've copied the information below.
==================================================================================================================================
POST /index.php HTTP/1.1
Accept: image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, application/xaml+xml, application/vnd.ms-xpsdocument, application/x-ms-xbap, application/x-ms-application,
application/vnd.ms-excel, application/vnd.ms-powerpoint, application/msword, application/x-silverlight, application/x-shockwave-flash, */*
Referer: http://[server name]/index.php?option=office&cmd=addfile&destfolderid=41
Accept-Language: en-gb
Content-Type: multipart/form-data; boundary=---------------------------7d9ea830858
UA-CPU: x86
Accept-Encoding: gzip, deflate
User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; QS 4.2.2.3; .NET CLR 2.0.50727; .NET CLR 1.1.4322; .NET CLR 3.0.04506.30; InfoPath.2; .NET CLR
3.0.04506.648; MS-RTC LM 8; .NET CLR 3.0.4506.2152; .NET CLR 3.5.30729)
Host: [server name]
Content-Length: 78819
Connection: Keep-Alive
Cache-Control: no-cache
Cookie: PHPSESSID=5b3i5rtlm9ibp157dtjac7mjg6
-----------------------------7d9ea830858
Content-Disposition: form-data; name="option"
office
-----------------------------7d9ea830858
Content-Disposition: form-data; name="cmd"
uploaddocument
-----------------------------7d9ea830858
Content-Disposition: form-data; name="redir"
JavaScript:history.go(-1);
-----------------------------7d9ea830858
Content-Disposition: form-data; name="destfolderid"
41
-----------------------------7d9ea830858
Content-Disposition: form-data; name="docuid"
-----------------------------7d9ea830858
Content-Disposition: form-data; name="contenttype"
-----------------------------7d9ea830858
Content-Disposition: form-data; name="uploadDocument"; filename="C:\Documents and Settings\mlif1\My Documents\Blackboard eLP Organisation Request form.doc"
Content-Type: application/msword
ÐÏࡱá
HTTP/1.1 302 Moved Temporarily
Connection: close
Date: Wed, 04 Mar 2009 09:56:08 GMT
Server: Microsoft-IIS/6.0
MicrosoftOfficeWebServer: 5.0_Pub
X-Powered-By: ASP.NET
X-Powered-By: PHP/5.2.8
Expires: Thu, 19 Nov 1981 08:52:00 GMT
Cache-Control: cache, must-revalidate
Pragma: public
Location: http://[server name]/index.php?option=office&folder=41
Content-type: text/html
====================================================================================================================
In Internet Explorer the browser now displays an error page with "http://[server name]/index.php" in the address bar. In Firefox and Google Chrome the process continues successfully. I noticed the odd characters which precede the "HTTP/1.1 302 Moved Temporarily" header, ÐÏࡱá. These also appear in the Firefox http headers. I wondered whether Internet Explorer is failing at this point while Firefox just ignores the error and carries on?