I am running code on different versions of PHP, specifically 4.0.6 and
4.1.2. For some reason, you have to use $HTTP_SERVER_VARS["HTTP_HOST"]) on
4.0.6 and $_SERVER["HTTP_HOST"] on 4.1.2. I'm not sure who thought that
breaking backward compatibility was a good idea, but let's ignore that for
the
e);
> if( $newobj->private==FALSE)
> {
> }
> -Original Message-
> From: arti [mailto:[EMAIL PROTECTED]]
> Sent: Monday, March 25, 2002 9:33 AM
> To: [EMAIL PROTECTED]
> Subject: [PHP] Confused About Classes
>
>
> I am getting the error "Undefined vari
I am getting the error "Undefined variable this" in my class. I am new to
PHP and presume I am just doing something wrong. But, I don't understand
what it could be as the code looks straightforward to me. Note that I
trimmed out some code to keep this listing from being huge, but the relevant
p
3 matches
Mail list logo