| 
        php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login | 
 PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits             
             [2003-03-15 23:25 UTC] sniper@php.net
  [2003-03-19 16:52 UTC] sniper@php.net
  | 
    |||||||||||||||||||||||||||
            
                 
                Copyright © 2001-2025 The PHP GroupAll rights reserved.  | 
        Last updated: Tue Nov 04 11:00:01 2025 UTC | 
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?