hi there. File A contains a class with set of variables and one of the variables is invoked from another file B.php. When we execute, A.php the output is $this->lang->login_user as opposed to displaying it's value. Could anyone help what I am missing? File A: ************* [code=php:0] <?php include './fglobal.php'; class junk extends ClassBase { public $len; function __construct() { $this->len=5; } function execute() { return $this->generate_pass($this->len); } public $login_user="User"; public $login_pass="password" ; public $submit ="submit"; public function displaypage() { $this->get_lang_file(); $this->lang->login(); //echo($this->file_open()); //echo($this->lang->login_user); $temp=$this->file_open(); echo ($temp); } function file_open() { $filename = "Flogin.php"; if($fp = @fopen($filename, "r")) { //$fp = @fopen($filename, "r"); $contents = fread($fp, filesize($filename)); fclose($fp); return $contents; }else{ return 'file not found'; } } } $a = new junk(); $a->displaypage(); //eval("echo(\$temp);"); ?> [/code] ************** File B ************* [code=php:0] $this->lang->login_user [/code] *************