You are viewing a plain text version of this content. The canonical link for it is here.
Posted to bugs@httpd.apache.org by bu...@apache.org on 2008/01/25 16:23:05 UTC

DO NOT REPLY [Bug 44295] New: - PHP populated PDF/FDF forms not working in Internet Explorer

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=44295>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=44295

           Summary: PHP populated PDF/FDF forms not working in Internet
                    Explorer
           Product: Apache httpd-2
           Version: 2.0.63
          Platform: Other
        OS/Version: Windows Server 2003
            Status: NEW
          Severity: critical
          Priority: P2
         Component: Core
        AssignedTo: bugs@httpd.apache.org
        ReportedBy: repp9418@netzero.net


Environment:
Windows Server 2003 SP2
PHP 5.2.5
httpd 2.0.63
httpd 2.2.8
IIS 6.0
FireFox 2.0.0.11
Internet Explorer 6 and 7
Adobe Reader 8.1.1

I have a PHP webpage which launches a script that populates a PDF file stored 
on the server using FDF (not the toolkit).  The output of this script is then 
sent to the browser using a 'Content-type: application/vnd.fdf' header.
Here is the output from the PHP script:
%FDF-1.2
%����
1 0 obj
<< 
/FDF << /Fields [ <</T(0)/V(2003)>><</T(W2_YEAR)/V(2003)>><</T(1)/V(521118046)
>><</T(SOC_SEC_NO)/V(521118046)>><</T(2)/V(1484)>><</T(CONTROL_NO)/V(1484)
>><</T(3)/V(Anderson)>><</T(LAST_NAME)/V(Anderson)>><</T(4)/V(Pamela)>><</T
(FIRST_NAME)/V(Pamela)>><</T(5)/V(13902 JERSEY ST)>><</T(ADDRESS_1)/V(13902 
JERSEY ST)>><</T(6)/V()>><</T(ADDRESS_2)/V()>><</T(7)/V()>><</T(ADDRESS_3)/V()
>><</T(8)/V(THORNTON)>><</T(ADDRESS_4)/V(THORNTON)>><</T(9)/V(CO)>><</T
(STATE)/V(CO)>><</T(10)/V(80602)>><</T(ZIP)/V(80602)>><</T(11)/V(CO)>><</T
(WITHHOLDING_STATE)/V(CO)>><</T(12)/V(01134340000)>><</T(STATE_ID)/V
(01134340000)>><</T(13)/V()>><</T(STATUTORY_EMPLOYEE)/V()>><</T(14)/V()>><</T
(DECEASED)/V()>><</T(15)/V()>><</T(LEGAL_REP)/V()>><</T(16)/V()>><</T
(PENSION_PLAN)/V()>><</T(17)/V()>><</T(SOC_SEC_WAGE)/V()>><</T(18)/V()>><</T
(SOC_SEC_TIPS)/V()>><</T(19)/V(36,115.04)>><</T(FEDERAL_WAGE)/V(36,115.04)
>><</T(20)/V()>><</T(SOC_SEC_TAX)/V()>><</T(21)/V(3,214.75)>><</T
(FEDERAL_TAX)/V(3,214.75)>><</T(22)/V(39,253.89)>><</T(MEDICARE_WAGE)/V
(39,253.89)>><</T(23)/V(569.15)>><</T(MEDICARE_TAX)/V(569.15)>><</T(24)/V()
>><</T(DEPENDENT_CARE)/V()>><</T(25)/V(18.24)>><</T(LIFE_INSURANCE)/V(18.24)
>><</T(26)/V()>><</T(EIC_PAYMENTS)/V()>><</T(27)/V(36,115.04)>><</T
(STATE_WAGE)/V(36,115.04)>><</T(28)/V(1,260.00)>><</T(STATE_TAX)/V(1,260.00)
>><</T(29)/V()>><</T(LOCAL_WAGE)/V()>><</T(30)/V()>><</T(LOCAL_TAX)/V()>><</T
(31)/V()>><</T(NAME_OF_LOCALITY)/V()>><</T(32)/V()>><</T(BOX_14_AMOUNT_1)/V()
>><</T(33)/V()>><</T(BOX_14_AMOUNT_2)/V()>><</T(34)/V()>><</T
(BOX_14_AMOUNT_3)/V()>><</T(35)/V()>><</T(SUB_REIMB_EARNINGS)/V()>><</T(36)/V()
>><</T(NON_TAX_SICK_PAY)/V()>><</T(37)/V(C)>><</T(BOX_13_CODE_1)/V(C)>><</T
(38)/V(18.24)>><</T(BOX_13_AMOUNT_1)/V(18.24)>><</T(39)/V()>><</T
(BOX_13_CODE_2)/V()>><</T(40)/V()>><</T(BOX_13_AMOUNT_2)/V()>><</T(41)/V()
>><</T(BOX_13_CODE_3)/V()>><</T(42)/V()>><</T(BOX_13_AMOUNT_3)/V()>><</T(43)/V
()>><</T(BOX_13_CODE_4)/V()>><</T(44)/V()>><</T(BOX_13_AMOUNT_4)/V()>><</T
(45)/V()>><</T(BOX_13_CODE_5)/V()>><</T(46)/V()>><</T(BOX_13_AMOUNT_5)/V()
>><</T(47)/V()>><</T(BOX_13_CODE_6)/V()>><</T(48)/V()>><</T(BOX_13_AMOUNT_6)/V
()>><</T(49)/V()>><</T(BOX_13_CODE_7)/V()>><</T(50)/V()>><</T
(BOX_13_AMOUNT_7)/V()>><</T(51)/V()>><</T(BOX_13_CODE_8)/V()>><</T(52)/V()
>><</T(BOX_13_AMOUNT_8)/V()>><</T(53)/V()>><</T(BOX_13_CODE_9)/V()>><</T(54)/V
()>><</T(BOX_13_AMOUNT_9)/V()>><</T(55)/V()>><</T(BOX_13_CODE_10)/V()>><</T
(56)/V()>><</T(BOX_13_AMOUNT_10)/V()>><</T(57)/V()>><</T(BOX_13_CODE_11)/V()
>><</T(58)/V()>><</T(BOX_13_AMOUNT_11)/V()>><</T(59)/V(Maple Valley School 
District)>><</T(CLIENT_NAME)/V(Maple Valley School District)>><</T(60)/V
(846000817)>><</T(FEDERAL_ID)/V(846000817)>><</T(61)/V(7009 S Potomac St)>><</T
(CLIENT_ADDRESS)/V(7009 S Potomac St)>><</T(62)/V(Centennial, CO, 80233)>><</T
(CLIENT_ADDRESS_INFO)/V(Centennial, CO, 80233)>>] 
/F (http://127.0.0.1:8082/downloads/w2.pdf) /ID [ 
<71cacfda3e29c932b81a10331ab33955>
] >> 
>> 
endobj
trailer
<<
/Root 1 0 R 

>>
%%EOF

Using Apache 2.0.63 and 2.2.8 this script launches in Adobe Reader in a 
FireFox browser but not in an Internet Explorer browser.  IE displays a page 
can not be found error.  I thought this might be a Microsoft bug, except this 
script works in both browsers in IIS 6.0.  So now I am thinking it is a bug 
with Apache.

Can someone please look into this?  I really don't want to tell users if you 
are using Apache you have to use FireFox.

Thanks,
Harmony

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org


DO NOT REPLY [Bug 44295] - PHP populated PDF/FDF forms not working in Internet Explorer

Posted by bu...@apache.org.
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=44295>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=44295





------- Additional Comments From repp9418@netzero.net  2008-01-30 10:09 -------
Here are the response headers between IIS and IE:
HTTP Status Code: HTTP/1.1 302 Moved Temporarily  
Cache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0 
CRLF 
Pragma: no-cache CRLF 
Content-Length: 169 CRLF 
Content-Type: text/html CRLF 
Expires: Thu, 19 Nov 1981 08:52:00 GMT CRLF 
Location: login.php?ReturnURL=map-pdf-fields.php?yr=2003 CRLF 
Server: Microsoft-IIS/6.0 CRLF 
X-Powered-By: PHP/5.2.5 CRLF 
Set-Cookie: PHPSESSID=5jr7gt12k6js4irpn5f12e4e17; path=/ CRLF 
X-Powered-By: ASP.NET CRLF 
Date: Wed, 30 Jan 2008 17:56:55 GMT CRLF 
Connection: close CRLF 

Here are the headers between Apache and IE:
HTTP Status Code: HTTP/1.1 302 Found  
Expires: Thu, 19 Nov 1981 08:52:00 GMT CRLF 
Cache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0 
CRLF 
Pragma: no-cache CRLF 
Location: login.php?ReturnURL=map-pdf-fields.php?yr=2007 CRLF 
Content-Type: text/html; charset=iso-8859-1 CRLF 
Set-Cookie: PHPSESSID=jog2da0noohe8u9sru897l4j13; path=/ CRLF 
Connection: Close CRLF 
Server: Oracle-Application-Server-10g/10.1.2.0.2 Oracle-HTTP-Server OracleAS-
Web-Cache-10g/10.1.2.0.2 (N;ecid=3710851743744,0) CRLF 
Date: Wed, 30 Jan 2008 18:06:59 GMT CRLF 
X-Powered-By: PHP/5.2.5 CRLF 

Now what?

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org


DO NOT REPLY [Bug 44295] - PHP populated PDF/FDF forms not working in Internet Explorer

Posted by bu...@apache.org.
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=44295>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=44295


repp9418@netzero.net changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |REOPENED
         Resolution|INVALID                     |




-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org


DO NOT REPLY [Bug 44295] - PHP populated PDF/FDF forms not working in Internet Explorer

Posted by bu...@apache.org.
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=44295>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=44295


nick@webthing.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|REOPENED                    |RESOLVED
         Resolution|                            |INVALID




------- Additional Comments From nick@webthing.com  2008-01-30 10:20 -------
1.  Both of those sets of headers are hopelessly broken, and badly violate HTTP.
2.  It's pretty clear it's the application, not either of the webservers, that's
responsible for the brokenness.
3.  They're nothing to do with the original problem description.
4.  The server you've described as Apache identifies itself as Oracle.  We're
not responsible for what Oracle do with it, but they should presumably be
providing support.
5.  If you have a problem with Apache, you've already been told what to do.

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org


DO NOT REPLY [Bug 44295] - PHP populated PDF/FDF forms not working in Internet Explorer

Posted by bu...@apache.org.
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=44295>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=44295


slive@apache.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |INVALID




------- Additional Comments From slive@apache.org  2008-01-26 19:43 -------
Since we really have no idea where the problem lies, this would be much better
dealt with on a user-support forum like the users@httpd.apache.org mailing list.

But before posting there, take a look at the exact HTTP response headers output
by Apache versus IIS so you can try to figure out why this is triggering
different behavior. This page might help you with that:
http://wiki.apache.org/httpd/WatchingHttpHeaders

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org