Re: Re: Eval a file, and it gives parse error because it uses a preg_match statement with \$
| From: | John Holmes | Date: | Wed, 04 Aug 2004 22:25:50 +0000 |
| Subject: | Re: Re: Eval a file, and it gives parse error because it uses a preg_match statement with \$ | ||
| References: | 1 2 3 4 5 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-192767@lists.php.net to get a copy of this message | ||
Josh Acecool M wrote:
I have an idea I said in a previous email!Any ideas?var $The_Template_Sys; $this -> The_Template_Sys = file_get_contents("$The_Template_File"); $this -> Sub_Template = TRUE;
What is actually in the file that's failing the eval()??!?!?! What line of the file is failing? What is on that line? What's on the couple of lines before it? What's on the couple of lines after that line that's failing? What does the line with the eval() call look like? Are you doing anything else with $this->The_Template_Sys before it's eval()'d?????? -- John Holmes php|architect - The magazine for PHP professionals - http://www.phparch.comyou say you're getting a parse error. How could anyone possibly help you troubleshoot that parse error unless they had an example of what was in the file being eval()'d??