Firmware Engineer
ENTERASYS NETWORKS
> -Original Message-
> From: Rick Emery [mailto:[EMAIL PROTECTED]]
> Sent: Friday, March 22, 2002 6:57 AM
> To: 'Stampe, Lars'; 'Don'; php
> Subject: RE: [PHP] A Newbie needs help with his first Class
>
>
>
Don's original declaration is correct. It refers to a constructor. Without
a parameter, the new() will fail.
-Original Message-
From: Stampe, Lars [mailto:[EMAIL PROTECTED]]
Sent: Friday, March 22, 2002 7:53 AM
To: 'Don'; php
Subject: RE: [PHP] A Newbie needs help with
-Original Message-
> From: Stampe, Lars [mailto:[EMAIL PROTECTED]]
> Sent: Friday, March 22, 2002 6:46 AM
> To: 'Don'; php
> Subject: RE: [PHP] A Newbie needs help with his first Class
>
>
> Hi,
>
> Try and rename the function in your class to somethi
; php
Subject: RE: [PHP] A Newbie needs help with his first Class
Hi,
Try and rename the function in your class to something else that the class
name, and let me know what happens!
Lars
-Original Message-
From: Don [mailto:[EMAIL PROTECTED]]
Sent: 22 March 2002 13:01
To: php
Subject: [
Hi,
Try and rename the function in your class to something else that the class
name, and let me know what happens!
Lars
-Original Message-
From: Don [mailto:[EMAIL PROTECTED]]
Sent: 22 March 2002 13:01
To: php
Subject: [PHP] A Newbie needs help with his first Class
Hi,
I'm tryi
Hi,
I'm trying to write my first class. Here is the code contained in a file called
"globals.php":
$root_path = "/";
} else {
$this->$root_path = $DOCUMENT_ROOT;
}
$this->$relative_path = $this->$root_path . $start_dir;
}
}
$global = new Globals("/staging_area/phase-2/");
6 matches
Mail list logo