note 38182 deleted from function.require-once by didou

From: Date: Thu, 11 Dec 2003 09:07:36 +0000
Subject: note 38182 deleted from function.require-once by didou
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-61783@lists.php.net to get a copy of this message
Note Submitter: iboyvn@yahoo.com ---- When I use these code: define("RELATIVE_PATH", "./"); $strCommonFile = RELATIVE_PATH."includes/common.inc.php"; require_once($strCommonFile); I got this error message: Parse error: parse error, expecting `T_CONSTANT_ENCAPSED_STRING' in... But when I use: require_once("./includes/common.inc.php"); then everything work fine. Please, tell me why I got that error message! Thank, a lot!

« previous php.notes (#61783) next »