From: keith_conn at 4conns dot com Operating system: Windows XP PHP version: 4.3.0 PHP Bug Type: *Web Server problem Bug description: Problem with POSTed variables to PDFLIB
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? -- Edit bug report at http://bugs.php.net/?id=22733&edit=1 -- Try a CVS snapshot: http://bugs.php.net/fix.php?id=22733&r=trysnapshot Fixed in CVS: http://bugs.php.net/fix.php?id=22733&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=22733&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=22733&r=needtrace Try newer version: http://bugs.php.net/fix.php?id=22733&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=22733&r=support Expected behavior: http://bugs.php.net/fix.php?id=22733&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=22733&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=22733&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=22733&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=22733&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=22733&r=dst IIS Stability: http://bugs.php.net/fix.php?id=22733&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=22733&r=gnused