Re: [Phplib-users] Need Help -- Very Strange Problem
Brought to you by:
nhruby,
richardarcher
From: nathan r. h. <na...@ds...> - 2001-11-19 22:04:00
|
On Mon, 19 Nov 2001, Bob Bowker wrote: > Hi -- > > I have phpLib 7.2d running on PHP 4.0.4pl1 on an Apache server. When I > submit POSTed variables to a script, the $HTTP_POST_VARS are there at line > 1 and "gone" at line 4. > > 1: echo "1 SOMETHING: " . $HTTP_POST_VARS["something"]; > 2: exit; > 3: page_open(array("sess" => "Poe_Session")); > 4: echo "4 SOMETHING: " . $HTTP_POST_VARS["something"]; > > If I comment out lines 1 and 2, the $HTTP_POST_VARS are empty in line 4, as > are all other variables. > > I've put a similar trap as line 1 of function start() within session.inc > and they're empty by here as well. I have safe_mode turned off ... > > This one is driving me crazy -- any ideas where to look for the problem? > exit(); === die(); Eg: you kill the current script (and presumably the variables in it) when you call exit(). In theory lines 3 and 4 as stated above should never actually execute. Why this would happen after commenting out lines 1 and 2 is beyond me, as those lines alone should work. -n -- -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- nathan hruby / digital statement na...@ds... http://www.dstatement.com/ Public GPG key can be found at: http://www.dstatement.com/nathan-gpg-key.txt ED54 9A5E 132D BD01 9103 EEF3 E1B9 4738 EC90 801B -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- |