note 38511 deleted from function.require-once by didou

From: Date: Thu, 25 Dec 2003 10:13:39 +0000
Subject: note 38511 deleted from function.require-once by didou
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-62444@lists.php.net to get a copy of this message
Note Submitter: zs ---- I'm pretty sure that the reason you're getting this error is because you did not put the quotation marks in the include statement around your variable: define("RELATIVE_PATH", "./"); $strCommonFile = RELATIVE_PATH."includes/common.inc.php"; require_once("$strCommonFile"); ^ ^ You need the quotes.

« previous php.notes (#62444) next »