Re: Can I get varaibles from an include file without exectuting it?

From: Date: Wed, 07 Apr 2004 19:07:14 +0000
Subject: Re: Can I get varaibles from an include file without exectuting it?
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-182690@lists.php.net to get a copy of this message
I agree, the only way I see it can be done is to read the "include file" in as Text, and parse it. > I have a script that is run with a cronjob and would like to fetch some > variables from it, using another file, without the script executing. > > I could resort to putting the variables in a third file, or reading the > script as a text file and reconstructing the variables. But, I was > hoping there is a better way. > > Any suggestions?

« previous php.general (#182690) next »