require() problem

From: Date: Tue, 08 Aug 2000 02:12:51 +0000
Subject: require() problem
Groups: php.general 
Request: Send a blank email to php-general+get-10566@lists.php.net to get a copy of this message
I was just wondering if require will take variables instead of file names. I have this on my script: require($configfile); But I'm getting a error like this: Fatal error: Failed opening required 'config.inc.php3' (include_path='') Although the $configfile variable does not contain that, if i tell it to print $configfile right before the require statement, i get something different (the right stuff!!). So, what's the deal with that? What could be wrong? Thanks a lot! -- André Fadel fadel@fee.unicamp.br Hoje E Sempre GUARANI!

« previous php.general (#10566) next »