Date: 07/11/01
- Next message: Maxim Derkachev: "Re: [phplib] page_open() doesn't return SOLVED...?!?"
- Previous message: Maxim Derkachev: "Re: [phplib] phplib individual file permission"
- Next in thread: Maxim Derkachev: "Re: [phplib] page_open() doesn't return SOLVED...?!?"
- Reply: Maxim Derkachev: "Re: [phplib] page_open() doesn't return SOLVED...?!?"
- Reply: Chris Johnson: "RE: [phplib] page_open() doesn't return SOLVED...?!?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Hi --
Well, several hours of hair-pulling later ...
phpLib does some strange things with environmental variables somewhere, and
I'm not yet sure where.
I was trapping several POST variables and calling page_open() only for
certain combinations of those variables. The problem is that those same
variables are empty when page_open() returns, so the subsequent traps are
ineffective. They're empty in the POST form ($HTTP_POST_VARS["var"] and in
the raw form ($var).
These variables are not used by phpLib - in fact, they're not even set
GLOBAL. I placed some traps within the page_open() code, and the variables
exist, with their true values, all the way up to the following point:
function start($sid = "") {
$this->set_container();
$this->set_tokenname();
$this->release_token($sid);
$this->put_headers();
$this->get_id($sid); // variables empty on return from get_id
$this->thaw();
$this->gc();
}
Has anyone else been plagued by "disappearing" variables ...?
The really strange part of this is that Netscape browser requests breezed
right through, the variables were never lost ... but on MSIE, they're lost
as indicated above. Something in the way POSTed variables are delivered by
MSIE ...?
I'll post the solution if I stumble across where my problem really is ...
Bob.
---------------------------------------------------------------------
To unsubscribe, e-mail: phplib-unsubscribe <email protected>
For additional commands, e-mail: phplib-help <email protected>
- Next message: Maxim Derkachev: "Re: [phplib] page_open() doesn't return SOLVED...?!?"
- Previous message: Maxim Derkachev: "Re: [phplib] phplib individual file permission"
- Next in thread: Maxim Derkachev: "Re: [phplib] page_open() doesn't return SOLVED...?!?"
- Reply: Maxim Derkachev: "Re: [phplib] page_open() doesn't return SOLVED...?!?"
- Reply: Chris Johnson: "RE: [phplib] page_open() doesn't return SOLVED...?!?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

