php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #22733 Problem with POSTed variables to PDFLIB
Submitted: 2003-03-15 23:22 UTC Modified: 2003-03-19 16:52 UTC
From: keith_conn at 4conns dot com Assigned:
Status: No Feedback Package: Apache2 related
PHP Version: 4.3.0 OS: Windows XP
Private report: No CVE-ID: None
View Add Comment Developer Edit
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please — but make sure to vote on the bug!
Your email address:
MUST BE VALID
Solve the problem:
46 - 34 = ?
Subscribe to this entry?

 
 [2003-03-15 23:22 UTC] keith_conn at 4conns dot com
I am running Apache 2.0.44 with PHP 4.3 on a WIN32 Windows XP machine.  The problem only occurs when POSTed variables are used within a PDFLIB function.  The problem does not exist when I switch to Apache 1.3.27.  I have also tried with and without the Zend Optimizer.  

When I get input on script #1 and pass that information to script #2 via POST I can access the variable in everything but PDFLIB functions.  If I add die("$variable") at any point prior to starting the PDFLIB PDF page, the variable is displayed fine.  Also, all IF loops work fine based on the POSTed variables.  However, the variable itself and anything that was assigned a value based on the POSTed variable are not recognized within the newly created PDFLIB page.  

For instance, $variable is posted from script #1.  If $variable = condition then $newvar = x.  The PDFLIB function not only doesn't recognize $variable but it also doesn't recognize $newvar.  However, if I simply put $newvar = 12 then it works fine.  Using the super globals also has no effect.  Reassigning the POSTed variable to a local variable also has no effect.  Reassigning the super global to a local variable also has no effect.

When I switch the method to GET, everything works fine.

I am not sure where the problem lies. . .Apache? PHP? PDFLIB?  

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2003-03-19 16:52 UTC] sniper@php.net
No feedback was provided. The bug is being suspended because
we assume that you are no longer experiencing the problem.
If this is not the case and you are able to provide the
information that was requested earlier, please do so and
change the status of the bug back to "Open". Thank you.


 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Tue May 14 00:01:34 2024 UTC