Can I get varaibles from an include file without exectuting it?
| From: | Al | Date: | Wed, 07 Apr 2004 15:13:19 +0000 |
| Subject: | Can I get varaibles from an include file without exectuting it? | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-182654@lists.php.net to get a copy of this message | ||
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?