Date: 03/09/00
- Next message: Tiago Hermans: "[PHPLIB] PHPLib info"
- Previous message: Jan Johansson: "Re: [PHPLIB] $user (and yes i DO beleive in UFO's aswell)"
- In reply to: Jan Johansson: "Re: [PHPLIB] $user (and yes i DO beleive in UFO's aswell)"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Ok this is one for the experts. It would appear that, although Jan is not setting
the $user variable in his (I am going to assume for simplicity's sake that Jan is
male, my apologies if this assumption is incorrect) page_open() call, it is still
getting past the if (isset($user)) statement in the page_close() call and then
trying to freeze the $user object (which does not exist). The first line of the
page_close() call is:
global $sess, $user;
Would this cause the isset($user) function to return TRUE?
If so, perhaps another way of testing whether this variable has been set should be
used.
cheers
Narinda.
Jan Johansson wrote:
> > a) there is only one version of phplib running on your machine and
>
> Yes.
>
> > b) you are including the files that you think you are?
>
> Yes.
>
> >
> > You have probably already checked this but I thought I had better throw in my
> > 2c from my own experience.
> >
> > Also, what does your page_open() statement look like?
>
> <?php
> require('common.inc');
> page_open(array("sess" => "CS_Session"));
> ...
> ...
> ...
>
> (common.inc is my skelleton file)
>
> -
> PHP3 Base Library Mailing List. Send messages to <phplib <email protected>>.
> To unsubscribe, send "unsubscribe" to <phplib-request <email protected>> in
> the body, not the subject, of your message.
-- Narinda Reeders Education Image Pty. Ltd. Phone: (03) 9429 6299 Fax: (03) 9427 0836 Email: narindar <email protected>- PHP3 Base Library Mailing List. Send messages to <phplib <email protected>>. To unsubscribe, send "unsubscribe" to <phplib-request <email protected>> in the body, not the subject, of your message.
- Next message: Tiago Hermans: "[PHPLIB] PHPLib info"
- Previous message: Jan Johansson: "Re: [PHPLIB] $user (and yes i DO beleive in UFO's aswell)"
- In reply to: Jan Johansson: "Re: [PHPLIB] $user (and yes i DO beleive in UFO's aswell)"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

