I might be missing something pretty simple here...but we'll find out I guess.
I have a PHP page, that generates a variable
i.e. $var = xyz
This page also has code on it that uses a ROTATING script that pulls text files from another directory and displays them at the appropriate places on my page where the code is inserted.
What I want is for my $var to be available to the TEXT files that are included and rotated with my rotating script.
$Var is used in the text files as a word in a paragraph, right now I get nothing so I know my echo "$var"; is working in my text file but the variable is empty. How can I get access to that variable?
I thought sessions might do it for me but they don't seem to be doing the trick.
Ideas? Tips?