Re: Can I get varaibles from an include file without exectuting it?
| From: | John W. Holmes | Date: | Wed, 07 Apr 2004 15:35:41 +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-182659@lists.php.net to get a copy of this message | ||
From: "Al" <news@ridersite.org>
> 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.
Put them in a third file. It's obvious they're needed for more than one
script. Save yourself the headache and separate them.
---John Holmes...